LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-01-2006, 03:54 AM   #1
hvidgaard
LQ Newbie
 
Registered: Mar 2006
Location: Denmark
Distribution: Debian "Sarge"
Posts: 11

Rep: Reputation: 0
formatted space difference: reiser 3.6 vs 4 vs ext3


I am seeking an explanation to why I am experiencing a massive 5% difference in available space between reiser 3.6 and 4 (and ext3 for that matter)

Debian Sarge with kernel 2.6.15.4 with reiser4 patch from namesys.com
4x250gb disks in raid5 128kb block size with a total of approx. 750GB or 699GiB

Size reported with df -h

Code:
reiserfs 3.6	699gb
ext3		683gb (formatted with -m 0 -r stride=32)
reiserfs 4	663gb
from that I would not hesitate to choose ReiserFS 3.6 for my file server, but I would love to use ReiserFS 4 to get the performance.

Last edited by hvidgaard; 03-01-2006 at 06:58 AM.
 
Old 03-01-2006, 09:30 PM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
After reading bazillon posts about corrupted Reiser and having some unpleasant experience myself I wouldn't recommend it to anyone. XFS - if performance is paramount (must have an UPS), ext3 - good strong filesystem for everybody else.

http://linuxgazette.net/122/piszcz.html
 
Old 03-02-2006, 07:15 AM   #3
hvidgaard
LQ Newbie
 
Registered: Mar 2006
Location: Denmark
Distribution: Debian "Sarge"
Posts: 11

Original Poster
Rep: Reputation: 0
Hmm... I have mostly read about ext3 handling crashes badly and XFS becoming corrupted :S But would still like to know why ext3 is missing 16gb formatted space, that can't be right.

As it is now, Reiserfs 3.6 use the full space while v4 and ext3 does not!

And I do not trust that test 100%, it is made with a 500Mhz P3 and the best filesystems have a fairly large cpu overhead AFAIK.

Last edited by hvidgaard; 03-02-2006 at 07:18 AM.
 
Old 03-02-2006, 08:18 AM   #4
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
I do not remember reading XFS becoming corrupted, quite many are complaining it loses data changes made within last (up to 10) minutes in case of sudden power loss. Large CPU overhead is not a plus in my book. In other words, if a filesystem handling causes large overhead it cannot be best. Your lost 16 GB (gb is gram-bit) is probably space allocated to journal data. ext3 with sync transfers turned on is most reliable filesystem out there AFAIK - slower though than async (Linux default). Formatting with -m 0 will lead to fragmentation, but I think you know it.
The choice is yours of course. BTW, Reiser 4 does not support extended attributes, another minus.
 
Old 03-02-2006, 10:37 AM   #5
hvidgaard
LQ Newbie
 
Registered: Mar 2006
Location: Denmark
Distribution: Debian "Sarge"
Posts: 11

Original Poster
Rep: Reputation: 0
I only tried -m 0 to rule out that it could be the source of error But still, 16GB journal data, thats a hell lot of data

Anyway I did discard XFS due to the fact that I do not have an UPS, but then again, my server is mostly fileserver (that uses /home, all others are using ext3) and not much are written to it. Will it be safe to assume that the data have actually been written after, lets say 5-10 minutes?
 
Old 03-02-2006, 11:26 AM   #6
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
I believe so, and it certainly is written when partition is unmounted as it happens during normal shutdown. In general it seems everyone has his/her own opinion on filesystem choice and what I believe is not necessarily best for you. I just wanted to bring your attention to the fact ext3 and XFS both have developed well lately, in particular ext3 has some killer improvements.
 
Old 03-02-2006, 04:26 PM   #7
hvidgaard
LQ Newbie
 
Registered: Mar 2006
Location: Denmark
Distribution: Debian "Sarge"
Posts: 11

Original Poster
Rep: Reputation: 0
Then I will try and make some tests to see if XFS and I will get along Does XFS/ext3 support on-the-fly compression of the content? (I believe that ReiserFS do, at least for v4)
 
Old 03-02-2006, 06:10 PM   #8
primo
Member
 
Registered: Jun 2005
Posts: 542

Rep: Reputation: 34
Check how much percentage (usually 5%) each filesystem allocates to root to avoid filling it up accidentally.
 
Old 03-02-2006, 06:29 PM   #9
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Useful reading: Filesystem comparison
Next have a look at man chattr. This will give you synopsis what extended attributes are supported.
 
Old 03-03-2006, 03:24 AM   #10
hvidgaard
LQ Newbie
 
Registered: Mar 2006
Location: Denmark
Distribution: Debian "Sarge"
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by primo
Check how much percentage (usually 5%) each filesystem allocates to root to avoid filling it up accidentally.
That have been taken into account but it was not the case here

btw Emerson, XFS shows 699GB formatted space as well
 
  


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
reiser fs vs ext3 perfect_circle Slackware 32 02-20-2005 04:26 PM
ext2, ext3 or reiser FS dna9 Linux - Newbie 9 12-21-2004 03:05 AM
Filesystems: Reiser vs. Ext3 CanadianPenguin Linux - Hardware 2 01-27-2004 10:46 AM
reiser is way faster than ext3 illtbagu Linux - Hardware 17 12-20-2003 02:42 PM
reiser vs. ext3 chrismiceli Linux - General 4 07-09-2003 04:11 PM

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

All times are GMT -5. The time now is 04:08 AM.

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