Repository navigation
Clarification on Storage Overprovisioning Factor #13973
Replies: 2 comments 1 reply
|
>>Could you also please confirm whether a factor of 2 means CloudStack considers approximately 35.2 TiB as available/allocatable storage from the 17.6 TiB physical capacity? Yes, but it depends on the type of Primary Storage being used. https://docs.cloudstack.apache.org/en/latest/adminguide/storage.html#hypervisor-support-for-primary-storage |
|
Hi @vishnuvs369 , Yeah, this trips up a lot of people — happy to clear it up. So how does the factor actually work? The Your numbers — you've got it right With a factor of 2 on a 17.60 TiB pool, CloudStack treats it as: 17.60 × 2 = 35.2 TiB allocatable So yep, that's where the 35.2 TiB comes from. It's basically CloudStack saying "I'll let you thin-provision up to double the physical size." What allocated vs. used actually means This is the part that confuses most folks:
So in your case, people have been given 14.27 TiB worth of volumes, but they're only actually using 4.84 TiB. That gap is exactly why overprovisioning exists — most VMs never fill their disks. What happens when allocated hits 100%? CloudStack stops letting you create new volumes on that pool (and typically blocks VM deploys that need a new volume). Simple as that. One thing to watch out for: there have been bugs in some versions where resize or migration operations don't do the capacity check properly, and allocated sneaks past 100%. So don't rely on that 100% limit as a hard wall. The real risk with factor = 2 Here's the thing — factor 2 assumes your average disk usage stays under 50%. If people start actually filling their disks, you'll run out of physical space long before allocated ever hits 100%. That's the trap. Allocated says "everything's fine, you're at 81%," but you could be near physical exhaustion and not realize it until writes start failing. What I'd recommend
TL;DR — Yes, 35.2 TiB is the allocatable number. CloudStack will block new volumes at 100% allocated, but the real danger is running out of physical space first. Keep an eye on Used and you'll be fine. Regards, |


@vishnuvs369
>>Could you also please confirm whether a factor of 2 means CloudStack considers approximately 35.2 TiB as available/allocatable storage from the 17.6 TiB physical capacity?
Yes, but it depends on the type of Primary Storage being used. https://docs.cloudstack.apache.org/en/latest/adminguide/storage.html#hypervisor-support-for-primary-storage