Making your ext2fs partition journaled
Posted 12 February 2003 - 09:14 AM
To add a journal to your ext2fs and thus practically make it an ext3fs just use the following command:
tune2fs -j /dev/[INSERT PARTITION HERE]
In my case its /dev/hde1
All this does is set up a journal for your filesystem. So, all you need is ext3fs support in your kernel. BUT, here is the beautiful thing: this will still boot as ext2fs! So if you run into a bind and all you have is some floppy or CD to boot off of and it happens to not have ext3fs support, you can still mount the partition as ext2fs. If linux has the support, it picks up on the fact that there is a journal and uses it.
So this simple little command may save you all that time of fscking and you don't have to go and repartition or back up and reformat.
Posted 12 February 2003 - 09:27 AM
Posted 12 February 2003 - 09:28 AM
Ow and welcome to the forums
Posted 12 February 2003 - 10:16 AM
Check this nick -
definition of a journaling file system
This slightly surprised me though:
By the same token, the default Linux system, ext2fs, does not journal at all. That means, a system crash--although infrequent in a Linux environment--can corrupt an entire disk volume.
Posted 12 February 2003 - 12:09 PM
BinRev is hosted by the great people at Lunarpages!