Novell Home

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

Novell Cool Solutions: Question & Answer

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

© 2014 Novell