[Translated] 20151223 What' s the Best File System for My Linux Install.md

This commit is contained in:
icecoobe 2016-01-14 09:56:50 +08:00
parent 89ea61bf5a
commit 99e9065073
2 changed files with 96 additions and 98 deletions

View File

@ -1,98 +0,0 @@
Translating by icecoobe.
Whats the Best File System for My Linux Install?
================================================================================
![](https://www.maketecheasier.com/assets/uploads/2015/05/file-systems-feature-image.jpg)
File systems: theyre not the most exciting things in the world, but important nonetheless. In this article well go over the popular choices for file systems on Linux what theyre about, what they can do, and who theyre for.
### Ext4 ###
![file-systems-ext4](https://www.maketecheasier.com/assets/uploads/2015/05/file-systems-ext4.png)
If youve ever installed Linux before, chances are youve seen the “Ext4” during installation. Theres a good reason for that: its the file system of choice for just about every Linux distribution available right now. Sure, there are some that choose other options, but theres no denying that Extended 4 is the file system of choice for almost all Linux users.
#### What can it do? ####
Extended 4 has all of the goodness that youve come to expect from past file system iterations (Ext2/Ext3) but with enhancements. Theres a lot to dig into, but here are the best parts of what Ext4 can do for you:
- file system journaling
- journal checksums
- multi-block file allocation
- backwards compatibility support for Extended 2 and 3
- persistent pre-allocation of free space
- improved file system checking (over previous versions)
- and of course, support for larger files
#### Who is it for? ####
Extended 4 is for those looking for a super-stable foundation to build upon, or for those looking for something that just works. This file system wont snapshot your system; it doesnt even have the greatest SSD support, but If your needs arent too extravagant, youll get along with it just fine.
### BtrFS ###
![file-systems-btrFS](https://www.maketecheasier.com/assets/uploads/2015/05/file-systems-btrFS-e1450065697580.png)
The B-tree file system (also known as butterFS) is a file system for Linux developed by Oracle. Its a new file system and is in heavy development stages. The Linux community considers it unstable to use for some. The core principle of BtrFS is based around the principle of copy-on-write. **Copy on write** basically means that the system has one single copy of a bit of data before the data has been written. When the data has been written, a copy of it is made.
#### What can it do? ####
Besides supporting copy-on-write, BtrFS can do many other things so many things, in fact, that itd take forever to list everything. Here are the most notable features: The file system supports read-only snapshots, file cloning, subvolumes, transparent compression, offline file system check, in-place conversion from ext3 and 4 to Btrfs, online defragmentation, anew has support for RAID 0, RAID 1, RAID 5, RAID 6 and RAID 10.
#### Who is it for? ####
The developers of BtrFS have promised that this file system is the next-gen replacement for other file systems out there. That much is true, though it certainly is a work in progress. There are many killer features for advanced users and basic users alike (including great performance on SSDs). This file system is for those looking to get a little bit more out of their file system and who want to try the copy-on-write way of doing things.
### XFS ###
![file-systems-xfs](https://www.maketecheasier.com/assets/uploads/2015/05/file-systems-xfs.jpg)
Developed and created by Silicon Graphics, XFS is a high-end file system that specializes in speed and performance. XFS does extremely well when it comes to parallel input and output because of its focus on performance. The XFS file system can handle massive amounts of data, so much in fact that some users of XFS have close to 300+ terabytes of data.
#### What can it do? ####
XFS is a well-tested data storage file system created for high performance operations. Its features include:
- striped allocation of RAID arrays
- file system journaling
- variable block sizes
- direct I/O
- guaranteed-rate I/O
- snapshots
- online defragmentation
- online resizing
#### Who is it for? ####
XFS is for those looking for a rock-solid file solution. The file system has been around since 1993 and has only gotten better and better with time. If you have a home server and youre perplexed on where you should go with storage, consider XFS. A lot of the features the file system comes with (like snapshots) could aid in your file storage system. Its not just for servers, though. If youre a more advanced user and youre interested in a lot of what was promised in BtrFS, check out XFS. It does a lot of the same stuff and doesnt have stability issues.
### Reiser4 ###
![file-system-riser4](https://www.maketecheasier.com/assets/uploads/2015/05/file-system-riser4.gif)
Reiser4, the successor to ReiserFS, is a file system created and developed by Namesys. The creation of Reiser4 was backed by the Linspire project as well as DARPA. What makes Reiser4 special is its multitude of transaction models. There isnt one single way data can be written; instead, there are many.
#### What can it do? ####
Reiser4 has the unique ability to use different transaction models. It can use the copy-on-write model (like BtrFS), write-anywhere, journaling, and the hybrid transaction model. It has a lot of improvements upon ReiserFS, including better file system journaling via wandering logs, better support for smaller files, and faster handling of directories. Reiser4 has a lot to offer. There are a lot more features to talk about, but suffice it to say its a huge improvement over ReiserFS with tons of added features.
#### Who is it for? ####
Resier4 is for those looking to stretch one file system across multiple use-cases. Maybe you want to set up one machine with copy-on-write, another with write-anywhere, and another with hybrid transaction, and you dont want to use different types of file systems to accomplish this task. Reiser4 is perfect for this type of use-case.
### Conclusion ###
There are many file systems available on Linux. Each serves a unique purpose for unique users looking to solve different problems.This post focuses on the most popular choices for the platform. There is no doubt there are other choices out there for other use-cases.
Whats your favorite file system to use on Linux? Tell us why below!
--------------------------------------------------------------------------------
via: https://www.maketecheasier.com/best-file-system-linux/
作者:[Derrik Diener][a]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:https://www.maketecheasier.com/author/derrikdiener/

View File

@ -0,0 +1,96 @@
我的Linux系统应该安装的最好的文件系统是什么
================================================================================
![](https://www.maketecheasier.com/assets/uploads/2015/05/file-systems-feature-image.jpg)
文件系统: 它们不是世界上最激动人心的技术但是仍然很重要。本文我们将细数那些流行的Linux文件系统 - 它们是什么,它们能够做什么,以及它们的目标用户。
### Ext4 ###
![file-systems-ext4](https://www.maketecheasier.com/assets/uploads/2015/05/file-systems-ext4.png)
如果你曾经安装过Linux你可能在安装过程中看到过"Ext4"字样。关于这个有一个不错的理由: 它是当前每个可用Linux发行版所选择的文件系统。当然还有其他的一些选择但是不可否认的是Ext4(Extended 4)几乎是所有Linux用户都会选择的文件系统。
#### 它能做什么? ####
Ext4拥有你预期的曾经的文件系统(Ext2/Ext3)的所有优点, 同时还带来了一些改进。还有很多内容可以发掘这里列举出Ext4为你带来的最好的部分:
- 文件系统日志
- 日志校验
- 多重块文件的分配
- 对Ext2 && Ext3向后兼容
- 持续的预分配空闲空间
- 改进的文件系统校验(相比于之前的版本)
- 当然,同时支持更大的文件
#### 目标用户 ####
Ext4针对那些寻找超级可靠的构建环境或者那些仅仅需要可用环境的用户。这个文件系统不会对你的系统做快照它甚至没有最好的SSD支持但是如果你的要求不是太过严格的话你会觉得它也还不错。
### BtrFS ###
![file-systems-btrFS](https://www.maketecheasier.com/assets/uploads/2015/05/file-systems-btrFS-e1450065697580.png)
B树(B-tree)文件系统 (也被认为是butterFS黄油文件系统) 是Oracle为Linux研发的一款文件系统。它是一个全新的文件系统而且正处于重度开发阶段。Linux社区认为其目前使用上还有些不稳定。BtrFS的核心原则是基于写时复制(copy-on-write). **写时复制**基本上意味着在写入数据前,这份数据的每一比特都有单独的一份副本。当数据写入完毕后,它相应的副本也随之生成。
#### 它能做什么 ####
除了支持写时复制之外BtrFS也能够胜任许多其他的事务 - 事实上,如此多的事务支持以致于它能永久列出一切(数据)。这里列举最值得一提的特性支持只读快照文件克隆子卷透明压缩离线文件系统校验无缝地从ext3&&4转换到BtrFS在线碎片整理还支持RAID 0, RAID 1, RAID 5, RAID 6 and RAID 10。
#### 目标用户 ####
BtrFS的开发者门许诺过该文件系统是当前其他文件系统的新一代替代者。非常正确虽然目前其处于开发中。它有很多杀手级的特性面向高级用户也包括基本用户 (包括SSDs上面的表现)。这个文件系统针对那些想要从文件系统中获取更多(特性),以及那些想尝试用写时复制机制做一些事情的用户。
### XFS ###
![file-systems-xfs](https://www.maketecheasier.com/assets/uploads/2015/05/file-systems-xfs.jpg)
由Silicon Graphics公司创造开发XFS是一个高端文件系统定位于速度和性能。对于性能方面的专注使得在并行输入输出方面XFS表现的尤其出色。XFS文件系统能够处理数量庞大的数据事实上某些XFS用户的数据接近300+TB。
#### 它能做什么 ####
XFS是一个经历良好测试的数据存储文件系统它是为了高性能操作而诞生的。其特性包括
- RAID阵列的条纹(striped)模式分配
- 文件系统日志
- 多种块大小
- 直接I/O
- 指定速率(guaranteed-rate)I/O
- 快照
- 在线碎片整理
- 在线调整大小
#### 目标用户 ####
XFS针对那些想要一个坚如磐石的文件系统方案的用户。它起源于1993年并且随着时间的变迁它变得越来越好。如果你有一台家庭服务器而且你苦恼于如何部署存储环境那么可以考虑下XFS。它拥有的众多特性(比如快照)能够协助你的文件存储系统。尽管如此它不局限于服务器端。如果你是一个相对高级一点的用户或者你对BtrFS所承诺的很多特性感兴趣的话尝试一下XFS。它实现了很多与BtrFS相似的特性并且没有稳定性方面的问题。
### Reiser4 ###
![file-system-riser4](https://www.maketecheasier.com/assets/uploads/2015/05/file-system-riser4.gif)
Reiser4ReiserFS的继任者由Namesys公司创造研发。它的诞生追溯到Linspire工程和DARPA。它与众不同的地方在于众多的事务模式。没有一个单一的方式来写入数据取而代之的是有很多方式(来写入)。
#### 它能做什么 ####
Reiser4拥有着使用多种不同事务模式的独特能力。它能够使用写时复制模式 (像BtrFS),任意位置写入(write-anywhere)日志以及超级事务模式。它在ReiserFS的基础上做了许多的改进包括更好的基于漫游日志的文件系统日志对更小的文件较好的支持以及更快速的目录处理。Reiser4提供了许多功能特性。还有更多的特性可以探讨不过简单来讲相比于ReiserFS它对众多新增特性做了非常大的改进。
#### 目标用户 ####
Resier4适合那些想要将一个文件系统应用到多中场景下的用户。可能你想在一台机器上使用copy-on-write机制在另一台机器上使用write-anywhere机制还会在另一台机器上使用超级事务而你又不希望使用多种不同类型的文件系统来完成这项任务。Reiser4是适合这种情况的完美方案。
### 结论 ###
Linux上有许多可用的文件系统。每个文件系统都有其特定的用途以便于特定用户解决不同的问题。本文的焦点集中在平台上文件系统的主流的选择。毫无疑问其它的场景下还有一些别的选择。
你在Linux上最喜欢的文件系统是什么在下面(的评论区)告诉我们吧!
--------------------------------------------------------------------------------
via: https://www.maketecheasier.com/best-file-system-linux/
作者:[Derrik Diener][a]
译者:[icecoobe](https://github.com/icecoobe)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:https://www.maketecheasier.com/author/derrikdiener/