-
-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some questions regarding ZFS #69
Comments
One can set a mountpoint on the toplevel dataset, if you don't supply a mountpoint here, this dataset is ignored.
I think so, but I am unsure here.
I think you can pass
|
Thanks for the quick response!
Do you have any idea on how we could proceed to verify this?
I see, I didn't expect anyone to still use legacy mounts with ZFS when creating new disk layouts today.
From the NixOS wiki entry about ZFS: "zfs-mount service is enabled by default on NixOS 22.05." But what's more important to me is that using
(Related to previous point) EDIT: Technically a |
the datasets are ordered in alphabetical order. which should good for all usecases (since "/" comes before "/data"). lib.attrValues gets values from attrsets in alphabetical order. Hopefully this answers your question :) |
Yes, thanks! |
|
FYI #211 |
Thanks everyone, sandro's PR plus my recent PR have solved the remaining issues with altroots and encryption keys respectively, so I think everything has been answered :D |
I've recently tried using disko to manage some VMs. This worked great so now I want to use it to manage my more complex ZFS based setups, too. But before I start I was hoping you can shed some light onto some questions that have popped up as I'm currently not sure whether disko is ready for ZFS "in production". I'm also reluctant to test these things before knowing more.
mountpoint
attribute on the zpool? This doesn't make any intuitive sense to me, as pools don't have mountpoints. It seems like the default isnull
so I figure disko expects me to always set this?rpool/home
(empty parent) andrpool/home/myuser1
,rpool/home/myuser2
, so creation order is important)_mount
is not using altroots (zpool create/import -R /mnt
) andzfs mount
as recommended by ZFS? It looks like all mounting is done manually for some reason.I'd of course be willing to contribute any changes I have to make to get it to work, but at this point I cannot judge what is intentional and what isn't. I don't fully understand what "guarantees" disko assumes for its
create
andmount
actions, and I couldn't find any documentation apart from the README. Any help would be appreciated.The text was updated successfully, but these errors were encountered: