[mythtv-users] Totally OT - but need help wit RAID5 array
Robin Hill
myth at robinhill.me.uk
Thu Nov 16 19:18:34 UTC 2006
On Thu Nov 16, 2006 at 01:35:27PM -0500, James Pifer wrote:
> > 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?
>
Yeah, mdadm is very picky about the order of options. Try:
mdadm --assemble /dev/md0 --force /dev/hdb /dev/hdc
Cheers,
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/20061116/398c8572/attachment.pgp
More information about the mythtv-users
mailing list