Disable journaling in ext3 file system

We know that EXT3 file system is nothing but EXT2 + a e. This allows faster FSCK process and avoids metadata corruption.

We can disable journaling (i.e convert EXT3 to EXT2) using tune2fs command.

tune2fs -O^has_journal /dev/xdy

Now the journaling is removed from /dev/xdy partition. The file system for this partition is know EXT2 rather than EXT3.

This is normally used when you want to re-size a partition.

If you want to convert it back to EXT3, use the following command:

tune2fs -j /dev/xdy

Note: The partition should be un-mounted before converting the file-systems. For converting EXT2 to EXT3 you can also have the partition re-mounted as read-only too, but the former is safer.

One Response to “Disable journaling in ext3 file system”

  1. 2outgoingon 08 Jan 2022 at 3:56 pm

    3demerit…

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.