Re: [RAID] Scripts watch SW RAID1 for HD failure - mdctl

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

 



On Monday February 11, domdev@sat.net.pk wrote:

Sorry for the delay in replying

> Hi,
> is this comment still valid (from Monitor.c) and Which bug its referring to ?
> 
>  *
>   * If the update time changes, check out all the data again
>   * It is possible that we cannot get the state of each device
>   * due to bugs in the md kernel module.
>   *

The bug was fixed somewhere around 2.4.9.
The problem was that the kernel would only answer "GET_DISK_INFO"
requests for disks numbered less than "nr_disks", but nr_disks might
be less than the number of the highest numbered disk.

The fix was to get it to answer any request for a disk numbered up to
MD_SB_DISKS (or whatever it is) if that disc actually existed.

NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
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