No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

The capacity statistics looks wrong

Publication Date:  2017-06-26 Views:  38 Downloads:  0
Issue Description

One of the datastores is showing incorrect information in Fusion Compute. The datastore is 2TB and the total used space is about 1GB but the Allocated Space is showing up 2779GB as in the screenshot below. There are 4 datastores that are having this issue and all of them belongs to the same consistency group in OceanStor.



Handling Process

Total capacity: the actual capacity of data store.

Allocated capacity: the actual capacity of all disks + the capacity of snapshots + the capacity of Swapped RAM disk .
Real available capacity: total capacity (total capacity*5% + the capacity of thick disk + the used capacity of thin disk + the used capacity of snapshots + the used capacity of Swapped RAM disk )

## total capacity*5% is used to store meta data.

Non-VM-Disk capacity: the capacity of snapshots + the capacity of Swapped RAM disk.



Let me explain in detail by a example: 

1)   Allocated capacity: the actual capacity of all disks + the capacity of snapshots+ the capacity of Swapped RAM disk = (80+80+80+100)+ 80+16=436

The actual capacity of all disks= 80+80+80+100=340GB
The capacity of snapshots=80GB

Total size of swapped RAM disk=( round up to an integer (8*1.1) + round up to an integer (6*1.1) ) = 16GB.

2)   Real available capacity: total capacity – (total capacity* 5% (meta data space)+  the capacity of thick disk + the used capacity of thin disk + the used capacity of snapshots + the used capacity of Swapped RAM disk )

Real available capacity =439-439*5%-340- the used capacity of snapshots( which can be got by underlying command
)- the used capacity of Swapped RAM disk(which can be got by underlying command)=76GB

3)  Non-VM-Disk capacity: the capacity of snapshots + the capacity of Swapped RAM disk= 80+16=96GB

There are 3 VMs in the datastore: Windows server 2012 FusionManagerVRM01.

1.    Windows server 2012:
Snapshot size =80GB

Memory

Because swap partition is enable, size of Swapped RAM disk= round up to an integer (8*1.1)=9GB.

2. FusionManager(no snapshot):

Because swap partition is enable, size of Swapped RAM disk= round up to an integer (6*1.1)=7GB

3. VRM01no snapshot, no swap partition






 






 

 




 

 



3)   
Non-VM-Disk capacity: the capacity of snapshots + the capacity of
Swapped RAM disk= 80+16=96GB



 



 







 



There
are 3 VMs in the datastore: Windows server 2012
FusionManagerVRM01.



 



1.    
Windows server 2012:



Snapshot
size =80GB







Memory







Because
swap partition is enable, size of Swapped RAM disk= round up to an integer
(8*1.1)=9GB.







 



2.    
FusionManager(no snapshot):







Because
swap partition is enable, size of Swapped RAM disk= round up to an integer
(6*1.1)=7GB







 



3.    
VRM01no
snapshot, no swap partition











 




END