recommended bytes per inode for datastore

Feb 13, 2021
3
0
21
56
I am using a QNAP NFS server as datastore for some proxmox backup data. When creating the volume on the NAS I have the option to set the bytes per inode (64k/32k/16k/8k/4k). The default is 32k. Backups are a mix of host (file) based backups (4Tb) and VM Backups (6Tb). Proxmox documentation says that for VM backups the chunk size is 4k, and for file backups variable. To prevent running out of inodes, would 16, 8 or even 4k the best configuration?
 
4M for VMs, not 4K. But then they also get compressed after that. You could check your last GC jobs log. It will show something like "Average chunk size: 1.649 MiB".