[Techtalk] formatting half a mirrored raid...

Maria Blackmore mariab at cats.meow.at
Fri Jun 13 10:24:42 EST 2003


On Thu, 12 Jun 2003, Walt wrote:

>    md0 : active raid1 hda1[0]
>          117218176 blocks [2/1] [U_]

Ah ha, it's offlined it

> lsraid -a /dev/md0 gives me this:
> 
>    [dev 9, 0] /dev/md0   ####bunch of numbers#### online
>    [dev 3, 1] /dev/hda1  ####bunch of numbers#### good
>    [dev ?, ?] (unknown)  ####bunch of numbers#### missing

Missing, presumed ... gone :)

> So... the drive I destroyed is "missing" in action.
> What can I do to recreate the (reiserfs) raid?

You don't need to, just type 'raidhotadd /dev/md0 /dev/hdd1' and it will
rebuild it for you, treating it as if it was a new drive just popped into
the system.  Just one thing to note - this assumes your original software
raid configuration is still described in /etc/raidtab, if it's not you'll
have to make yourself a new raidtab that says the same as the old one.

cool, huh? :)

Maria




More information about the Techtalk mailing list