Veritas Volume Manager 4.1 Administrator's Guide (HP-UX 11i v3, February 2007)

Reorganizing the Contents of Disk Groups
160 VERITAS Volume Manager Administrators Guide
When used with objects that have been created using the VERITAS Intelligent Storage
Provisioning (ISP) feature, only complete storage pools may be split or moved from a
disk group. Individual objects such as application volumes within storage pools may
not be split or moved. See the VERITAS Storage Foundation Intelligent Storage
Provisioning Administrators Guide for a description of ISP and storage pools.
If a cache object or volume set that is to be split or moved uses ISP volumes, the
storage pool that contains these volumes must also be specified.
The following sections describe how to use the vxdg command to reorganize disk groups.
For more information about the vxdg command, see the vxdg(1M) manual page.
Listing Objects Potentially Affected by a Move
To display the VxVM objects that would be moved for a specified list of objects, use the
following command:
# vxdg [-o expand] listmove sourcedg targetdg object ...
The following example lists the objects that would be affected by moving volume vol1
from disk group mydg to newdg:
# vxdg listmove mydg newdg vol1
mydg01 c0t1d0 mydg05 c1t96d0 vol1 vol1-01 vol1-02 mydg01-01
mydg05-01
However, the following command produces an error because only a part of the volume
vol1 is configured on the disk mydg01:
# vxdg listmove mydg newdg mydg01
VxVM vxdg ERROR V-5-2-4597 vxdg listmove mydg newdg failed
VxVM vxdg ERROR V-5-2-3091 mydg05 : Disk not moving, but subdisks
on it are
Specifying the -o expand option, as shown below, ensures that the list of objects to be
moved includes the other disks (in this case, mydg05) that are configured in vol1:
# vxdg -o expand listmove mydg newdg mydg01
mydg01 c0t1d0 mydg05 c1t96d0 vol1 vol1-01 vol1-02 mydg01-01
mydg05-01