Oracle VM (OVM) (MOSC)

MOSC Banner

How does ovm_vmdisks calculate vdisk sizes ?

edited Jun 30, 2016 5:06AM in Oracle VM (OVM) (MOSC) 1 commentAnswered

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 )..

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center