| Are you trying to say that BTRFS is supposed to compete feature-to-feature with ZFS? It's not.
https://lwn.net/Articles/342892/ >I had a unique opportunity to take a detailed look at the features missing from Linux, and felt that Btrfs was the best way to solve them. >From other points of view, they are wildly different: file system architecture, development model, maturity, license, and host operating system, among other things ------------------------------- >Btrfs snapshots are read-write by default, which in some ways defeats the point of a point-in-time snapshot. Yes, and have the option of being read only for your temporal "in place" snapshots. But if I want to clone a container for instant use (as LXC or Docker does), then the RW snapshots make sense. Btrfs doesn't make a distinction between a Clone and Snapshot, they are one and the same with a flag. > but in practice is much less flexible Tell me more how I can mix disks of differing size in RAID on ZFS > There's no way to confuse the origin of a snapshot because it's tied to a parent dataset There's no confusing to the origin of my sanpshots. `btrfs subvolume list -q` shows the ancestral parent as well as the subvolume it's located in, example: ID 6442 gen 50527 top level 751 parent_uuid 0f4442f8-6363-6944-be8d-e2b45d809352 path .snapshots/321/snapshot
> some operations can be performed like snapshotting, but not deletionSee user_subvol_rm_allowed mount option, available since Kernel 3.0 It's like comparing a car and a truck, they both have four wheels, transport passengers and cargo, and have an engine. Just because a truck runs on diesel does not make the fact that the car running on gas "wrong". Due to its fundamentally different implementation, the way the filesystem works is also different. Yes ZFS has many more features, has been in development longer, and probably more "production ready" than BTRFS. But ZFS is not GPL compatible. And BTRFS doesn't require it's own separate cache that is apart from the normal filesystem cache. |
ZFS sets a very very high bar indeed. There are things that could be done better (I've talked about some of those on HN). But pound for pound, it's the best storage stack today and has been for over a decade. ZFS is the benchmark against which all others are to be stacked. There will be applications for which you will find a more performant solution, maybe, but altogether, ZFS has been the last word in filesystems for a long time now.
The most interesting competition, IMO, is from HAMMER. We'll see how that progresses.