Since quota calculation differs from the actual storage usege visable to the user, the quota calculation logic need to be explained.
From emails from Ofri and Gilad: > > Here is what i think is missing: > > > > ************************ > > Quota accounting: > > After a quota was assigned to a costumer or a resource, each action /s/costumer/consumer > > by that user or on that resource that involves storage, vcpu or > > memory will result in quota consumption or quota release. For > > example: when a user runs a VM with 1 vcpu and 1024MB memory – the > > action will consume 1 vcpu and 1024MB of the quota assigned to that > > user. When The VM will be stopped 1 vcpu and 1024MB will be > > released > > back to the quota assigned to that user (Note that Run-time Quota > > consumption is accounted only during the actual run-time of the > > consumer). > > Since the quota acts as an upper bound which limits the user's > > resources, the quota calculations may differ from the actual > > current > > use of the user. The quota is calculated for the max growth > > potential and not the current usage. For example: if a user creates > > a virtual thin provision disk of 10GB, the actual disk usage may > > indicate only 3GB of that disk are actually in use. The quota > > consumption, however, would be 10GB (The max growth potential of > > that disk).
Added new topic to admin guide: Quota Accounting [11740]
Yes. And it should say virtual machine instead of VM. I'll fix it now. Moving to MODIFIED until I can stage it again.
Red_Hat_Enterprise_Virtualization-Administration_Guide-3.1-en-US-2-103 http://documentation-devel.engineering.redhat.com/docs/en-US/Red_Hat_Enterprise_Virtualization/3.1/html-single/Administration_Guide/index.html#Quota_Accounting