Thread (1 message) 1 message, 1 author, 2005-02-28

Re: Posible bug on RAID 1 driver

From: Neil Brown <hidden>
Date: 2005-02-28 05:09:18

On Wednesday February 23, jrojomartinez@mi.madritel.es wrote:
Hi,

  The Linux RAID crushes when recuntructing a disk.
...
  I use a 2.4.29 kernel (on a Debian sarge GNU/Linux).
...
unused devices: <none>
Personalities : [raid1] 
read_ahead 1024 sectors
md1 : active raid1 sdb1[2] sdd1[0] sdc1[1]
      999872 blocks [2/2] [UU]
      
unused devices: <none>
centralmad:~# DEVICE=/dev/sdc1 ; raidsetfaulty /dev/md1 $DEVICE ; raidhotremove /dev/md1 $DEVICE ; cat /proc/mdstat; 
Personalities : [raid1] 
read_ahead 1024 sectors
md1 : active raid1 sdb1[2] sdd1[0]
      999872 blocks [2/1] [U_]
      [>....................]  recovery =  0.0% (0/999872) finish=166.6min speed=0K/sec
unused devices: <none>

There is a race condition in the 2.4 kernels.  If you fail a drive and
then removing it instantly, you can hit problems.  My advice is to not
do that. (or use 2.6).

NeilBrown
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help