Archive for March 1st, 2010

Monday, March 1st, 2010 at 6:16pm

Testing storage media in Ubuntu

Posted by Brian Higgins in Ubuntu

- Perform a bad-blocks scan:
$ sudo badblocks -c 10240 -s -w -t random -v /dev/sdb
- Write random data over entire surface of media:
$ sudo dd if=/dev/urandom of=/dev/sdb
*** Be sure to substitute the “sdb” device with your own as needed.

© 2010 B r i a n H i g g i n s . c o m: . :   Just   Another   Personal   Website   : .