PSla Blog

Blog Piotra Ślatały | Peter Slatala's Blog

BadBlocks checking

Want to be sure new drive is fine (has no badblocks?) Run

[cc lang=”bash”]
badblocks -wvs /dev/sdx
[/cc]

(might take ~50 hours on 3TB HDD). It will write down specific patterns on HDD, verifying them (four different patterns for whole drive). It will wipe out your data on sdX

Leave a Reply

Your email address will not be published. Required fields are marked *