[one-users] opennebula 4.4.0

Rolandas Naujikas rolandas.naujikas at mif.vu.lt
Thu Nov 28 06:33:10 PST 2013


Different free space is shown for local datastores in sunstone and from cli.

For e.g. we have 1.5GB / 130.6GB (1%) in sunstone, when in cli it shows:
LOCAL SYSTEM DATASTORE #102 CAPACITY 

TOTAL:                : 130.6G
USED:                 : 1M
FREE:                 : 129.1G

The difference is because different method is used to calculate used 
space. In cli it uses monitored value (from du -sLm), when sunstone uses

var total = parseInt(ds.TOTAL_MB);
var used = total - parseInt(ds.FREE_MB);

Difference is because some space is used by file system itself and also 
it could be shared with some local OS installation files.

Regards, Rolandas


More information about the Users mailing list