[mythtv-users] Totally OT - but need help wit RAID5 array

James Pifer jep at obrien-pifer.com
Thu Nov 16 18:35:27 UTC 2006


> Okay - the good news is that with just two drives in the array, the
> failed drive should be (almost) as up to date as the working drive.
> This means the data _should_ be mostly okay.
> 
> You can force assembly of the array by using the --force switch.  I'd
> recommend then mounting read-only and copying the data off before
> recreating the array with all three drives.  If you don't have enough
> space, then you can just hot-add the remaining drive and hope that it
> rebuilds okay.  You'll then also need to do a fsck afterwards to check
> for any corruptions.

I'm surprised it didn't complain either, which is frustrating. I'm the
dumb-a** that didn't keep my data longer, but it would have been nice to
know the array wasn't created correctly. 

What command would I use for to force it? I don't want to do anything
wrong and make my bad situation worse. If I try this I get:

[root at storage ~]# mdadm --force --assemble /dev/md0 /dev/hdb /dev/hdc
mdadm: --assemble would set mdadm mode to "assemble", but it is already set to "manage".

What command(s) should I be using?

Thanks,
James



More information about the mythtv-users mailing list