diff --git a/ansible/roles/zfs_repo_install/tasks/main.yml b/ansible/roles/zfs_repo_install/tasks/main.yml index 4b911b1..7b07594 100644 --- a/ansible/roles/zfs_repo_install/tasks/main.yml +++ b/ansible/roles/zfs_repo_install/tasks/main.yml @@ -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: diff --git a/notes/2023-01-09_ebs-zfs.txt b/notes/2023-01-09_ebs-zfs.txt index 2ba1652..a97f6c8 100644 --- a/notes/2023-01-09_ebs-zfs.txt +++ b/notes/2023-01-09_ebs-zfs.txt @@ -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)