Skip to contentSkip to conversation

external journal an data= option

DISCUSSION Wolfgang Walter 2 participants 2 messages Nov 21, 2016 – Nov 24, 2016

lore
Share & tools
lore
#0 lore raw

Hello,

while testing ext4 with an external journal I found the following problem with longterm kernel 4.4.30:

I could mount the filesystem without specifying the option data=....

It seems that it is then mounted with data=ordered and indeed this is what

cat /proc/mounts

shows.

But I could not change any option afterwards with -o remount. It always said that data=ordered is not valid with an external journal.

If I mount with explicitly stating data=writeback or data=journal remount works fine.

So It seems that ext4 does forbid (at least in 4.4.30) data=ordered as an option but uses it implicitly as default mode even with an external journal.

Regards,

Signature · 3 lines
Wolfgang Walter
Studentenwerk München
Anstalt des öffentlichen Rechts
#1 lore raw

Hi,

Quoted 10 lines · Wolfgang Walter

while testing ext4 with an external journal I found the following problem with longterm kernel 4.4.30:

I could mount the filesystem without specifying the option data=....

It seems that it is then mounted with data=ordered and indeed this is what

cat /proc/mounts

shows.

Yes, that is correct.

Quoted 8 lines

But I could not change any option afterwards with -o remount. It always said that data=ordered is not valid with an external journal.

If I mount with explicitly stating data=writeback or data=journal remount works fine.

So It seems that ext4 does forbid (at least in 4.4.30) data=ordered as an option but uses it implicitly as default mode even with an external journal.

Can you show the exact error message and the set of mount options you use? I'm not aware we would refuse data=ordered mode due to external journal...

Honza

Signature · 2 lines
Jan Kara <[email protected]>
SUSE Labs, CR