Does anyone know how to make our storage plugin allow overprovisioning with the new storage framework? Looks like its currently hardcoded to just NFS or VMFS.
I imagine we'd want to add a method to StoragePool, boolean StoragePool.getOverprovision() server/src/com/cloud/storage/StorageManagerImpl.java if (storagePool.getPoolType() == StoragePoolType.NetworkFilesystem || storagePool.getPoolType() == StoragePoolType.VMFS) { BigDecimal overProvFactor = getStorageOverProvisioningFactor(storagePool.getDataCenterId()); totalOverProvCapacity = overProvFactor.multiply(new BigDecimal(storagePool.getCapacityBytes())).longValue(); // All this is for the inaccuracy of floats for big number multiplication. } else { totalOverProvCapacity = storagePool.getCapacityBytes(); }