LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Ext4 Filesystem (https://www.linuxquestions.org/questions/linux-newbie-8/ext4-filesystem-4175574864/)

yendhe 03-14-2016 01:43 PM

Ext4 Filesystem
 
Why ext4 filesystem has on/off options for journaling and not for ext3 filesystem?







Thanks

Keruskerfuerst 03-14-2016 01:50 PM

Every modern filesystem has journal.
If the computer has to be switched off during operation, then the filesystem is inconsistent.

273 03-14-2016 02:02 PM

Probably because ext4 is the file system currently being developed and ext3 is redundant?

hydrurga 03-14-2016 02:22 PM

Why do you think ext3 doesn't have on/off support for journaling?

The COMPAT_HAS_JOURNAL flag is applicable to both ext3 and ext4.

More info on ext3, including its journal feature: https://en.wikipedia.org/wiki/Ext3

hydrurga 03-14-2016 02:49 PM

To add some info:

Code:

sudo tune2fs -O ^has_journal /dev/sdaxx
will turn off journaling for both ext3 and ext4 filesystems.

Code:

sudo tune2fs -O has_journal /dev/sdaxx
will turn it on again.

yendhe 03-16-2016 01:30 PM

Thank you for providing such useful information.


All times are GMT -5. The time now is 01:27 PM.