added todo notes, enabled zfs-import.target
This commit is contained in:
parent
11115d515e
commit
3fa49df87f
@ -70,6 +70,7 @@
|
||||
- zfs-import-cache.service
|
||||
- zfs-mount.service
|
||||
- zfs.target
|
||||
- zfs-import.target
|
||||
|
||||
- name: gather existing zpool facts
|
||||
community.general.zpool_facts:
|
||||
|
@ -9,6 +9,34 @@ sudo zfs create -V 100G \
|
||||
-o volmode=dev \
|
||||
nvme/libvirt/vhds/data/kube0
|
||||
|
||||
enabled
|
||||
|
||||
partition cache/log drive and named partitions
|
||||
added cache and slog drive
|
||||
|
||||
added encryption key pass phrase to file /root/zfs-key.txt
|
||||
set keylocation option to file:///root/zfs-key.txt
|
||||
|
||||
added/enabled service file zfs-load-key.service
|
||||
|
||||
[Unit]
|
||||
Description=Load encryption keys
|
||||
DefaultDependencies=no
|
||||
After=zfs-import.target
|
||||
Before=zfs-mount.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=/usr/bin/zfs load-key -a
|
||||
StandardInput=tty-force
|
||||
|
||||
[Install]
|
||||
WantedBy=zfs-mount.service
|
||||
|
||||
added open-ebs dtaset under hdd/encrypted
|
||||
|
||||
|
||||
added zfs storage pool to libvirt
|
||||
add zvol as disk (vde)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user