Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to invoke e2fsck?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
toojays
Apprentice
Apprentice


Joined: 21 Jul 2002
Posts: 150
Location: Adelaide, Australia

PostPosted: Sun Aug 25, 2002 5:09 am    Post subject: how to invoke e2fsck? Reply with quote

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
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Sun Aug 25, 2002 5:35 am    Post subject: Reply with quote

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
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Sun Aug 25, 2002 5:42 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum