LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-08-2005, 02:04 AM   #1
wrc1944
Member
 
Registered: Aug 2002
Location: Gainesville, Florida
Distribution: Gentoo ~x86 2007.0
Posts: 139

Rep: Reputation: 15
Ext3 & tune2fs tweaking question for ext3 experts


A basic question for the ext3 experts (I'm a 3 year reiserfs user):

Am I correct in thinking that all the tune2fs options can be run on unmounted ext3 / partitions (with a full Linux installation already existing on said partition), as long as you run e2fsck -D after tune2fs, and the result will be no data loss, or any other negative impact?

Besides my Gentoo installations / partitions that I'm presently converting from reiserfs, I have several other Linux distros installed with default ext3 / partitions that I'd like to tweak up a bit with the dir_index, journal_data, and filetype features. Also considering the commit=xxx option, but opinions really vary and contradict each other on that one.

Among many other sources I've looked at in the last few weeks, this Gentoo thread summarizes it up pretty well, but I'd still like some other opinions from another group, if possible.

http://forums.gentoo.org/viewtopic-t-305871.html

So far I've done one of my Gentoo installations with this info, and notice a good improvement over my reiserfs system (same / backed up and copied back to a fresh ext3 tweaked partition). I'm chalking that up to mostly getting rid of my old and fragmented reiserfs, if not the tweaked ext3 itself. The latest discussions are tending towards a consensus that reiserfs (and especially reiser4) does indeed have a fragmentation problem over time, and requires a periodic "tarball / then copy / to new partition" defrag routine.
 
Old 12-09-2005, 11:31 PM   #2
primo
Member
 
Registered: Jun 2005
Posts: 542

Rep: Reputation: 34
I'm no filesystem expert but I guess that ReiserFS problem may be real. Reiser uses every space left in blocks to maximize disk usage and it optimizes performance by trying not to touch too much. The problem is that if you delete data, no defragmentation is done to make it better for many blocks to be arranged in sequential order, so the tar hack comes healthy at times. I'm no big fan of journaling filesystems anyway. They're good for databases though. I never use it on root or home partitions. I just keep with good ol' ext2
 
Old 12-09-2005, 11:45 PM   #3
abakali
Member
 
Registered: Dec 2005
Location: karachi
Distribution: RedHat
Posts: 75

Rep: Reputation: 15
well tell me one thing its better reserfs use for squid cache machine i have 20 gb /dev/hda for root using ext3 and /dev/hdc 40 gb hdd and using ext3 for cache .. can i convert cache /dev/hdc into reserfs ..yes or no ?

Last edited by abakali; 12-09-2005 at 11:50 PM.
 
Old 12-10-2005, 12:25 AM   #4
thewonka
Member
 
Registered: Feb 2005
Location: Cambs UK/San Diego US/Tijuana MX
Distribution: Slackware/Debian!
Posts: 53

Rep: Reputation: 15
i manage some isp's cache servers and i have had no problem with ext3 as the root and/or cache storage fs, and i am talking about HUGE caches. yep it might be a few msecs off compared to others since it works using fragments but nothing i have really noticed.

And common the name just looks coool :P
 
Old 12-10-2005, 01:47 AM   #5
abakali
Member
 
Registered: Dec 2005
Location: karachi
Distribution: RedHat
Posts: 75

Rep: Reputation: 15
mmm

Quote:
Originally Posted by thewonka
i manage some isp's cache servers and i have had no problem with ext3 as the root and/or cache storage fs, and i am talking about HUGE caches. yep it might be a few msecs off compared to others since it works using fragments but nothing i have really noticed.

And common the name just looks coool :P

oh gr8 to see you man .. dude can you send me your squid.conf well i want to see what the cache purge and refresh_patten you using on the large caches servers .
 
Old 12-10-2005, 03:43 AM   #6
wrc1944
Member
 
Registered: Aug 2002
Location: Gainesville, Florida
Distribution: Gentoo ~x86 2007.0
Posts: 139

Original Poster
Rep: Reputation: 15
Primo,
Thanks for the feedback- I went ahead and tuned one of my existing ext3 / partitions with tune2fs, and it worked out fine- no problems, so that answers my question.

abakali- You probably know this, but if you reformat your 40GB machine to reiserfs, and it has data you want to save, it will be destroyed. So, the only way is to back the data up somewhere else, and restore it later after you change files systems.
 
Old 12-10-2005, 05:26 AM   #7
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
I used this on my partitions when I first saw it using a live CD and there was a noticable improvement. Might be of some use, there wasn't any data loss.

http://bbs.archlinux.org/viewtopic.php?t=12865
 
Old 12-10-2005, 05:32 PM   #8
thewonka
Member
 
Registered: Feb 2005
Location: Cambs UK/San Diego US/Tijuana MX
Distribution: Slackware/Debian!
Posts: 53

Rep: Reputation: 15
Quote:
Originally Posted by abakali
oh gr8 to see you man .. dude can you send me your squid.conf well i want to see what the cache purge and refresh_patten you using on the large caches servers .
Sure buddy i will be in house next week or so i will pm you the script ^_^
 
Old 12-11-2005, 07:45 AM   #9
abakali
Member
 
Registered: Dec 2005
Location: karachi
Distribution: RedHat
Posts: 75

Rep: Reputation: 15
thx dude

Quote:
Originally Posted by thewonka
Sure buddy i will be in house next week or so i will pm you the script ^_^
send me script on my mail box
asifbakali@netech.com.pk


 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cramfs and ext3 question byte.chaser Debian 2 07-25-2005 08:47 PM
how to convert ext3 to ntfs? cannot even see ext3 partition parv Linux - Hardware 1 12-31-2004 02:56 PM
ext3 & invalid unicode mfehr Fedora - Installation 1 06-05-2004 02:48 PM
ext3 Filesystem & Dual-Booting? Darkstar274 Linux - Software 1 01-14-2004 04:20 PM
ext3 filesystem question chrisk5527 Linux - General 3 01-04-2004 03:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration