Ask Your Question

Check for bad sectors and correct in fedora 16

asked 2012-02-20 08:13:54 -0500

arkiaz gravatar image


I would like to check for bad sectors in my harddisk and if possible, recover it. Can anyone specify a tool for that?

I am using Fedora 16. Toshiba Satellite L510 laptop.

Thanks in advance.

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2012-02-20 08:49:19 -0500

ztank1013 gravatar image

updated 2012-02-20 08:54:15 -0500


Activities -> Applications -> Accessories -> Disk Utility

Then select on the left column the disk you would like to analyze and repair and push the

Check Filesystem

button. If you feel better with command line you may probably give this short guide a try.

edit flag offensive delete link more

answered 2017-01-15 22:03:06 -0500

sergiomb gravatar image

we should use e2fsck , for example:

e2fsck -c -k /dev/mapper/VolGroup-lv_home
  • -c This option causes e2fsck to use badblocks(8) program to do a read-only scan of the device in order to find any bad blocks. If any bad blocks are found, they are added to the bad block inode to prevent them from being allocated to a file or directory. If this option is specified twice, then the bad block scan will be done using a non-destructive read-write test.
  • -k When combined with the -c option, any existing bad blocks in the bad blocks list are preserved, and any new bad blocks found by running badblocks(8) will be added to the existing bad blocks list.

  • -l As a result, it is much simpler and safer to use the -c option to e2fsck, since it will assure that the correct parameters are passed to the badblocks program.

edit flag offensive delete link more

answered 2017-09-08 22:02:39 -0500

sergiomb gravatar image

Hello, after fight some months or even 1 or 2 years with an HDD with bad blocks , I found this [1], after some e2fsck the bad block list was cleaned etc , but in is state that "Filesystem badblock lists are obsolete" , so the correct way to deal with bad blocks is using smarttools [2]



edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-02-20 08:13:54 -0500

Seen: 13,027 times

Last updated: Sep 08 '17