[Nottingham] EXT4 no journal

Jim Moore jmthelostpacket at googlemail.com
Tue Oct 13 09:21:19 UTC 2009


Rory Holland wrote:
> I have a netbook wth an SSD, and have heard that running a journaled
> filesystem can severely impact the lifetime (and performance for this
> one!) of the drive.
> However, I know ext4 brings many performance improvements over ext2,
> so I would like to know if there's a way to disable the journal on an
> ext4 partition. Google isn't much help, as there's lots of conflicting
> information.
> I think there's a way using a livecd and the "tune2fs" tool.
>
> Regards,
> James
>
>   
I use JFS with - nointegrity as a mount option. Yes it's more stable 
than ext2 (which is why I use it on flash), but since the flag is an 
inherited one, it won't work on every single box you plug it into unless 
you use an autorun script on the root of the drive which runs the - 
nointegrity at mount time. I've not yet found a way to do this 
successfully. As for ext4 specifically, running it in writeback mode 
while dangerous*, will disable journaling.

*dangerous for flash because it increases write cycles per cell 
exponentially according to the size of the file being written - 
potentially death for a 4GB SSD when you try to write a 600MB ISO to it...

-- 
Are more people violently opposed to wearing fur than leather because it's easier to harass rich women than motorcycle gangs? 




More information about the Nottingham mailing list