Linode Forum Index Linode Forum
Linode Community Forums
 


Ext3 to ext2 or disable kjournald

Click here to go to the original topic

 
       Linode Forum Index -> Linux Tips, Tricks, Tutorials
Author Message
snowhall



Joined: 26 Aug 2009
Posts: 12

Posted: Mon Aug 16, 2010 3:32 am    Post subject: Ext3 to ext2 or disable kjournald  

Just as topic says. How to convert ext3 to ext2 or just disable kjournald process.
I want to reduce Disk I/O
Back to top  
hoopycat



Joined: 30 Aug 2008
Posts: 1294
Location: Rochester, New York

Posted: Mon Aug 16, 2010 7:48 am    Post subject:  

There are two options for this:

1) Mount the filesystem as ext2, and/or use tune2fs to eradicate the journal:

http://batleth.sapienti-sat.org/projects/FAQs/ext3-faq.html

2) Try setting the journaling mode to "writeback," which will only journal the filesystem metadata, not the actual data:

http://www.gentoo.org/doc/en/articles/l-afig-p8.xml#doc_chap4

From a data integrity standpoint, both of these are probably bad ideas. However, if your goal is to write data a little bit faster without much regard for whether or not it will be corrupted after a crash, it might be worth a shot.
Back to top  
jed



Joined: 28 Mar 2009
Posts: 394
Location: New Jersey

Posted: Mon Aug 16, 2010 9:34 am    Post subject: Re: Ext3 to ext2 or disable kjournald  

snowhall wrote: Just as topic says. How to convert ext3 to ext2 or just disable kjournald process.
I want to reduce Dick IO
I really, really wouldn't do this.
Back to top  
obs



Joined: 07 Mar 2010
Posts: 1400
Location: Earth

Posted: Mon Aug 16, 2010 3:08 pm    Post subject:  

Ya, if you have to switch to ext2 to reduce disk IO you have bigger problems else where, find those, fix those. Journaling is a major part of any modern file system.
Back to top  
snowhall



Joined: 26 Aug 2009
Posts: 12

Posted: Mon Aug 23, 2010 6:22 pm    Post subject:  

I see, so better is to keep ext3.
Thanks for suggestions
Back to top  
hybinet



Joined: 02 May 2008
Posts: 1058

Posted: Mon Aug 23, 2010 7:07 pm    Post subject: Re: Ext3 to ext2 or disable kjournald  

snowhall wrote: Dick IO
LOL :P
Back to top  
snowhall



Joined: 26 Aug 2009
Posts: 12

Posted: Tue Aug 24, 2010 3:53 am    Post subject: Re: Ext3 to ext2 or disable kjournald  

hybinet wrote: snowhall wrote: Dick IO
LOL :P

Small mistake :)
Back to top  
 
       Linode Forum Index -> Linux Tips, Tricks, Tutorials
Page 1 of 1