Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

XFS and Ext4 file system which one is really stable and reliable for long run with heavy disk write and read?

  • the system will be used in a place where 24/7 is in service, and every second there is read and write in the disk
  • system need to be 99.95 % uptime for about 1 year run
  • system need to be maximum downtime in year for about 20 hours maximum

Which file-system is the best choice for such challenge? ( i wanted to use Solaris or FreeBSD but for my project i must have to use Ubuntu or ArchLinux or Fedora or CentOS).

But confused with which file system to choose.

share|improve this question
1  
Use the default one provided by the installer, though I strongly believe any other available on the selection menu ought to be good enough, provided you are using a stable release. –  Tshepang Apr 7 '12 at 19:45
2  
Also, look at LVM and using RAID (hardware RAID if you can), it will be needed if you need maximum reliability. –  Renan Apr 7 '12 at 19:50
add comment

5 Answers

up vote 7 down vote accepted

So, the final answer depends on your precise requirements (as usual).

share|improve this answer
1  
Popycock. Ext has been handling concurrent writes quite well since the dawn of Linux. –  psusi Apr 8 '12 at 4:21
    
@psusi, check out the link, it's free. –  poige Apr 8 '12 at 4:26
1  
I have; it's popycock. Two writers is never going to have higher aggregate throughput than one, unless something is dreadfully wrong with your setup. The best case is to not have any lower aggregate throughput. This is something that ext has been pretty good at staying close to for 20 years. That is not to say that XFS is bad at it, just that ext has been doing this just fine since long before xfs was first thought up. –  psusi Apr 8 '12 at 4:48
1  
@psusi, Well, it quite can turn out then that dreadfully wrong is having a RAID. ;-) –  poige Apr 8 '12 at 4:51
    
Not unless there is something very wrong with the raid... a single sequential write is going to give the highest sustained throughput. Multiple writers means more seeking, which means more time spent NOT writing. –  psusi Apr 8 '12 at 23:01
show 1 more comment

The choice of filesystem makes a difference in certain cases. You should check if your particular use cases are affected by filesystem choice.

For the three very generic bullet points you list, it makes no difference whether you use ext4 or xfs.

If you had a requirement where you wanted to use files larger than 16 TB, you will have to use XFS. (ext 4 will soon have >16TB but not yet)

share|improve this answer
add comment

ZFS is the only choice for reliability.

Its one drawback is that it doesn't like RAID controllers, as it handles its own redundancy, so you have to use JBOD which may disable caching on some RAID controllers (example: 3ware), or single drive volumes.

EXT4 has a 16 TiB limit, unless running on a 64 bit Linux system, and the EXT4 volume was created with the "64bit" feature flag which enlarges the inodes.

share|improve this answer
4  
Ext4 is very stable. Your first assertion seems extremely opinion-based, which is not welcome on Stack Exchange. Speaking of which, welcome to Stack Exchange! –  strugee Oct 12 '13 at 3:35
add comment

Ext4 is the best filesystem.Ext4 is better at performance,stabilization,flexibility than all other filesystem.

share|improve this answer
add comment

EXT4 can be [still] VERY unstable and buggy, it's very new. When compared to XFS, which is very stable and proven over years, it has not much to offer. PS I've experienced bugs with EXT4 myself. It either frozen the whole system during copy operations, or it just lost my data.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.