Operating System - Linux
1832964 Members
2596 Online
110048 Solutions
New Discussion

Best Practice for ext3 filesystem

 
K.C. Chan
Trusted Contributor

Best Practice for ext3 filesystem

what is the best practive for ext3 fs? I've turned off the option where you have to do a force check. I am wondering how do you the force check manually? Do you reboot the server in "Single User Mode"? Then do the force check on a regular basis?

If my / is ext3 and I've turned off the force check option, then how do I manually force check it? Is there a maintenance mode for Linux; something similar to HP-UX?
Reputation of a thousand years can be determined by the conduct of an hour
2 REPLIES 2
Patrick Preuss
Trusted Contributor

Re: Best Practice for ext3 filesystem

hi,

you could use the runlevel S

for single user mode (no network no services no deal;-)

type something like:

init S
or

telinit S

-PP
Goodbye Douglas! Whereever you are now, keep your towel and don't panic.
Eric Ladner
Trusted Contributor

Re: Best Practice for ext3 filesystem

Or, at the lilo prompt, you can type: single

Replace with whatever the label in the lilo.conf is for the linux image you boot.

Personally, I'd use fstune and set it to automatically do a full check after 20 remounts or so. If it's a very infrequently rebooted machine, make it every reboot or every other reboot.