(zfs) VM disk flexible as CT disk?

greg

Renowned Member
Apr 6, 2011
140
2
83
Greetings
My cluster has many CT based on ZFS and I'm used to "grow" CT disks from the Proxmox GUI (I understand "grow" as "change size capping").
I recently had to grow a VM disk and realized that the VM has internally formatted it as LVM, so resizing is not automatic.

Is there a way to have a disk inside a VM which behaves like a regular ZFS volume, in this case, resize directly from Proxmox GUI?

Thanks in advance

Regards
 
hi,

Is there a way to have a disk inside a VM which behaves like a regular ZFS volume, in this case, resize directly from Proxmox GUI?
we can't reliably know what filesystem (or OS!) is inside the disk, so no.
 
we can't reliably know what filesystem (or OS!) is inside the disk, so no.
Thanks for your answer.
My need is not about the (inside) system, but more like a data disk, so maybe a mountpoint? I don't really understand how these work.
 
A VM is working differently to a CT. It brings more isolation from the host as a CT.
You can achieve your goal by using NFS shares instead of disks. The shares would "grow" automatically in the VM once the configuration is done on the NFS server, but that is also nothing you would do from the ui as far as I can tell.