[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Ext3fs and fsck



Hello List

I have ext3fs on all partitions (except /boot, which is usualy mounted ro). 
When the maximum mount count is reached, ext3 tells me "EXT3-fs warning: 
maximal mount count reached, running e2fsck is recommended"
What is the easiest way to run e2fsck automatically on bootup, when the 
maximum mount count has been reached?
According to the Ext3-usage howto, I created a file /forcefsck , but the 
result was, that only the / parition was checked, Ext3 still warns me about 
the other filesystems. Running e2fsck manually is not that easy:

blaubaer:~# e2fsck /dev/hdb1
e2fsck 1.25 (20-Sep-2001)
/dev/hdb1 is mounted.  
WARNING!!!  Running e2fsck on a mounted filesystem may cause
SEVERE filesystem damage.
Do you really want to continue (y/n)? no

Any suggestions?

Thanks

joerg


-- 
Did you know that if you play a Windows 2000 cd backwards, you 
will hear the voice of Satan?

That's nothing!  If you play it forward, it'll install Windows 2000.

GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net



Reply to: