vzdump maxfiles doesn't work for NFS volume

Feb 13, 2018
8
0
1
48
Boston, MA
I have a backup job configured to dump to a local disk, and setting maxfiles to 2 (in /etc/vzdump.conf) successfully limits the number of backups to just 2 on-disk per-vm.

I also have a NFS mounted volume, and when I create a backup job for that, the maxfiles parameter doesn't seem to be obeyed. vzdump will just fill the volume up to capacity with many backups.

Is there a way to fix this?
 
The following command shows you what number is really set for maxfiles for your storage
Code:
 cat /etc/pve/storage.cfg

You can change this number in the GUI in Datacenter → Storage → Edit or with
Code:
pvesm set <storage> --maxfiles <integer> (0 - N)
 

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!