[Sluglug] Partition Question
Ignacio Solis
isolis at igso.net
Mon Oct 3 14:53:24 PDT 2005
* Erich (eblume at ucsc.edu) said:
> That seemed so incredibly dangerous that I didn't even think about doing it.
> Also, I should note that that error doesn't always show up (the
> non-contiguous error). So here're my questions: 1) What exactly is going on
> here? 2) Do I need to fix it? 3) How?
You probably rebooted the computer without shuting down or had a power outage.
Ext3 is journaled, so that means it will be able to achieve a consistend state,
but you can still leave some files in unstable stages, so you need to clean up
the remains. Boot in single user mode/read-only and to a fsck on your
partition. (or just unmounted and do an fsck).
You can also just tell the system to check the fs at next boot.
Run:
tune2fs -l /dev/hda3 | grep count
See what the maximum mount count is, (maybe it's set to 0?). Then set the Mount
count to the same number and reboot, the filesystem will then be checked.
For example, if the maximum mount count is 30 you can run:
tune2fs -C 31 /dev/hda3
Nacho
--
"In Googlis non est, ergo non est." - Anonymous Coward
Homepage: http://www.cse.ucsc.edu/~isolis/ | EEE8 08C9 FBAE B471 9691
GPG Public Key: http://www.igso.net/isolis.gpg | CE7A 1CC8 D3DE B31E 10AB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://sluglug.ucsc.edu/pipermail/sluglug/attachments/20051003/8034001a/attachment-0002.pgp
More information about the Sluglug
mailing list