How does ovm_vmdisks calculate vdisk sizes ?
The size ovm_vmdisks reports cannot be explained as GiB ( 1024^3) nor as GB ( 1000^3).
The OVM Manager gui does show GiB.
What's the calculation ovm_vmdisks performs ?
For instance I have a VM with a disk that according to the REST api is 214748364800 bytes long.
The GUI reports this as 200.0 GiB : 200*1024*1024*1024=214748364800 so that's exactly correct.
In GB it would be 214.75 GB.
But ovm_vmdisks reports it as 201GB which is neither.
Can someone please explain. ?
This value is used by some scripts we have and we are using it to charge customers and I am getting questions.
(No I did not write the scripts, I inherited them )..