On Wed, Oct 8, 2014 at 10:04 AM, Carlos E. R.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2014-10-08 15:21, Greg Freemyer wrote:
On Wed, Oct 8, 2014 at 7:35 AM, Carlos E. R. <> wrote:
My hair is standing up in my back... yiks!
:-)
I left out a key step I use: Find a SATA HDD with no content on it you care about and connect it to your system via sata and put a nice new filesystem on it.
Ah, yes.
(I don't know if the above works for USB3 connected drives. I have never tried that.)
Maybe. Depends on the particular chipset of the hd box.
You may also need to experiment with the 4K physical sectors vs. 512 byte logical sectors. All my testing has been with older 512 byte physical sector drives.
Right.
Also, use ext3, not xfs: it is difficult to find the lba; far from trivial.
My testing has actually been with raw unformated disks. Fill with random data: dd if=/dev/urandom of=/dev/sdx bs=4K use hdparm to corrupt a sector (or more) Use various raw sector level read tools to attempt to read the sector. Verify dd terminates when it hits the bad sector. What about "dd conv=noerror". Compare that to "dd conv=noerror,sync". What about shred /dev/sdx. Does it terminate on the bad sector? etc, etc, etc. I have run large numbers of similar tests over the last 10 years. Greg -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org