ZFS For Linux Finally Lands In Debian GNU/Linux Repos (softpedia.com)
prisoninmate quotes a report from Softpedia: It took the Debian developers many years to finally be able to ship a working version of ZFS for Linux on Debian GNU/Linux. For those not in the known, ZFS on Linux is the official OpenZFS implementation for Linux, which promises to offer native ZFS filesystem support for any Linux kernel-based operating system, currently supporting Arch Linux, Ubuntu, Fedora, Gentoo, Red Hat Enterprise Linux, CentOS, openSUSE, and now Debian. And it looks like their ZFS for Linux implementation borrows a lot of patches from Ubuntu, at least according to the changelog for zfs-linux 0.6.5.6-2, the version that is now available in the unstable channel for Debian users to install and test.
I notice that this article was submitted by prisoninmate, yet the filesystem in discussion is ZFS, not ReiserFS.
What gives?
If you are building a server, then file system absolutely matters.
Ext4 is fine but limited and not nearly as mature or stable as XFS. When building a server that *matters*.
ZFS blows the doors off of anything the Open Source community has *ever* built (in terms of file systems). It has features that Linux users have been desperate for. For example, file system snapshots and rollbacks. Yes, you can do it with LVM2. Guess what? LVM2 sucks at it (in comparison to ZFS).
Get your PostgreSQL here: http://www.commandprompt.com/
What is it I can do with ZFS in Linux that is so important?
What is it I can't do without ZFS?
It does a lot, but the features I'm interested in are the protection against bit-rot. Specifically, if you set up a mirrored pair of disks in a ZFS pool, it will checksum everything on both sides of the mirror.
When the array is checked (scrubbed), it verifies the checksums. If there is a mismatch because the data has glitched on the media, the checksum won't be valid on one disk, but it will be valid on the other disk so it can repair it. If there's a mismatch in a more conventional mirrored pair, the controller wouldn't really have a way to know which one is correct.
This capability is also in BTRFS, but much has been written about how BTRFS is still experimental. Also, last time I looked, BTRFS was only available for Linux - with ZFS it would be possible to migrate to FreeBSD if Linux does jump the shark.
The other thing is that the scrubbing process is done in the background. My main data pool is a pair of 4TB disks, which was EXT4 to begin with, then BTRFS and now ZFS. The system is a desktop which is powered down at night. Every 180 boots it would run FSCK, which took something like 2 hours to run on EXT4, during which the system was unusable. With BTRFS and ZFS, the scrubbing takes place while the pool is mounted. So yes, you can do this with BTRFS as well, but ZFS is the more proven option of the two.