Ask Your Question

Hard Disk Error checking Tools

asked 2015-02-24 08:37:14 -0500

Orriginal gravatar image

updated 2015-02-24 11:50:55 -0500

mether gravatar image

Forgive me if this is a silly question, Newbie here that has come from a windows environment and while not New to computing, am re learning Linux after many years. SO, under DOS / Windows, I used to be able to run a command that repaired cross linked files etc on a HDisk. CHKDSK with various options..can I use a similar command in Fedora 21 ? I ask as I seem to be crashing alot, with frozen applications. usually to do with multimedia of various sorts. and YES, I run update almost everyday.

The reason I need to do this is that Fedroa 21 appears to auto reboot Often, loosing me work etc..Can I stop this? Logs do not appear to show any issues..nothing reported. HELP lol.answer gratefully received Thakns in advance

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2015-02-24 10:07:03 -0500

karandeepchahal gravatar image

Is your computer dual boot, if so, does it also reboot in other operating systems? If it does, then it could be a HW problem. When you notice freezing GUI can you log into the console (Ctrl+Alt+F2, or Ctrl+Alt+F3), or from ssh? Please check/post your dmesg after the freezing happens. Also, check your syslog. Your file system is checked upon bootup, so it is unlikely to be FS issue.

edit flag offensive delete link more

answered 2015-02-24 10:11:25 -0500

cobra gravatar image

The equivalent command for checking your filesystems in Linux is fsck . It has a man (manual) page here:

it might be helpful to find out what is causing your Fedora server to reboot on its own. My Fedora system runs for months - it only ever sees a restart when we've had a kernel update.

edit flag offensive delete link more

answered 2015-02-24 16:38:22 -0500

The analogue to chkdsk - but neither may inform you of physical defects on the drive. Use a tool that checks the drive's SMART attributes ( . ) to check the drive health. gnome-disks provides a graphical and easy to interpret interface (red and green lights!) but command line utilities like smartctl do the same job.

Especially watch out for Reallocated Sector Count, Error Retry Rate, and Offline Uncorrectable. If these values are high or growing, you must replace the drive. Often the output of smartctl -a /dev/sda on a problematic drive is sufficient when submitting a warranty claim.

If your system is shutting off improperly, Fedora should be performing an fsck to repair the filesystems when it first boots.

edit flag offensive delete link more


+1 for gnome-disks, which can be installed as part of the gnome-disk-utility package.

Steve HHH gravatar imageSteve HHH ( 2015-04-24 11:54:25 -0500 )edit

Question Tools

1 follower


Asked: 2015-02-24 08:37:14 -0500

Seen: 16,103 times

Last updated: Feb 24 '15