Re: patch fr1-2.17 does not work with kernel 2.4.30

Stephan von Krawczynski <[email protected]>
Newsgroups gmane.linux.enbd.general
Organization ith Kommunikationstechnik GmbH
Message-ID <[email protected]>
> Let me know if it fries something it should not.

Hi Peter,

I just tried your latest 2.17 right according to the readme for a test.
Everything works up to the point where I set the failure state with

raidsetfaulty /dev/md0 /dev/loop0

But then, trying to bring the thing back online with

raidhotadd /dev/md0 /dev/loop0

I get:

/dev/md0: can not hot-add disk: disk busy!


Whereas:

raidhotremove /dev/md0 /dev/loop0
raidhotadd /dev/md0 /dev/loop0

Works as expected:

Personalities : [raid1] 
read_ahead 1024 sectors
md0 : active raid1 [dev 07:00][2] [dev 07:01][1]
      4096 blocks [2/1] [_U]
      [>....................]  recovery =  0.0% (992/4096) finish=0.1min speed=330K/sec
unused devices: <none>


Am I doing something wrong?

Regards,
Stephan

PS:
The readme has a typo:
      dd if=/dev/zero of=/dev/core0 bs=4M count=1
      dd if=/dev/zero of=/dev/core1 bs=4M count=1
obviously means:
      dd if=/dev/zero of=/tmp/core0 bs=4M count=1
      dd if=/dev/zero of=/tmp/core1 bs=4M count=1

;-)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.