how to use badsector function

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

 



 I noted md add a function about badsector.But I did not found how to using.
1:when create a raid5 and superblock is load:
    in function super_1_load:
	 if (sb->bblog_offset == 0)
		rdev->badblocks.shift = -1;
2:when runing raid5,meet badsector. Because shift=-1,not add 
3:mdadm can't provide a parameter to set.

						Thanks!
 				
--------------
kedacomkernel
2012-02-26

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