badblocks -vw

Mike McCarty Mike.McCarty at sbcglobal.net
Wed Dec 6 04:13:57 UTC 2006


Hadders wrote:
> Hi all,
>  Just wondering if there's something for friendly to use than badblocks 
> to test a disk?
> 
> Just doing a 'badblocks -vw /dev/sda' and it does 5 passes to ensure 
> it's good, but it doesn't tell you where it's at....
> 
> Does anybody use anything other than this to test a disk?
> Bought two new SATAII disks and want to make sure they're good before I 
> start using them.

You've got some misconceptions. Those drives do sector remapping. Using
read/write tests won't detect this, as the FEC on the discs will hide
the errors. You need to query the disc itself for the knowledge it
has.

# smartctl -a /dev/hdx
# hdparm -I /dev/hdx

may help.

Mike
-- 
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!




More information about the fedora-list mailing list