How to increase zvol for an instance?

Hello,

to increase the root disk for an instance seems pretty simple. Just click on change under the disk settings for a VM. But how can I increase the size of a zvol that I want to use as a second disk in a VM?

kind regards

zfs set volsize=<newsize> <pool>/<path>/<to>/<zvol>

Make double sure newsize ist not smaller than the current one or you will probably lose data. You can check the current size with

zfs get volsize <pool>/<path>/<to>/<zvol>

HTH,
Patrick

This zvol has no path in a dataset?

What do you get with

zfs list -t volume

?

Thank you. With that info i managed to resize the volume. In my Case to go from 10GiB to 20GiB:

zfs set volsize=20GiB hdd-01/.ix-virt/custom/default_syncthing-vault