Skip to contentSkip to conversation

Default size of journal?

DISCUSSION Jeff Layton 2 participants 4 messages Jan 10, 2010 – Jan 11, 2010

lore
Share & tools
lore
#0 lore raw

Good afternoon!

I'm sorry if this is a repeat, but I was wondering what the default journal size is for ext4 when it's built on a single partition? Or does it vary in size as needed?

TIA!

Jeff

#1 lore raw
Quoted 3 lines · Jeff Layton

I'm sorry if this is a repeat, but I was wondering what the default journal size is for ext4 when it's built on a single partition? Or does it vary in size as needed?

It varies with the size of the filesystem. I believe the largest default size is 128MB, but I don't know offhand what the cutoff size is.

Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.

#2 lore raw
Quoted 6 lines · Andreas Dilger
Quoted 3 lines · Jeff Layton

I'm sorry if this is a repeat, but I was wondering what the default journal size is for ext4 when it's built on a single partition? Or does it vary in size as needed?

It varies with the size of the filesystem. I believe the largest default size is 128MB, but I don't know offhand what the cutoff size is.

Is there a simple formula for how the journal size varies with the file system size? Perhaps linear?

Thanks!

Jeff

#3 lore raw
Quoted 10 lines · Jeff Layton
Quoted 6 lines · Andreas Dilger
Quoted 3 lines · Jeff Layton

I'm sorry if this is a repeat, but I was wondering what the default journal size is for ext4 when it's built on a single partition? Or does it vary in size as needed?

It varies with the size of the filesystem. I believe the largest default size is 128MB, but I don't know offhand what the cutoff size is.

Is there a simple formula for how the journal size varies with the file system size? Perhaps linear?

Disregard - Eric answered it for me (didn't finish all my email before responding). Apologies.

Jeff