LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-15-2004, 09:56 AM   #1
Carpo
Member
 
Registered: Aug 2003
Location: Somewhere
Distribution: Gentoo (for now)
Posts: 364

Rep: Reputation: 30
WHich is the best FS to use ?


which is best ?

some say ext2 some say ext3 some say resier - seeing as i am still fairly new to linux i am wondering just which is best?
 
Old 05-15-2004, 10:17 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
ext2 isn't journaled so I would give that a miss for a start. Between ext3 and reiser I would probably go with reiser as I find it a bit quicker.
 
Old 05-15-2004, 10:28 AM   #3
Carpo
Member
 
Registered: Aug 2003
Location: Somewhere
Distribution: Gentoo (for now)
Posts: 364

Original Poster
Rep: Reputation: 30
do i need anything special installed for it to run - like diff kernel or anything?

and what command(s) do i need to know to format a drive to use resier ?
 
Old 05-15-2004, 10:36 AM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
The default slack kernel as with most linux distros have reiserfs compiled in - just make sure you do the same if you recompile the kernel. To format a drive you can use mkfs:
man mkfs
 
Old 05-15-2004, 10:41 AM   #5
Carpo
Member
 
Registered: Aug 2003
Location: Somewhere
Distribution: Gentoo (for now)
Posts: 364

Original Poster
Rep: Reputation: 30
thanks for your help
 
Old 05-15-2004, 12:18 PM   #6
tigerflag
Member
 
Registered: Aug 2002
Location: Phoenix, AZ
Distribution: PCLinuxOS 2012.08
Posts: 430

Rep: Reputation: 30
I think it might have been Tom's Hardware Guide that recently had an extensive comparison of file systems. The "best" really depends on your intended use of the system. For most things Ext2 was fastest, but that's because it isn't journalled. You can lost stuff in a crash and it will take forever to reboot from a crash.

Reiser was overall excellent. If you're going to be doing a lot of kernel compiling and working with large files like that, or moving entire disks of music files a lot, then XFS or JFS is faster than Reiser.

I wish I could find that article...

AHA! Found it!!!

http://209.81.41.149/~jpiszcz/index.html

HTH,
Siri Amrit

Last edited by tigerflag; 05-15-2004 at 12:26 PM.
 
Old 05-16-2004, 07:38 AM   #7
Carpo
Member
 
Registered: Aug 2003
Location: Somewhere
Distribution: Gentoo (for now)
Posts: 364

Original Poster
Rep: Reputation: 30
was thinking of using it for the ftp/web drive

i will have a read of that artical and decide

looks like its reiser for me atm then

Last edited by Carpo; 05-16-2004 at 08:10 AM.
 
Old 05-17-2004, 03:48 AM   #8
bashrc2
Member
 
Registered: Feb 2004
Distribution: slackware 9.1
Posts: 106

Rep: Reputation: 15
how can you use xfs or jfs???
slack installation only showed me 3 options to choose. ext2 ext3 reiserfs
 
Old 05-17-2004, 12:11 PM   #9
Carpo
Member
 
Registered: Aug 2003
Location: Somewhere
Distribution: Gentoo (for now)
Posts: 364

Original Poster
Rep: Reputation: 30
slack comes with a diff kernel for xfs which i think is on the install dics somewhere - also i compiled the 2.6.6 kerenl and found that it has support for those files systems already in there.
 
Old 05-17-2004, 04:55 PM   #10
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,839

Rep: Reputation: 242Reputation: 242Reputation: 242
Just a quick warning regarding ext3.

Ext3 is a reliable and robust file system in most situation. But it has crashed my machine a number of times, when I copied huge files from an ext3 partition to another partition of arbitrary file system. It was even worse, when I copied huge files from somewhere else *to* ext3.

This problem was the reason that I started to experiment with file systems. I haven't really done benchmarks, because I was interested in reliability, much more than in speed; however, some file systems seem to be noticeably faster than other.

So here are my (personal!) observations:


- for small partitions, like /boot, ext3 is quite right.
- for big partitions with lots of read/write traffic on intermediately sized files ReiserFS is fast and reliable. I've never had a data loss in five years or so, apart from hardware crashes, on ReiserFS partitions.
- ReiserFS and ext3 are probably the best supported file systems in Linux. There are tools to repair corrupted file systems, and to increase or shrink file systems. While similar tools are availalbe for other file systems, some of them haven't been ported to Linux, at all, others are not as comfortable as one might hope.
- For backup partitions that you want to copy huge archive files to (using tar, eg), XFS has proved to be very reliable and fast in my environment. After reformatting my 40GB ext3 backup partion with XFS, the crashes mentioned above were gone --- even when copying from ext3 file systems to this XFS partition. I've also checked ReiserFS, but for this particular task, XFS seemed to be faster. ReiserFS used some more CPU, also.
- I haven't tried JFS myself, but in a German Linux magazine it came out as the overall winner among the most important file systems. It is apparently one of the fastest file systems in all operations, no matter if you want to do image processing or software development. So it might be worth a look.
- This said, I made these observations on a SuSE box, and it might well be different for Slackware. SuSE prefers ReiserFS, and the ext3 support is probably not regarded equally important.

My conclusion:
- XFS for writing big files, like backup partitions where you put your tar
- ext3 for /boot, and maybe smaller partitions
- ReiserFS for everything else.
- JFS might be worth a closer look.

HTH, best wishes

gargamel
 
Old 05-17-2004, 06:35 PM   #11
ProtoformX
Member
 
Registered: Feb 2004
Location: Canada
Distribution: LFS SVN
Posts: 334

Rep: Reputation: 34
I use ext2 for "/" but anything else like /var /usr /home or anyplace that files are wrttien alot I use resier FS
 
Old 05-18-2004, 03:55 PM   #12
luna
LQ Newbie
 
Registered: Mar 2003
Location: Finland
Distribution: Slackware
Posts: 28

Rep: Reputation: 15
XFS is really the best filesystem. I have had problems with both ext2 and ext3 and i don't consider ReiserFS stable enough. I have been running XFS for years without any problem and it is really fast compared to ext3 in many situations.

Anyway, ext3 may be the best choice for a n00b. If you choose to use XFS you need to use a different kernel from the install cd. After the installation you need to either install the xfs-kernel modules from the /extra folder or compile your own XFS kernel.
 
Old 05-18-2004, 03:59 PM   #13
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
Never had any problems with Ext3 but I may test out RFS in my next box. *shrug*
 
Old 05-18-2004, 05:45 PM   #14
Spasmolytic
Member
 
Registered: Sep 2003
Location: Chicago, IL
Distribution: Slackware 10
Posts: 72

Rep: Reputation: 15
If you're lazy and use Partition Magic to handle your partitions then ReiserFS might give you problems... For some reason it didn't detect ReiserFS partitions correctly and so I use ext3. I haven't taken the time to thoroughly research this there might be a fix for this, or you could just take the time to learn to use one of linux's disk manager utilities.
 
Old 05-18-2004, 07:13 PM   #15
thegeekster
Member
 
Registered: Dec 2003
Location: USA (Pacific coast)
Distribution: Vector 5.8-SOHO, FreeBSD 6.2
Posts: 513

Rep: Reputation: 34
Spasmolytic:
The reason for PM giving problems with ReiserFS is because it uses an earlier version of ReiserFS, which is not entirely compatible with the current version Slackware uses................

I use ReiserFS for my Slack filesystem, but for my backup and server, I've been using Ext3................The main reason for this is you cannot undelete files in Reiser, but you can undelete in Ext3.................for my small boot partition (I use a separate parition for /boot), I use Ext2 because it is so small and I didn't want to have any metadata from the journal taking up half the space...........I haven't investigated the other two, JFS and XFS, so I can't comment on them........
 
  


Reply



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



LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11: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
Open Source Consulting | Domain Registration