all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#73035: Add ZFS services. Or, add ZFS support to raw-initrd.
@ 2024-09-05  2:05 amano.kenji via Bug reports for GNU Guix
  2024-09-05  2:07 ` bug#73035: There was a typo amano.kenji via Bug reports for GNU Guix
  0 siblings, 1 reply; 2+ messages in thread
From: amano.kenji via Bug reports for GNU Guix @ 2024-09-05  2:05 UTC (permalink / raw)
  To: 73035

According to my analysis, zfs on root is not a good idea because grub doesn't support many zpool features, and grub needs to read kernel and initrd from /gnu/store on root filesystem.

If I want to mount ZFS file systems through file-systems of operating-system, raw-initrd should import zfs pools in file-system-scan-commands if any file system is zfs.

If I want to mount ZFS file systems through ZFS services, then those ZFS services should run before services are run because those services might need ZFS file systems, and ZFS services should be run after devices are mapped because some ZFS file systems might be on LUKS.

If ZFS support goes into raw-initrd, opearting-system will have to support loading zfs encryption keys in some way. If ZFS services are added instead, zfs-load-key service can be run during boot.

ZFS services are easier and less intrusive to existing gnu guix codebase than adding ZFS support to raw-initrd.

Either way is fine for me, but if you want to add ZFS services, I recommend the following services.

zfs-mount > zfs-load-key > zfs-mount > zfs-zed

zfs-share service seems unnecessary to me.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-09-05  2:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-05  2:05 bug#73035: Add ZFS services. Or, add ZFS support to raw-initrd amano.kenji via Bug reports for GNU Guix
2024-09-05  2:07 ` bug#73035: There was a typo amano.kenji via Bug reports for GNU Guix

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.