On Apr 11, 2003 19:44 +0100, Stephen C. Tweedie wrote: > On Fri, 2003-04-11 at 15:46, Senthil Kandasamy wrote: > > > In my /var/ directory, I have a use file called ".journal" which > > takes about 30 Megs of space which is 98% of the file size. > > That looks like the journal file which gets created when you upgrade an > ext2 filesystem to ext3 while it is still online --- it's normal. I > assume /var is a separate filesystem? > > You can't get rid of it --- it's central to the way ext3 works. (Well, > you _could_ get rid of it by converting back to ext2!) But you can hide > the journal by unmounting the filesystem and running a recent version of > e2fsck on it, which will convert the .journal file into a "hidden" > inode. Note however, that you _can_ make the journal smaller if you don't mind a small performance hit. Unmount the filesystem, then: tune2fs -O ^has_journal /dev/X e2fsck -f /dev/X tune2fs -j -J size=4 /dev/X This will create a hidden 4MB journal. That is as small as it can be, unless you have a 1kB block filesystem (see blocksize in dumpe2fs -h /dev/X output). If so, you can use "-J size=1" to create a 1MB journal. Cheers, Andreas -- Andreas Dilger http://sourceforge.net/projects/ext2resize/ http://www-mddsp.enel.ucalgary.ca/People/adilger/ _______________________________________________ Ext3-users@redhat.com https://listman.redhat.com/mailman/listinfo/ext3-users