cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wido den Hollander <w...@widodh.nl>
Subject Overprovisioning of local storage
Date Tue, 10 Mar 2015 13:47:09 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I've ran into the issue where it seems that local storage can't be
overprovisioned.

storage.overprovisioning.factor is set to 1.5 in both the global and
zone settings, but this is ignored.

In this case it's a 1TB SSD which currently has 68GB allocated on
disk, but 750GB of disk space has been allocated according to CloudStack.

Looking StorageManagerImpl there is this if-statement:

if (storagePool.getPoolType() == StoragePoolType.NetworkFilesystem ||
storagePool.getPoolType() == StoragePoolType.VMFS) {
  DO OVERPROVISION
} else {
  DO NOT OVERPROVISION
}

So why is local storage excluded here? Since QCOW2 is sparsely
allocated and templates deployments are just clones of a parent QCOW2
it's fair to say that with local storage you can also overprovision?

Any objections to adding this?

Wido
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJU/vXdAAoJEAGbWC3bPspCSIEP/RW5Yzx5tap2YQxDMKjF5b/r
TewVIheKexlvOsr6BzVY4M++55YutZjXBGzRouy//d2T5ozqJg7EyrXZtzU3wbXM
T/nyMjyuvziGjB/poTHVDE+yEDQ79UbU2BXKdp5CYBZJHDSw1ilZajUqo26KhqKb
N2xatwcCAo2p0dMMze3QwYxkd3gtMwkREok3lvN153SIhi2pKQSoRMU0eA68q0wZ
30jprOBnjqzGcRkbkvM6/KN84OB3720BNVuc3JbJPdItG7UchbzIW8bJvHfhMViD
MXZObpD0aWSLbZZYSfgNH+bL1P2XXldOWeQ+HI5q+A7Sf8q0i9PlEpAR+gqROHGA
UtGk8MCi0OP7zjXciDOHrhGYfxQ+o0iIF0knt6fCXpma+KzRDxQo6Eo7D2rHGv2e
8xarZ4oamhAmytUxiL2i74cNS6d248P4fER0CUQ4tML/4jdXMRvALud2XYwK+e+C
HRnZ0/X2YPzQbhJeZne8cYkf3vz3emLbck0dcgvAQtDIlPekeNAhs6Ik5hxCP29G
Nsp8LILw69VPcSkDAHmLV6Gzd1jaIxtObM67CQLA0F3q/ehFwD29mncxe7kh1AhP
yuW8s+oUjyQxhaV/glMTj2odbV4MfLA8Hzw3/wGtj6vHYcMAvCrRGGUo7gO5RPgv
l1tt1vl1aPA0OR7BZEXF
=I9Y1
-----END PGP SIGNATURE-----

Mime
View raw message