limit size for poolz/vz subvol to prevent snapshots from taking up all disk space

rcd

Active Member
Jul 12, 2019
245
23
38
62
My Proxmox install is on ZFS, and I have a couple of zvols:

Unfortunately I didn't realize at the time that it would be a good idea to limit the space for /var/lib/vz so snapshots don't accidentally take up all the diskspace.

This now happened, and after having cleaned up, I was wonder if it is possible to reduce/limit the size of my poolz/vz zvol?

Or do I need to delete it and create a new?

Code:
# zfs list
NAME                          USED  AVAIL     REFER  MOUNTPOINT
poolz                        2.38T  1.10T      177G  /poolz
poolz/vmdata                  805G  1.10T      128K  /poolz/vmdata
poolz/vmdata/vm-2529-disk-0  74.6K  1.10T     74.6K  -
poolz/vmdata/vm-3701-disk-0  36.3G  1.10T     36.3G  -
poolz/vmdata/vm-3701-disk-1   277G  1.10T      277G  -
poolz/vmdata/vm-3702-disk-0  8.49G  1.10T     8.49G  -
poolz/vmdata/vm-3703-disk-0  9.49G  1.10T     9.49G  -
poolz/vmdata/vm-3704-disk-0  83.5G  1.10T     83.5G  -
poolz/vmdata/vm-3705-disk-0   187G  1.10T      187G  -
poolz/vmdata/vm-3705-disk-1   202G  1.10T      202G  -
poolz/vmdata/vm-3706-disk-0  6.89M  1.10T     6.89M  -
poolz/vmdata/vm-3706-disk-1  6.99M  1.10T     6.99M  -
poolz/vz                     1.42T  1.10T     1.42T  /var/lib/vz
 
It is also great to use refreservation for very important datasets like rpool/ROOT/pve-1 so that they cannot run out of space while the pool is already full.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!