Reshape didn't stop when two disks was removed

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

 



Hi all,

I built a raid5 md on 3 disks, than I added two disks to reshape this
md to a five disks raid5 md.
When reshaping the md, two added disks disconneted, but reshape didn't
stop. The md didn't crash, just degraded.

I traced code and I found this problem may be caused by function
error() in raid5.c
In error(), it set faulty bit after calc_degraded.
therefore, when clac_degraded() checking faulty, it didn't count
degrade of the first removed disk.
Should it set_bit faulty before clac_degrade function?

thanks,

Allen
--
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