Talk:ZFS: Difference between revisions

imported>Thedude
Suggest adding 'sleep' to multi-pool encrypted ZFS example.
imported>Vater
→‎best practice: new section
 
(2 intermediate revisions by 2 users not shown)
Line 38: Line 38:


Long story short, I think the example on the ZFS page should include the sleep.
Long story short, I think the example on the ZFS page should include the sleep.
== Unable to follow instructions from "Laying out the filesystem hierarchy" ==
I tried following the instructions from [[ZFS#Laying_out_the_filesystem_hierarchy]] but the system never fully booted and had errors about being unable to mount "/home" or "/root".
The fix was to use a legacy mountpoint instead, while also reducing the number of ZFS data sets to a minimum and using "/" as a ZFS data set instead of tmpfs.
--[[User:Grische|Grische]] ([[User talk:Grische|talk]]) 12:45, 26 February 2022 (UTC)
== Inclusion of /var/persist ==
Looking over the post, there is no mention of creating a /var/persist directory. I'd personally recommend adding it as a separate volume/dataset which is autosnapshotted in case it is needed.
# zfs create -o canmount=on rpool/nixos/var/persist
--[[User:Keksbg|Keksbg]] ([[User talk:Keksbg|talk]]) 21:55, 29 March 2022 (UTC)
== best practice ==
; Datasets:
* https://grahamc.com/blog/nixos-on-zfs/