Hello, I recently implemented ext3 using tune2fs -j /dev/hda1, and have been using it successfully for a while. However the .journal file is huge and growing on my limited amount of disk space. How can I rotate or re-initialize the file, preferably without rebooting, on a daily/weekly basis? Regards, Dan Barber Mojolin --------------- Mojolin: Linux, Unix and Embedded Jobs and Resumes. http://www.mojolin.com
On Fri, 2001-11-16 at 13:42, dan wrote:> Hello, > > I recently implemented ext3 using tune2fs -j /dev/hda1, and have been > using it successfully for a while. However the .journal file is huge and > growing on my limited amount of disk space.Pardon???? The journal file does not grow after initialisation - it is basically a circular list of filesystem update records, which are only kept on the journal until the data has been committed to disk. If your "journal" file is growing then something else is writing to that file. Nigel.
Hi, On Fri, Nov 16, 2001 at 08:42:12AM -0500, dan wrote:> I recently implemented ext3 using tune2fs -j /dev/hda1, and have been > using it successfully for a while. However the .journal file is huge and > growing on my limited amount of disk space.Hmm? The .journal file _never_ gets grown by the ext3 kernel core. There isn't any code in there that _can_ grow it --- the journal code only knows how to look up existing blocks in the file. Cheers, Stephen
All, Thanks for the clarification, that puts my mind at rest. I will look elsewhere for the source of the problem. My initial thought was ext3 as that has been the only change I have made lately. By the way, I love ext3... thanks for the great product! Regards, Dan Barber Mojolin --------------- Mojolin: Linux, Unix and Embedded Jobs and Resumes. http://www.mojolin.com On 16 Nov 2001, Nigel Metheringham wrote:> On Fri, 2001-11-16 at 13:42, dan wrote: > > Hello, > > > > I recently implemented ext3 using tune2fs -j /dev/hda1, and have been > > using it successfully for a while. However the .journal file is huge and > > growing on my limited amount of disk space. > > Pardon???? > > The journal file does not grow after initialisation - it is basically a > circular list of filesystem update records, which are only kept on the > journal until the data has been committed to disk. > > If your "journal" file is growing then something else is writing to that > file. > > Nigel. > > > >