Access the answers to your technology questions today.
Subscribe Now
30-day free trial. Register in 60 seconds.
What Makes Experts Exchange Unique?
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.
Try it out and discover for yourself.
Subscribe Now
30-day free trial. Register in 60 seconds.
Join the Community
Give a Little. Get a Lot.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Join the Community
by: Tim_UtschigPosted on 2006-01-02 at 16:08:11ID: 15594723
fsck /dev/hda1
Where /dev/hda1 is the partition to check for consistency errors.
You can further check for bad blocks (on an ext2/3 filesystem) with:
e2fsck -c /dev/hda1
Note this could take a LONG time depending on the size and speed of your disk.
Some file systems automatically handle bad blocks, so you don't have to go checking for them.