Hi everyone
We' re looking for a reliable way to read zfs pool 'usable capacity' total via the API ?
Please note that it's not the 'available', but the total, for example we've got two sub volumes in the pool:
vmdata-16k
vmdata-32k
when we use /nodes/{node}/storage we get the 'total' value for each one of those, but that total is for both the volumes because they are 'sub directories' of the same pool ? However that value is not static and changes overtime as the volumes get used.
So what would be the tactic to 'calculate' ? the pool's TOTAL capacity as it was configured?
Thanks in advance,
Aleksandra
We' re looking for a reliable way to read zfs pool 'usable capacity' total via the API ?
Please note that it's not the 'available', but the total, for example we've got two sub volumes in the pool:
vmdata-16k
vmdata-32k
when we use /nodes/{node}/storage we get the 'total' value for each one of those, but that total is for both the volumes because they are 'sub directories' of the same pool ? However that value is not static and changes overtime as the volumes get used.
So what would be the tactic to 'calculate' ? the pool's TOTAL capacity as it was configured?
Thanks in advance,
Aleksandra
Last edited: