Moving a subdisk copies the disk space contents of a subdisk onto one or more other subdisks. If the subdisk being moved is associated with a plex, then the data stored on the original subdisk is copied to the new subdisks. The old subdisk is dissociated from the plex, and the new subdisks are associated with the plex. The association is at the same offset within the plex as the source subdisk. To move a subdisk, use the following command:
vxsd [-g diskgroup
] mv old_subdisk
For example, if
mydg03 in the disk group,
mydg, is to be evacuated, and
mydg12 has enough room on two of its subdisks, use the following command:
vxsd -g mydg mv mydg03-01 mydg12-01 mydg12-02
For the subdisk move to work correctly, the following conditions must be met:
Subdisk can also be moved manually after hot-relocation.
See "Moving relocated subdisks" on page 368.