Calculating volume size (CV capacity unit is blocks)
To calculate the user area capacity of a CV whose capacity unit is defined as blocks:
ceil(user-specified-CV-capacity / 2)
where
the value enclosed in ceil( ) must be rounded up to the nearest whole number.
user-specified-CV-capacity is expressed in blocks.
The resulting user area capacity is expressed in kilobytes.
To calculate the entire capacity of a CV:
ceil(user-specified-CV-capacity / (boundary-value * 2)) * (boundary-value * 2)
where
the value enclosed in ceil( ) must be rounded up to the nearest whole number.
user-specified-CV-capacity is expressed in blocks.
boundary-value is expressed in kilobytes. The boundary value depends on volume emulation types and RAID levels (see Boundary values of volumes).
The resulting entire capacity is expressed in blocks. To convert the resulting entire capacity into megabytes, divide this capacity by 2,048.