Calculating fixed-size volume size (CV capacity unit is MB)
To calculate the user area capacity of a CV whose capacity unit is defined as megabytes:
ceil(ceil(user-specified-CV-capacity * 1024 / capacity-of-a-slot) / 15) * capacity-of-a-slot * 15
where
the value enclosed in ceil( ) must be rounded up to the nearest whole number.
user-specified-CV-capacity is expressed in megabytes.
capacity-of-a-slot is expressed in kilobytes. The capacity of a slot depends on volume emulation types (see Capacity of a slot).
The resulting user area capacity is expressed in kilobytes.
To calculate the entire capacity of a CV:
ceil((user-area-capacity + management-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.
management-area-capacity is expressed in kilobytes. The management area capacity depends on volume emulation types (see Management area capacity of an volume).
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.