Novell Home

How do I check the filesystem on my hard drive in Linux?

Novell Cool Solutions: Question & Answer

Rate This Page

Reader Rating  stars  from 2 ratings

Posted: 16 Feb 2005

Q:
How do I check the filesystem on my hard drive in Linux?

A:
Running the following command will check to see if there are any problems with your hard drive:

*note* Your hard drive needs to be UN-mounted, or mounted with read-only access in order for this to run.
,br> fsck Example: If my hard drive was /dev/sda3 I'd run

fsck /dev/sda3

Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

Reader Comments

  • A note regarding "mount" & "unmount" syntax would be appropriate and infinitely helpful here...

Novell® Making IT Work As One

© 2008 Novell, Inc. All Rights Reserved.