Comment 127 for bug 445852

Revision history for this message
Tommy Trussell (tommy-trussell) wrote :

We have seen the corruption survive a basic filesystem initialization, so once your drive has been corrupted you may need to write zeroes to it to eliminate the bad blocks before you can create a clean filesystem again. You can verify the drive using badblocks when it is not mounted. This procedure works for the flash SSDs such as the Patriot Lite.

For example, to write zeroes to /dev/sda:

 # dd if=/dev/zero of=/dev/sda bs=1M

To do a read-only test of /dev/sda:

# badblocks -s /dev/sda