-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hi, just wondering... if i upgrade my kernel + ext3 patch, do i have to recreate the journal? if so (or if not) how do i recreate it? i tried to delete the .journal, reboot and mounting everything as ext2 and do a tune2fs -j /dev/hdxx but it say "The filesystem already has a journal." Thanks, Mark -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE73k67c5nZWq47DhsRAi5SAJ47ranOp8DZPPWQzwh7/p/EXOK+ngCfdhu0 2uDtduSrAgPd0rUQGNJrlMM=FRqk -----END PGP SIGNATURE-----
On Oct 30, 2001 14:54 +0800, Mark M. Barrios wrote:> just wondering... if i upgrade my kernel + ext3 patch, do i have > to recreate the journal? if so (or if not) how do i recreate it?No, unless you were a very early ext3 adopter (2.2 + ext3-0.0.5 or so), there has not been a journal change. Even then, the old journal format is forward compatible with the new journal format, so no need to rebuilt it.> i tried to delete the .journal, reboot and mounting everything as ext2Don't do that.> do a tune2fs -j /dev/hdxx but it say "The filesystem already has a journal."Run e2fsck on it first, it will detect that you made a large effort to circumvent all attempts we made to prevent people from deleting the journal. Then run tune2fs on the unmounted filesystems to create the journal again. Cheers, Andreas -- Andreas Dilger http://sourceforge.net/projects/ext2resize/ http://www-mddsp.enel.ucalgary.ca/People/adilger/
Hi, On Tue, Oct 30, 2001 at 02:54:47PM +0800, Mark M. Barrios wrote:> just wondering... if i upgrade my kernel + ext3 patch, do i have > to recreate the journal?No. If you have a _really_ old filesystem (created by ext3-0.0.4 or earlier), then you won't be able to mount with the faster data-journaled modes until you update the fs (which you can do at mount time with "mount -o journal=update"), but otherwise the journal format hasn't changed for ages. Cheers, Stephen