Why does maxdisk only account boot disk ?

danielb

Well-Known Member
Jun 1, 2018
212
54
48
36
Bordeaux (france)
I'm querying PVE API to monitor resource usage with Zabbix. And I'm wondering, why does the maxdisk prop (in /cluster/resources or /pools/<pool name> for example) only accounts the size of the boot disk ? Wouldn't it make more sense to sum all the disks attached to the VM / attached to VM of the pool ?
 

Lephisto

Member
Jun 22, 2019
63
10
13
45
Hello Proxmox,

This behaviour also seems to be the case when exporting Metrics to InfluxDB. A VM with two disks only gets scsi0 counted. This is bad, because somehow I want to have a calculation of allocated Space vs available Space to raise an alert avoiding the Risk to overprovision a CEPH.
 

Roberto Ferrero

New Member
Nov 20, 2019
1
0
1
Hello Proxmox,

I'm encountering the same anomaly trying to use the nice italian software cv4pve-cli to query the status of virtual machines, but some of them have more than one connected disk. Does anyone know a possible workaround to find out how much total disk is allocated?
 

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 your own in 60 seconds.

Buy now!