Hello,
I've created a zfs pool (zssd960) with the proxmox GUI
After creating some VMs I see the disks of the VMs created as ZFS zvols direct under the ZFS pool
Gerald
I've created a zfs pool (zssd960) with the proxmox GUI
After creating some VMs I see the disks of the VMs created as ZFS zvols direct under the ZFS pool
zfs list
NAME USED AVAIL REFER MOUNTPOINT
rpool 5,61G 102G 104K /rpool
rpool/ROOT 5,61G 102G 96K /rpool/ROOT
rpool/ROOT/pve-1 5,61G 102G 5,61G /
rpool/data 96K 102G 96K /rpool/data
zssd960 203G 657G 96K /zssd960
zssd960/vm-100-disk-0 33,0G 689G 1,35G -
zssd960/vm-101-disk-0 33,0G 689G 1,40G -
- the rpool contains a subvol - data - where the zvols are placed
- should I create a subvol on my pool (zssd960) also?
zfs create -V 4G zssd960/vol-test-1
zfs create zssd960/volumes
zfs rename zssd960/vol-test-1 zssd960/volumes/vol-test-1
- is there an advantage using a subvol for the vm disks?
- if I create a subvol and move the vm disks - I've to edit /etc/pve/storage.cfg
from:
zfspool: zssd960
pool zssd960
content images,rootdir
mountpoint /zssd960
nodes srv1,srv2
sparse 1
to:
zfspool: zssd960
pool zssd960/volumes
content images,rootdir
mountpoint /zssd960/volumes
nodes srv1,srv2
sparse 1
- is it okay to change the storage path of VM disks in storage.cfg (when the VMs are off)?
- or should I simple let the VM disk live in the ZFS pool root?
Gerald