Calculating volume size (CV capacity unit is MB)

The methods for calculating the user area capacity and the entire capacity of a CV vary depending on the CV capacity unit that is specified when creating the CV.

To calculate the user area capacity of a CV whose capacity unit is defined as megabytes:

ceil(ceil(user-specified-CV-capacity * 1024 / 64) / 15) * 64 * 15 

where

To calculate the entire capacity of a CV:

ceil(user-area-capacity / boundary-value) * boundary-value / 1024 

where