Check for Badblocks on the HDD
Tagged with: badblocks, command, harddisk, hdd, Linux
Saturday, March 29th, 2008 11:29 PM
Check bad blocks in disk hda1
badblocks -v /dev/hda1
Check bad blocks in disk hda1
badblocks -v /dev/hda1
Linux Command to search the Harddisk for bad sectors
sudo badblocks -v /dev/sda
<p class=”intro”>If you have many IDE harddisks connected to the system(but not mounted), this command will find it. This will work for sata HDD as well if you use ’sd’ instead of ‘hd’</p>
<pre><code class=”cli”>
ls /dev/hd*
</code></pre>
<p>Simple, is it not? To find the mounted drives just use the command ‘dh’.</p>
[tags]hda,harddisk,ide,sata,linux,command,hdd,partition[/tags]