On Sun, 12 Mar 2000, Ed Byrne wrote:

> I just set up a RAID on a machine with the following setup.
> 
> Linux 2.2.14 + raid-2.2.14-B1 patch, raidtools-19990824-0.90
> 
> sda1: boot partition (256mb)
> sda2: raid-disk 0 (8.5gb)
> 
> sdb1: swap (256mb)
> sdb2: raid-disk 1(8.5gb)
> 
> Setup was fine and it worked great, until I actually tested drive loss. 
> I pulled sdb2, and it detected the loss and said it was continuing in
> degraded mode as I expected.  Then I hard rebooted the machine.  After
> that, it refused to use the second drive in the mirror.

Yes, the kernel doesn't automagically snatch any new block-device it sees
and starts using it as a new mirror.   That's on purpose.

> The md recovery thread does not seem to see that it is there, after it
> refuses to use it.  I've tried dd'ing sda2 to sdb2, zero'ing sdb2,
> changing the partition type to ext2 and then back, and still get the same
> error.  Manually stopping and restarting using raidstop/raidstart seems to
> do the same thing, except it doesn't even see sdb2 at all.  /etc/raidtab
> and raid1.conf are both set up properly according to the documentation.

How about manually adding (with the hotadd command) the drive ? 

[snip]

-- 
................................................................
: [EMAIL PROTECTED]  : And I see the elder races,         :
:.........................: putrid forms of man                :
:   Jakob �stergaard      : See him rise and claim the earth,  :
:        OZ9ABN           : his downfall is at hand.           :
:.........................:............{Konkhra}...............:

Reply via email to