hard disk integrity check

Antony Gelberg antony at wayforth.co.uk
Sun Apr 16 15:52:11 UTC 2006

C Hamel wrote:
> Hash: SHA1
> On Friday 14 April 2006 08:56, Andrew Zajac wrote:
>>On 4/14/06, Balvinder Kataora <nine.socks at gmail.com> wrote:
>>>hello everyone,
>>>I have a second hand 20gb hard disk and would like to know how can I
>>>check it's integrity. Is there a program or method to find this out?
>>You can use badblocks to look for badblocks.
>>sudo badblocks /dev/hdb1
> Does Linux also set aside those bad blocks so the HD can still be utilized?

Please read the badblocks manpage, and following on from that, the 
mke2fs manpage, which (unsurprisingly) answer your question.

More information about the ubuntu-users mailing list