Previous  |  Next  >  
Product: Volume Manager Guides   
Manual: Volume Manager 4.1 Administrator's Guide   

Moving Subdisks

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 new_subdisk [new_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:

  • The subdisks involved must be the same size.
  • The subdisk being moved must be part of an active plex on an active (ENABLED) volume.
  • The new subdisk must not be associated with any other plex.

See Configuring Hot-Relocation to Use Only Spare Disks for information about manually relocating subdisks after hot-relocation.

 ^ Return to Top Previous  |  Next  >  
Product: Volume Manager Guides  
Manual: Volume Manager 4.1 Administrator's Guide  
VERITAS Software Corporation
www.veritas.com