Reiserfs and ext3 - what really are the differences?
Linux - GeneralThis 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
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.
Reiserfs and ext3 - what really are the differences?
I am wondering about moving to reiserfs, at first I had no major reason, ext3 has served me well, but nevertheless I began investigating...
Basically, what it seemed to come down to is:
Ext3 is tried and true, solid and reliable, but usually slower than reiserfs, especially with lots of small files, and reiserfs is less robust. Reiserfs also has less overhead (in terms of space, ext3 seems quite wasteful).
But what I didn't find, were any reasons for why (or even explanations of how) reiserfs is less robust, so is it really?
I also found some people saying reiserfs is no good on laptops, somebody said it spins the disk all the time, somebody else that it messes up suspending.
One other thing which has been nagging at the back of my mind is the regular fsck which occurs on ext3 filesystems, but not on reiserfs, what's the reason for the difference, and is it this that somehow makes reiserfs less robust? Also, if the filesystem is marked clean, and is a journaled system, what is the purpose of the periodic fsck?
I hope there's some fs guru around who can explain some of these interesting points to me...
I am not a guru by far so I do not know the answer to most of your question. But if you would like to stop the automatic check after x number of boots you can do the following as root.
Quote:
tune2fs -i 0 /dev/hdxx
hdxx being the partition you wish to disable the check for
That check does not bother me on desktops and servers as the only time I reboot is when I do a kernel update. But on my laptop that check about drove me insane until I found the above. What really bugged me was that on one partition it checked after being mounted 25 times, on another 27 times, and yet on another 28 times. It would have been much more acceptable on the laptop if it checked each partition on the same number of mounts so I wouldn't of had to wait on so many different boot ups. Anyway the above command stops the checks and ends the annoyance :-).
Now I will watch for the FS guru to answer the rest of your post as I would like to know too.
Thanks, although I did know about that. I agree, on laptops it's very, very annoying.
Of course, it does beg the question, is it a problem to disable this check, what is it actually checking for?
Without knowing what the check is explicitly for, I wrote a script to effectively move the scheduled check to shutdown (which you may find useful on your laptop). I wrote it primarily for Ubuntu, but it should work on whatever you want, it does require you to be using GDM as your graphical login though.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.