1
0
This commit is contained in:
Michael Balsillie 2023-01-12 15:53:36 +10:00
parent 11115d515e
commit ff8e0581ec
2 changed files with 13 additions and 2 deletions

View File

@ -68,8 +68,9 @@
enabled: yes
loop:
- zfs-import-cache.service
- zfs-mount.service
- zfs.target
- zfs-import.target
- zfs-mount.service
- name: gather existing zpool facts
community.general.zpool_facts:

View File

@ -7,7 +7,17 @@ sudo zfs create -V 100G \
-o primarycache=metadata \
-o secondarycache=none \
-o volmode=dev \
nvme/libvirt/vhds/data/kube0
nvme/libvirt/vhds/data/kube01
sudo zfs create -V 24G \
-o compression=off \
-o volblocksize=64k \
-o reservation=none \
-o refreservation=none \
-o primarycache=metadata \
-o secondarycache=none \
-o volmode=dev \
nvme/libvirt/vhds/cache/kube01
added zfs storage pool to libvirt
add zvol as disk (vde)