[mythtv-users] Totally OT - but need help wit RAID5 array
Robin Hill
myth at robinhill.me.uk
Fri Nov 17 08:54:49 UTC 2006
On Thu Nov 16, 2006 at 08:24:05PM -0500, James Pifer wrote:
> ok, dd_rhelp finished. I switched the drives so the good drive is now
> hdb. It still won't let me bring up md0:
> [root at storage ~]# mdadm --assemble /dev/md0 --force /dev/hdb /dev/hdc
> mdadm: /dev/md0 assembled from 1 drive - not enough to start the array.
>
That's odd - the query information all looks okay. The UUID for the
drives is the same so it should see them as being in the same array.
All I can think of now is to re-create the array using the
--assume-clean flag (so use the same command as earlier, including the
typo, but put a --assume-clean after the /dev/md0) . This should
rewrite the metadata without touching the actual data. I've never used
this myself and it does come with a warning in the manual page, but if
it won't assemble the array then I can't see any other solution.
If you do get the array working again with two drives, run a fsck on it,
then hot-add the third drive (mdmadm -a /dev/md0 /dev/hdd).
HTH,
Robin
--
___
( ' } | Robin Hill <myth at robinhill.me.uk> |
/ / ) | Little Jim says .... |
// !! | "He fallen in de water !!" |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20061117/d54e4e54/attachment.pgp
More information about the mythtv-users
mailing list