Re: array went wonky
From: Robin Hill <hidden>
Date: 2013-05-03 07:40:07
On Thu May 02, 2013 at 07:29:38AM -0700, Gimpbully wrote:
Sorry, I realize I had md127 started. So I stopped it and did the
assemble and got the following (the problem is sdf isn't supposed to
be a spare at all, it's supposed to be a ddrescue'd sdc:
eduardo ~ # mdadm --stop /dev/md127
mdadm: stopped /dev/md127
eduardo ~ # mdadm --assemble --force /dev/md127 /dev/sd{f,g,e,a}1
mdadm: /dev/md127 assembled from 3 drives and 1 spare - not enough to start the array.
eduardo ~ #
eduardo ~ # mdadm --examine /dev/sd{f,g,e,a}1 | egrep 'Event|/dev/sd'
/dev/sdf1:
Events : 25979
this 5 8 81 5 spare /dev/sdf1
0 0 8 33 0 active sync /dev/sdc1
2 2 8 65 2 active sync /dev/sde1
4 4 8 1 4 active sync /dev/sda1
5 5 8 81 5 spare /dev/sdf1
/dev/sdg1:
Events : 25979
this 1 8 17 1 active sync /dev/sdb1
0 0 8 33 0 active sync /dev/sdc1
1 1 8 17 1 active sync /dev/sdb1
2 2 8 65 2 active sync /dev/sde1
4 4 8 1 4 active sync /dev/sda1
5 5 8 81 5 spare /dev/sdf1
/dev/sde1:
Events : 25979
this 2 8 65 2 active sync /dev/sde1
0 0 8 33 0 active sync /dev/sdc1
2 2 8 65 2 active sync /dev/sde1
4 4 8 1 4 active sync /dev/sda1
5 5 8 81 5 spare /dev/sdf1
/dev/sda1:
Events : 25979
this 4 8 1 4 active sync /dev/sda1
0 0 8 33 0 active sync /dev/sdc1
2 2 8 65 2 active sync /dev/sde1
4 4 8 1 4 active sync /dev/sda1
5 5 8 81 5 spare /dev/sdf1
Okay, so we have:
sda - original disk
sde - original disk
sdf - supposed to be ddrescue of original sdc
sdg - ddrescue of original sdb
From the metadata, it would appear that sdf is not in fact a ddrescue of
sdc, so I'd suggest going back and redoing that. Check afterwards that
the metadata reported by "mdadm --examine" on the two disks matches.
Cheers,
Robin
--
___
( ' } | Robin Hill [off-list ref] |
/ / ) | Little Jim says .... |
// !! | "He fallen in de water !!" | Attachments
- signature.asc [application/pgp-signature] 198 bytes