Re:ZFS for Dummies
by kalleboo on Tuesday September 05, 2023 @03:31AM
(#37388915)
> I would love to have a dumbed down wrapper that made the common case dead-simple
This is why TrueNAS is so popular, it has sane defaults for a lot of stuff and stops you from many foot-guns.
> Store metadata on the disk so ZFS doesn't get confused if I set up a pool with `/dev/sda` and `/dev/sdb` references and then shuffle around the drives
ZFS already does this, mostly. You still need to find a first disk for it to see that a pool exists (this is more a Linux/BSD problem than a ZFS as that's how every other fs mount works on those OSes), but after that it doesn't matter what the disks are named - a pool created with sdb/sdc etc can be mounted with the disk IDs and visa-versa.
This is why TrueNAS is so popular, it has sane defaults for a lot of stuff and stops you from many foot-guns.
> Store metadata on the disk so ZFS doesn't get confused if I set up a pool with `/dev/sda` and `/dev/sdb` references and then shuffle around the drives
ZFS already does this, mostly. You still need to find a first disk for it to see that a pool exists (this is more a Linux/BSD problem than a ZFS as that's how every other fs mount works on those OSes), but after that it doesn't matter what the disks are named - a pool created with sdb/sdc etc can be mounted with the disk IDs and visa-versa.