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
the value enclosed in ceil( ) must be rounded up to the nearest whole number.
user-specified-CV-capacity is expressed in megabytes.
The resulting user area capacity is expressed in kilobytes.
To calculate the entire capacity of a CV:
ceil(user-area-capacity / boundary-value) * boundary-value / 1024
where
the value enclosed in ceil( ) must be rounded up to the nearest whole number.
user-area-capacity is expressed in kilobytes
boundary value is expressed in kilobytes. The boundary value depends on volume emulation types and RAID levels (see Boundary values for RAID levels).
The resulting entire capacity is expressed in megabytes.