I suspect there might be bad sector on a disk. I used ext3 filesystem.
What tool is the best equivalent of the error checking tool of Windows?
disk
I suspect there might be bad sector on a disk. I used ext3 filesystem.
What tool is the best equivalent of the error checking tool of Windows?
Best Answer
Disks
To check for bad sectors check the SMART data, probably the best accessible by launching the Disks utility (Palimpsest). Even if you don't see any bad blocks there, launch a self-test to be sure.
The program is bundled in the
gnome-disk-utility
package. Rungksudo gnome-disks
Or in Ubuntu 16.04 version (3.18):
Badblocks
You can also use
badblocks
to just check, or to check and fix first write the result to a temporary file:
will check the whole disk and print out all bad blocks encountered on /dev/sda.
From
badblocks
manual:fsck
fsck
itself will not help you find bad sectors, worse still, if there are a lot of bad sectors it can damage your data even more. Use it only when the disk is healthy.