LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   ext4 journal, question about levels (http://www.linuxquestions.org/questions/linux-hardware-18/ext4-journal-question-about-levels-830300/)

Mr. Alex 09-04-2010 05:39 AM

ext4 journal, question about levels
 
There are 3 of them:
data=journal
data=ordered
data=writeback

Do I understand it correct - "writeback" provides best performance and you can lose data easily. "Journal" provides worst performance and best data protection. "Ordered" is something between them, average.

AND:
To mount ext4 is fstab in "journal" mode should I save the line as
Code:

/dev/sda2  /      ext4  defaults,data=journal  0  1
?
Do I need "defaults" here?

amani 09-04-2010 10:58 AM

you should change that with tune2fs

not in fstab

defaults are needed unless you want to change them

see man mount

1 1

salasi 09-05-2010 01:05 PM

This is about ext3, but it should clarify your question.


All times are GMT -5. The time now is 10:28 AM.