Re: AW: QNAP 8 port RAID5 md0 recovery of missing MBR and md superblocks

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

 



Good morning Michael,

On 02/17/2014 08:33 AM, Samer, Michael (I/ET-83, extern) wrote:
> Greetings to all
> 
> As my thread from the 6.2.2014 didn't bring any hint or any reply or way out, I need advise if my way is approved:

I travel a lot, and didn't see your posts.  Help from someone usually
pops up.  Sorry it didn't work that way for you.

Anyways, it means I don't have your initial report.  Please show "mdadm
-E /dev/sd[a-z]3".

mdadm --create --assume-clean is a terrible solution, except when its
the right one.  I'd like to make sure.

> I reconstructed the part table (testdisk import from a working disk) and now I'm only missing the md superblock on three disks (sdb3/sdf3/sdg3) for my md0 integrity.
> 
> I'd do the following:
> 
> a) "mdadm --stop /dev/md0"
> 
> b) "mdadm --create --assume-clean --verbose --force --run /dev/md0 --level=5 --raid-devices=8 /dev/sda3 missing /dev/sdc3 /dev/sdd3 /dev/sde3 /dev/sdf3 /dev/sdg3 /dev/sdh3"

Device order matters--it must match the device roles in the --examine
reports.  If three devices have no metadata, you might have to do this
step multiple times with different combinations.  (Never writing to the
array until you find the right one.)

> or to include the "most datas available" version
> c) "mdadm --create --verbose --assume-clean /dev/md0 --level=5 --raid-devices=8 /dev/sd{a,b,c,d,e,f,g,h}3"
> to gather at least the older layout & data

No, leave out the drive that dropped out first.

> d) "fsck.ext4 /dev/md0" on the array afterwards

"fsck -n" first to make sure of the device order.

HTH,

Phil
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
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