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.
I need some clarification here. Which one is easier to recover from, XFS or JFS?
I'm rebuilding my mythtv box, the filesystem is going to be used for my recorded TV partition. Ext3 is out, last time I used ext3 it was unable to handle the large files well.
So I just want people's opinion on the two. I've read various things from Googling, but I'm still not sure of the benefit of one over the other.
If you're dealing with large files, go with XFS from what I've experienced with it. Recovering from either can probably go both ways, just depends on your expertise and knowledge.
I need some clarification here. Which one is easier to recover from, XFS or JFS?
I only advise XFS if you have any means to guarantee uninterrupted power supply. It's not the most resistant fs when it comes to power outages.
Quote:
I'm rebuilding my mythtv box, the filesystem is going to be used for my recorded TV partition. Ext3 is out, last time I used ext3 it was unable to handle the large files well.
I am curious in which way wasn't it handling the files well. XFS is said to handle "large" files well. But that depends on what do you mean by "large". On the XFS context, a so-called "large file" is a file in the range of terabytes, not just a file with a few gigabytes, like a movie... Most people using XFS because of that reason are simply wrong from that point of view. Not that XFS is a bad fs, but a 3 GB file is not a "large file" in which respect the XFS semantics.
Quote:
So I just want people's opinion on the two. I've read various things from Googling, but I'm still not sure of the benefit of one over the other.
Most threads of this nature will eventually turn into something confussing. By each opinion telling you how good a given fs is you will find a lot of opinions against that same fs. That goes for all imaginable fs's. My bet for now is ext3 when data integrity matters, and ext2 when it doesn't. Looking closely over btrfs and ext4, which for now are unusable for anything serious.
Both are just as easy to recover from and both are very high performance. I would recommend that if you use XFS, make sure to look into the options, there some options which are not safe, such as caching to RAM. I use JFS, mostly because it has lower CPU usage and slightly better performance than XFS.
I am curious in which way wasn't it handling the files well.
Sorry for being accidentally vague. When I had mythtv doing several things to the filesystem (such as recording, streaming, and transcoding) at the same time, I wound up with some slight file corruption when using ext3.
Ext3 wasn't the only bottleneck, but switching to XFS helped.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.