I'm sort of a newbie and my netbook fell from the table on a carpet floor. Didn't hear a scratching noise, but don't know if the drive was reading at that time or not.
Anyway, I ran an fsck check on my data partition and it didn't say there were errors (don't recall it saying there were no errors either though). What are the chances I have something damaged? Does fsck scan free space as well? Is there a tool that can scan hard drives for bad sectors even on mounted partitions?
When I install Ubuntu 9.10 at the end of the month (clean install), will it scan the hard drive before installing?
-
Does your netbook have an HDD or SSD?
-
I wouldn't really know what to run, fsck and/or smartmontools.
For the ext3 filesystem (I'm assuming you are using the default?), check the man page for fsck.ext3. Scanning the disk for errors with -c for a read-only test or -cc for a non-destructive read-write test, you'll probably also need to use the -f to force a check. You normally need the filesystem to be umount-ed although you might be able to do the test to a read-only mounted filesystem. The root / filesystem, is more difficult to test, best method is to boot from external media (CD/DVD or USB), or you may be able to do it from a maintenance login (single user) if you can remount the partition read-only.
A nice newbie intro to smartmontools:
http://blog.shadypixel.com/monitoring-hard-drive-health-on-linux-with-smartmontools/ -
It has a Western Digital Scorpio Blue WD3200BEVT 320GB 5400 RPM.
http://www.newegg.com/Product/Product.aspx?Item=N82E16822136197 -
Oh and don't really ignore the warning which tells you not to run fsck on a mounted partition.
I ignored it last time and suffered, as it states, "several filesystem damage". I lost some days' data and the filesystem damage was really hard.
This was some (2-3) weeks ago btw, it took an afternoon I couldn't afford to spare also...
*Do* unmount the partition before running fsck! (run it from a live-cd?) -
If you're running Ubuntu, just open a terminal and type
Code:sudo touch /forcefsck
ubuntu noob: scan disk for errors?
Discussion in 'Linux Compatibility and Software' started by osomphane, Oct 4, 2009.