Cifratura nativa con Zfs: Difference between revisions
Jump to navigation
Jump to search
Created page with "{{Stub}} =Riferimenti= *[https://nocin.eu/zfs-encryption/ [ZFS] Encryption – nocin.eu]" |
mNo edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{Stub}} | {{Stub}}<pre> | ||
cat > /etc/systemd/system/zfs-load-keys.service <<EOFile | |||
[Unit] | |||
Description=Load ZFS encryption keys | |||
DefaultDependencies=no | |||
Before=zfs-mount.service | |||
After=zfs-import.target | |||
[Service] | |||
Type=oneshot | |||
RemainAfterExit=yes | |||
ExecStart=/usr/bin/bash -c '/usr/bin/zfs load-key -a' | |||
[Install] | |||
WantedBy=zfs-mount.service | |||
EOFile | |||
</pre> | |||
systemctl enable zfs-load-keys.service | |||
systemctl start zfs-load-keys.service | |||
=Riferimenti= | =Riferimenti= | ||
*[https://nocin.eu/zfs-encryption/ | *[https://nocin.eu/zfs-encryption/ (ZFS) Encryption – nocin.eu] | ||
Latest revision as of 09:13, 30 January 2024
| Attenzione questo articolo è ancora incompleto. Sentiti libero di contribuire cliccando sul tasto edit. |
cat > /etc/systemd/system/zfs-load-keys.service <<EOFile [Unit] Description=Load ZFS encryption keys DefaultDependencies=no Before=zfs-mount.service After=zfs-import.target [Service] Type=oneshot RemainAfterExit=yes ExecStart=/usr/bin/bash -c '/usr/bin/zfs load-key -a' [Install] WantedBy=zfs-mount.service EOFile
systemctl enable zfs-load-keys.service
systemctl start zfs-load-keys.service