SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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.
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.
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.
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.
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........
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.