From ff8e0581ec7432d2b78f9ba3a7afc736c6b444ee Mon Sep 17 00:00:00 2001 From: Michael Balsillie Date: Thu, 12 Jan 2023 15:53:36 +1000 Subject: [PATCH] notes --- ansible/roles/zfs_repo_install/tasks/main.yml | 3 ++- notes/2023-01-09_ebs-zfs.txt | 12 +++++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) 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)