You are not logged in.

#1 2009-07-13 01:27:11

Neo_The_User
Member
From: The Matrix
Registered: 2009-03-30
Posts: 96
Website

Completely remove journal on ext4?

I would like to completely remove the journal from ext4. Not move it somewhere else, not temporarily disabled it, I want it 100% gone with the  ext4 file system. I have searched like crazy and found nothing and I read man pages of e2fsck, mke2fs, and others but I can't find a way to REMOVE the journal OFF the ext4 filesystem, that way I get a slight performance boost.

OR....

If somebody could inform me if the ext2 filesystem is generally quicker than the ext4 file system. That way I can just use ext2 instead of ext4 meaning I wouldn't have to remove the journal since ext2 doesn't have a journal.

I noticed a very slight performance boost by doing my own guide: http://neo-technical.wikispaces.com/fedora-journal but nothing special.

Any help would be greatly appreciated and I will give you cookies! smile


AMD Phenom II X4 955 with Optimized Kernel
5 GB DDR2 RAM
320 GB SATA Hard Drive + 160 GB SATA Hard Drive
ATi RadeonHD 5830 GIGABYTE

Offline

#2 2009-07-13 01:58:49

Wintervenom
Member
Registered: 2008-08-20
Posts: 1,011

Re: Completely remove journal on ext4?

I do not believe you can yet remove the journal in an Ext4 file system.

Offline

#3 2009-07-13 02:36:23

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,356

Re: Completely remove journal on ext4?

/me wonders why you'd use ext4 if you don't want a journal? If you're dead set against using a journal ext2 or some other FS should be your choice, I believe.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#4 2009-07-13 03:17:34

Neo_The_User
Member
From: The Matrix
Registered: 2009-03-30
Posts: 96
Website

Re: Completely remove journal on ext4?

I'm all about speed and the Journal has the biggest impact (besides the hard drive itself) so yeah...


AMD Phenom II X4 955 with Optimized Kernel
5 GB DDR2 RAM
320 GB SATA Hard Drive + 160 GB SATA Hard Drive
ATi RadeonHD 5830 GIGABYTE

Offline

#5 2009-07-13 03:35:07

rsambuca
Member
From: Calgary, Canada
Registered: 2008-07-21
Posts: 143

Re: Completely remove journal on ext4?

The reports have been that ext4 without a journal is faster (and if I recall, significantly faster) than ext3 during the first tests by one of the developers.  I still don't know exactly what you need to put in your fstab to disable the journal though.  You might want to look into the data-writeback feature to disable it.

Offline

#6 2009-07-13 11:12:32

fumbles
Member
Registered: 2006-12-22
Posts: 246

Re: Completely remove journal on ext4?

mkfs -t ext4 -v /dev/sdXY -O ^has_journal,extent

Tried this?

Last edited by fumbles (2009-07-13 11:12:50)

Offline

#7 2009-07-14 12:22:22

SpeedVin
Member
From: Poland
Registered: 2009-04-29
Posts: 955

Re: Completely remove journal on ext4?

Neo_The_User wrote:

I would like to completely remove the journal from ext4. Not move it somewhere else, not temporarily disabled it, I want it 100% gone with the  ext4 file system. I have searched like crazy and found nothing and I read man pages of e2fsck, mke2fs, and others but I can't find a way to REMOVE the journal OFF the ext4 filesystem, that way I get a slight performance boost.

OR....

If somebody could inform me if the ext2 filesystem is generally quicker than the ext4 file system. That way I can just use ext2 instead of ext4 meaning I wouldn't have to remove the journal since ext2 doesn't have a journal.

I noticed a very slight performance boost by doing my own guide: http://neo-technical.wikispaces.com/fedora-journal but nothing special.

Any help would be greatly appreciated and I will give you cookies! smile

Hello I have question about this article I use the data=writeback parameter , but I don't tunefs my filesystem that will gain some speed?
And i will don't lost my data from my root partition?
Edit
I run this command from article and I see only:
tune2fs 1.41.8 (11-July-2009)
That's stange thank you for help smile

Last edited by SpeedVin (2009-07-14 15:44:43)


Shell Scripter | C/C++/Python/Java Coder | ZSH

Offline

#8 2009-07-16 03:53:33

Neo_The_User
Member
From: The Matrix
Registered: 2009-03-30
Posts: 96
Website

Re: Completely remove journal on ext4?

@SpeedVin, you did it right. It's not supposed to say anything. Thanks for following my guide! smile

edit: @fumbles: i already have the partition made. can i remove it on the fly?

Last edited by Neo_The_User (2009-07-16 03:54:41)


AMD Phenom II X4 955 with Optimized Kernel
5 GB DDR2 RAM
320 GB SATA Hard Drive + 160 GB SATA Hard Drive
ATi RadeonHD 5830 GIGABYTE

Offline

#9 2009-07-16 07:32:41

SpeedVin
Member
From: Poland
Registered: 2009-04-29
Posts: 955

Re: Completely remove journal on ext4?

Neo_The_User wrote:

@SpeedVin Thanks for following my guide! smile

I have to thank you for tht guide wink


Shell Scripter | C/C++/Python/Java Coder | ZSH

Offline

Board footer

Powered by FluxBB