Re: Posible bug on RAID 1 driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday February 23, jrojomartinez@xxxxxxxxxxxxxx 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
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux