Chapter 7. Volumes 305
In addition, the lsvdisk output shows more fields: volume_id, volume_name, and function, 
which help to identify the individual VDisks that make up a HyperSwap volume. This 
information is used by the GUI to provide views that reflect the client’s view of the HyperSwap 
volume and its site-dependent copies, as opposed to the “low-level” VDisks and VDisk 
Change Volumes.
The following individual commands are related to HyperSwap:
/SM590000mkvolume
Creates an empty volume by using storage from a storage pool. The type of volume that is 
created is determined by the system topology and the number of storage pools specified. 
Volume is always formatted (zeroed). The mkvolume command can be used to create the 
following objects:
– Basic volume: Any topology
– Mirrored volume: Standard topology
– Stretched volume: Stretched topology
– HyperSwap volume: HyperSwap topology
/SM590000rmvolume
Removes a volume. For a HyperSwap volume, this process includes deleting the 
active-active relationship and the change volumes.
The -force parameter that is used by rmvdisk is replaced by a set of override parameters, 
one for each operation-stopping condition, which makes it clearer to the user exactly what 
protection they are bypassing.
/SM590000mkimagevolume
Creates an image mode volume. This command can be used to import a volume, which 
preserves data. It can be implemented as a separate command to provide greater 
differentiation between the action of creating an empty volume and creating a volume by 
importing data on an MDisk.
/SM590000addvolumecopy
Adds a copy to a volume. The new copy is always synchronized from the existing copy. For 
stretched and HyperSwap topology systems, this command creates a highly available 
volume. This command can be used to create the following volume types:
– Mirrored volume: Standard topology
– Stretched volume: Stretched topology
– HyperSwap volume: HyperSwap topology
/SM590000rmvolumecopy
Removes a copy of a volume. This command leaves the volume intact. It also converts a 
Mirrored, Stretched, or HyperSwap volume to a basic volume. For a HyperSwap volume, 
this command includes deleting the active-active relationship and the change volumes. 
This command enables a copy to be identified by its site.
The -force parameter used by rmvdiskcopy is replaced by a set of override parameters, 
one for each operation-stopping condition, making it clearer to the user exactly what 
protection they are bypassing.
7.8.12  Mapping a volume to a host
Use the mkvdiskhostmap command to map a volume to a host. This mapping makes the 
volume available to the host for I/O operations. A host can perform I/O operations only on 
volumes that are mapped to it.