LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-06-2004, 06:15 AM   #1
Marius2
Member
 
Registered: Jan 2004
Location: Munich
Distribution: SuSE 9.2, 10.2, 10.3, knoppix
Posts: 276

Rep: Reputation: 31
Which fs for a server?


We are using Reiser fs under SuSE 9.0 and had more than once trouble with it after sudden power losses, because it insisted to complain about repairing faulty partitions first with reiserfsck. We believe a server should come up again no matter how it came down; so which fs should we use? JFS? XFS? Ext3?


Best regards and thanks in advance
 
Old 02-06-2004, 07:02 AM   #2
snacky
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 286

Rep: Reputation: 30
reiserfs is for performance, not stability. Your best choice will depend on what kind of disk accesses you expect, and how important they are to overall performance.

You might want to read http://fsbench.netnation.com/
 
Old 02-06-2004, 07:32 AM   #3
Marius2
Member
 
Registered: Jan 2004
Location: Munich
Distribution: SuSE 9.2, 10.2, 10.3, knoppix
Posts: 276

Original Poster
Rep: Reputation: 31
Speed is not that much important, but it's vital the system will alway
come up again and not bother us with manual repair runs which can
only be started locally (as the server will be in a secure area and
mostly administrated remotely). BTW thanks for the URL
 
Old 02-06-2004, 07:38 AM   #4
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
If you are having power problems, you might want to invest in a good UPS. That way the server can stay on for the short power drops and shut down more gracefully if needed.
 
Old 02-06-2004, 07:51 AM   #5
Marius2
Member
 
Registered: Jan 2004
Location: Munich
Distribution: SuSE 9.2, 10.2, 10.3, knoppix
Posts: 276

Original Poster
Rep: Reputation: 31
Oh it already has a UPS; it's just that we believe that "what can
go wrong usually goes wrong" is absolutely true. In other words:
Why use a component which may fail if you can use one which may
not at the same expense? If there is one. Oh btw I'm not only asking
this because of this new server of my company; I experienced this
trouble with reiser at first at home on my private machines, where
I don't have an UPS.
 
Old 02-06-2004, 08:39 AM   #6
future leet
LQ Newbie
 
Registered: Feb 2004
Posts: 15

Rep: Reputation: 0
You want a journalling filesystem. No question about it.

A jfs will only ever make atomic changes to the file hierarchy, meaning fsck will never need to be ran. It's still possible to loose individual files, but not big chunks of the fs.

xfs might be a good choice, but there are others.
 
Old 02-06-2004, 08:41 AM   #7
future leet
LQ Newbie
 
Registered: Feb 2004
Posts: 15

Rep: Reputation: 0
There's a short list here
http://www.everything2.com/index.pl?...ing+filesystem
 
Old 02-06-2004, 10:48 AM   #8
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Quote:
Originally posted by future leet
You want a journalling filesystem. No question about it.
He's already using ReiserFS which is a journaling file system. It shouldn't take too long to replay the logs in the event of a system crash.

Quote:
Originally posted by Marius2
We believe a server should come up again no matter how it came down;
Does the system still come up at all or does it just want you to perform the extra step?
 
Old 02-06-2004, 10:56 AM   #9
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
xfs looks like it might be used for servers, (in not then jfs), dont even try ext2/3 it stinks!, if u had problems in rieserfs (somthing wich i dont) then dont use ext fs cuse when i used it for no reason i got curupt files all over teh place, it is a total mess, so stick to FS's that wre acutaly made for journaling in the first palce

Last edited by SciYro; 02-09-2004 at 03:08 AM.
 
Old 02-06-2004, 11:34 AM   #10
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Note that there is a difference between ext2 and ext3 filesystem, specifically the addition of journalling in the latter. In addition, ReiserFS is "made for journaling" as SciYro put it. It's one of the oldest journaling file systems in Linux.
 
Old 02-08-2004, 11:45 PM   #11
Present
Member
 
Registered: Jan 2004
Distribution: suse/slack/gentoo/lfs (not-in-that-order)
Posts: 281

Rep: Reputation: 30
SciYro, did you mean "suited" for servers? i was unaware of possible litigation.
 
Old 02-09-2004, 10:38 AM   #12
Marius2
Member
 
Registered: Jan 2004
Location: Munich
Distribution: SuSE 9.2, 10.2, 10.3, knoppix
Posts: 276

Original Poster
Rep: Reputation: 31
Quote:
Originally posted by stickman
He's already using ReiserFS which is a journaling file system. It shouldn't take too long to replay the logs in the event of a system crash.
It took more than 2h two times; I had not only to rebuild the tree, there
is another option in reiserfsck (don't recall which) which I had to run on
two partitions; furthermore I additionally had to run SuSE repair tools
from the dvd, all in a very unsystematic mixture. BTW in both cases
var and tmp were damaged, even lost folders.

Does the system still come up at all or does it just want you to perform the extra step?
It comes up but not to the normal login but to this, say, repair console;
no telnet there, so no remote administration - which means I'd have to
board a plane if it happened in the field (server is *pretty* remote).
 
Old 02-10-2004, 11:43 AM   #13
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Hmmm... I happen to have a laptop with SuSE and ReiserFS, and I don't ever recall that happening to me. It's got a flaky sensor so it frequently drops out on me, but on reboot it just replays the journal. I'll have to dig around and see if I can find something...
 
Old 02-10-2004, 03:03 PM   #14
enigmasoldier
Member
 
Registered: Jul 2003
Location: Florence, Ky
Distribution: CentOS 3.3-4, OpenBSD 3.3, Fedora Core 4, Ubuntu, Novell Open Enterprise Server
Posts: 213

Rep: Reputation: 30
Take a look into Reiser4 when it is stable and production ready, I'll probably switch a few of my mail servers over
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How the DNS-server is connected to work of a web-server and a mail-server? ukrainet Linux - Newbie 2 01-10-2005 10:18 PM
Relay Server<-> GatewayServer<->filtering server: PostFix, amavis,spamassassin, cyrus admore Linux - General 0 11-02-2004 09:46 AM
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 07:21 AM
Unable to access my ssh server and ftp server from the Internet, but smtp works foxone Linux - Networking 1 05-28-2004 06:17 PM
Linux app-server to server StarOffice to Windows Clients: Need advice biosx Linux - Networking 3 08-14-2002 11:14 AM


All times are GMT -5. The time now is 04:38 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration