Re: Raid1 recovery problem - need help!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Neil,

Thank you very much for your fast reply.

>> The problem occurred while resynccing the /dev/md4 RAID1-mirror
>> and of course the "master" device was the faulty one.
>> The question now is, is someone capable of describing how to get
>> this /dev/md4-mirror started so that I can continue copying data
>> out of RAID1+0 (dev/md5) mirror ?
>
> You need to assemble the array before it can run, so maybe:
>
>    mdadm --assemble /dev/md4 --uid=d5c2d1f7:cf7cb245:2d9e7057:097ec133
> /dev/sd*

The command: mdadm --assemble /dev/md4
--uuid=d5c2d1f7:cf7cb245:2d9e7057:097ec133 /dev/sdc2

Results:
mdadm: /dev/md4 assembled from 0 drives and 1 spare - not enough to start
the array.

/proc/mdstat:
Personalities : [linear] [raid0] [raid1] [raid5]
read_ahead 1024 sectors
md4 : inactive sdc2[2]
      0 blocks

The thing is that I have no spare-discs available in my system and
that "spare" disc _is_ the one that has always been the second mirror
of /dev/md4.


> then
>    mdadm --assemble /dev/md5 /dev/md3 /dev/md4

Regards,
Tomi Orava
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux