View previous topic :: View next topic |
Author |
Message |
toojays Apprentice
Joined: 21 Jul 2002 Posts: 150 Location: Adelaide, Australia
|
Posted: Sun Aug 25, 2002 5:09 am Post subject: how to invoke e2fsck? |
|
|
When my ext3 partitions mount on boot, the following is written to dmesg:
Code: | EXT3-fs warning: maximal mount count reached, running e2fsck is recommended |
I tried to boot into single user mode in order to unmount some partitions and check them, but it wouldn't let me unmount some (e.g. /var, /usr, obviously /). What is the procedure when you want to run e2fsck on a partition which normally would be mounted? |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Sun Aug 25, 2002 5:35 am Post subject: |
|
|
One way is to boot from the install CD. This works well. You can also drop into single user mode during boot, but I feel safer doing disk maintenance from a rescue/install CD. |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Sun Aug 25, 2002 5:42 am Post subject: |
|
|
While I agree with Naan Yaar that the easiest way is to be booted from a different partition all together, you should be able to remount any partition (even /) read-only in single-user mode to do maintenance on it. Don't unmount it: just remount it read-only. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
|