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 (256 KB for OPEN-V).
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 the device emulation type (0 KB for OPEN-V).
boundary-value is expressed in kilobytes. The boundary value depends on the device emulation type and RAID level (see Boundary values of volumes).
The resulting entire capacity is expressed in megabytes.