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

Re: How to change .journal size



On Dec 19, 2001  11:46 +0300, Stas Ivanov wrote:
> I created on my 60Gb hdd (data=journal) journal with 16Mb size,
> i think it not enough.  As it is possible to change size of journal ?

Yes, for data=journal mode you probably need a larger journal.  You
need to unmount the filesystem, then run:

tune2fs -O ^has_journal /dev/hdX
e2fsck -f /dev/hdX (only if you don't have e2fsprogs 1.25)
tune2fs -J size=<new size> /dev/hdX

If you are using e2fsprogs 1.25 then you do not need to run e2fsck,
because tune2fs will delete the old journal for you.

Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/





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