|
Linux File System revisitedYou probably use a couple of file systems and you rely on them. Since the Linux kernel is a very easy to deploy test platform you will find dozens of file systems in the vanilla kernel source from kernel.org. In production environments you will often encounter Ext2/Ext3/Ext4, XFS and JFS. Recently BTRFS has been declared stable by Oracle® and enters use on production servers. So, which file system would you use?
The Ext2/Ext3/Ext4 family follows a conservative design and features certain backward compatibilities and upgrade paths. Very few people realise that Ext4 is a temporary solution that addresses shortcomings of Ext3 and bridges the gap until BTRFS is stable and widely available in GNU/Linux distributions. Ext4 works well for most workloads and storage scenarios. If you face the problem of storing lots of data or big data you should consider XFS. The XFS development team has fixed some performance issues with metadata changes. Beginning with the Linux 3.x kernel XFS is really a very good choice, even for desktop systems (we're running XFS on laptops, too). Selecting a good file system can be difficult (not as difficult as writing one). If you go through a selection, make sure you are comfortable with the tools creating and maintaining the file system. When things go wrong it's always nice to know what to do and what not to do.
|