20.2. Checking the Hard Disk for errors

Checking the hard disk for errors on your primary drive is very, very rarely required in GNU/Linux, most checking is automated on start-up if it is required. If you do need to check the hard disk for errors you will first need to unmount it. Then use the file system checker, fsck.

fsck.file_system_type

If you had an ext3 file-system then it would be:

fsck.ext3

TipAlso try
 

You can also try using:

fsck -t file_system_type