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

From
Phil Turmel <hidden>
Date
2014-02-17 13:47:17
Reply to
Samer, Michael (I/ET-83, extern), 2014-02-17
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
Thread (9 messages) 9 messages, 3 authors, last reply 2014-03-13
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help