Comment by rabf
1 month ago
I found thst ZFS to be very simple to understand, everything is controlled by just two commands. Datasets are huge win over partitions which seem like such a weird relic of the past once you have tried datasets. Fairly confident you can grasp ZFS in a hour or 2, you can even make a zfs pool from files to mess around with.
I never found a good non-tutorial introduction into ZFS concepts. Do you know any? By non-tutorial, I mean something that doesn’t focus on teaching you the command-line tooling. Like you can explain to someone how Git works conceptually in detail, without having to mention any Git commands and having them exercise some Git workflow hands-on.
There really isn't many concepts to get. `zpool` is like the device manager, use it define how your disks are grouped i.e. turn two disks into a mirror or striped array. `zfs` creates, sets properties on and manages the datasets on the zpool.
For Linux specifically I also reccomend https://docs.zfsbootmenu.org/en/v3.1.x/.
ZFSBootmenu is a bootloader that is fully able to take advantage of all the ZFS features and it also has great documentation with installation guides for a range of distros. https://docs.zfsbootmenu.org/en/v3.1.x/guides/fedora/uefi.ht...
I reccomend you just play around with it a bit first (you can just use some 1Gb test files instead of actual disks), its really just a lack of familiarity that scares people away.
Did you read the fine manual?
https://openzfs.github.io/openzfs-docs/man/master/7/zpoolcon...
https://openzfs.github.io/openzfs-docs/man/master/8/zpool.8....
https://openzfs.github.io/openzfs-docs/man/master/8/zfs.8.ht...
I have seen those, yes. These are reference materials, not an introductory presentation that explains the concepts and their relations, design rationale and use cases in context.
1 reply →
It's a terrible manual. Doesn't explain how to export via NFS, SMB. For instance, when to use zfs set vs /etc/exports
Doesn't explain why zfs list sometimes shows datasets that have no mountpoint, but doesn't allow you to set a mountpoint (because it's not mountable).
ZFS is a great technology but it's documentation is terrible.