On 4/27/2010 3:29 PM, Doug Ledford wrote: > We do record it, but mainly in the form of our disk count. We keep > track of active discs, failed discs, and spare discs. Whether we have > the disc open and in our device list changes what our failed disc count > would be. On removal, we decrement that failed disc count. The slot > that the disc used to occupy gets changed from being failed to removed > simply to indicate there is no rdev associated with that slot. That is > the information we record. Why bother recording that? Whether or not the kernel last had an rdev open is useless information to have in the superblock. Why not instead leave it recorded as failed until --removed? > You are making assumptions about the use of that bit. We don't ignore > it, we just don't use it the way you think we should. Then how is it used, because I see no way in which the kernel cares whether or not the kernel had a given device open or not prior to a crash. > Sure you can: mdadm /dev/md0 -a /dev/sdc1 That's add, not re-add. -- 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