26 lines
629 B
Plaintext
26 lines
629 B
Plaintext
created a zfs zvol on hv00 ssd
|
|
sudo zfs create -V 100G \
|
|
-o compression=off \
|
|
-o volblocksize=64k \
|
|
-o reservation=none \
|
|
-o refreservation=none \
|
|
-o primarycache=metadata \
|
|
-o secondarycache=none \
|
|
-o volmode=dev \
|
|
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)
|
|
|
|
add zfs repo to kube01
|
|
create zpool from vde |