I am working in a branch of a shop called CeX - we trade in games, consoles and somputer parts.
I recently installed OpenSuse on our test banch machine in order to rescue it, but we need a disk testing utility that tests, verifies and formats hard drives so we can test Hard Discs that come in for trade.
Is there such a program under Open Suse that will run in the gnome desktop envirinment?
Any and all help and advice is appreciated!
> I recently installed OpenSuse on our test banch machine in order to
> rescue it, but we need a disk testing utility that tests, verifies and
> formats hard drives so we can test Hard Discs that come in for trade.
badblocks from the e2fsprogs package can do that. It’s part of the live
CDs and default installs. “badblocks -svw -t 0x00” will wipe the disk and
report any problems.
Note that recent drives do dynamic block relocation, meaning they come
with a set of spare sectors to dynamically replace those who are faulty.
This is transparent to the rest of the machine. Some SMART utilities can
read the stats concerning these relocations and initiate the disks self
tests of several levels. Also drive manufacturers offer diagnostic
utilities which are specific to their products.
Finally, whatever you do, don’t listen to Steve Gibson.
Cheers for the info!
forgive me for being such a 'tard - can I please have full terminal command?
That way I can just tape it to the side of the machine!
I would start with ‘man badblocks’ first. That way you’ll understand how the utility works.
Anyway, to get started, suppose you have an unmounted disk (sdc for example) that you wish to test without destroying any data. You could do something like:
badblocks -snv /dev/sdc
To test in r/w mode, you could do (as outlined by Andreas):
badblocks -svw -t 0x00 /dev/sdc
(The -t switch is used to write then read the data test pattern).
Be careful with specifying the device though - you don’t want to destroy any important data.