-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday, 2009-03-10 at 10:03 -0400, Greg Freemyer wrote: ...
If you're really curious, hdparm can create and recover bad blocks on your media. (I think it needs a IDE/SATA hdd to work).
see hdparm --make-bad-sector and --repair-sector
Interesting...
When it creates them it uses a ATA diagnostic write to cause the per sector crc to be bad, then on read you get a media error.
(ie on disk sectors are bigger than 512 bytes. Part of the overhead is a crc used to verify the media has not failed.)
Not sure how it does the fix side, but you are not supposed to permanently loose the sector, thus it is more or less safe to test with.
I would use a drive that does not have critical data. And I assume hdparm will be counting sectors from the beginning of the drive, not the partition.
I'm interested, but not so much as to try with a disk that is in actual use >:-) I'll save this for possible future reference. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkm3plsACgkQtTMYHG2NR9WHMACffQOdIPkCPylGrp1vRXQ5lyLx cUgAniBh9LzQR6qrvv5/3oDwvbz9auzi =Mpi2 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org