Checking and Fixing Disk Errors and Badblocks


Written by Pavs on January 23rd, 2008

Linuxpoison wrote a howto on fixing diskerror and badblocks. The process includes identifying the badblocks and saving them on a file and then feeding the file to fsck to check and fix any issues.

To identify bad block: badblocks /dev/hda1 > test

Thans use fsck to fix issues: fsck -t ext3 -l test /dev/hda1

2008-01-23-225249_1280x800_scrot.png



2 Responses to “Checking and Fixing Disk Errors and Badblocks


Subscribe without commenting


Leave a Reply

Note: Any comments are permitted only because the site owner is letting you post, and any comments will be removed for any reason at the absolute discretion of the site owner.