Is there a way to let vms know how much storage is actually free on the host when over allocating to avoid crashes.
Lets say i got a physical zfs storage with 1tb added to 3 vms as additional disks (NOT main / boot disk), each should be able to use up to 750gb
(but all three vms are never more than 1tb together at any given time) and have at least 125gb available at all time.
Since everything is thin provisioned and all free storage is given back to the host with the discard option, i can just create 3 750gb each virtual disks, so no problem.
The problem now if a vm for whatever reason suddenly uses too much (going over the 1tb limit) all three vms experience problems.
So is there a way to dynamically reduce / let the other vms know how much disk space is really available?
From what i read reducing vm disks on the fly is not going to be possible, so is there sth similar to ballooning for storage that would just let the vms know how much storage is actually currently available?
Other option would be to just mount a directory from the host to the vm. I know this is not supported via gui but it should be one line in the config of kvm/qemu.
Is there any specific reason why it is not supported to mount host directories to vms in proxmox?
Btw using network storage for those vm disks in not a possible solution since, the themselves will be providing smb shares and i dont want to daisy chain network storage / add even more complexity.
Lets say i got a physical zfs storage with 1tb added to 3 vms as additional disks (NOT main / boot disk), each should be able to use up to 750gb
(but all three vms are never more than 1tb together at any given time) and have at least 125gb available at all time.
Since everything is thin provisioned and all free storage is given back to the host with the discard option, i can just create 3 750gb each virtual disks, so no problem.
The problem now if a vm for whatever reason suddenly uses too much (going over the 1tb limit) all three vms experience problems.
So is there a way to dynamically reduce / let the other vms know how much disk space is really available?
From what i read reducing vm disks on the fly is not going to be possible, so is there sth similar to ballooning for storage that would just let the vms know how much storage is actually currently available?
Other option would be to just mount a directory from the host to the vm. I know this is not supported via gui but it should be one line in the config of kvm/qemu.
Is there any specific reason why it is not supported to mount host directories to vms in proxmox?
Btw using network storage for those vm disks in not a possible solution since, the themselves will be providing smb shares and i dont want to daisy chain network storage / add even more complexity.