Skip to content
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

ZFS auto load key and mount datasets #8847

Open
runningman84 opened this issue Jun 1, 2024 · 1 comment
Open

ZFS auto load key and mount datasets #8847

runningman84 opened this issue Jun 1, 2024 · 1 comment

Comments

@runningman84
Copy link

Feature Request

It would be great if the zfs importer service would also call zfs load-key -a in order to load all keys from the disk (which could be stored for example in /var/keyname.key). Furthermore it should also autmount the datasets using zfs mount.

Description

Right now it is difficult to deal with zfs in talos because some commands can only be executed in some privileged pod. At this point it is already too late in the boot process and some other pods might crash because they cannot access the data.

Reference docs

https://arstechnica.com/gadgets/2021/06/a-quick-start-guide-to-openzfs-native-encryption/
https://wiki.archlinux.org/title/ZFS#Unlock_at_boot_time:_systemd

@runningman84
Copy link
Author

This should do the trick siderolabs/extensions#400

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant