Veritas Storage Foundation Intelligent Storage Provisioning 5.0.1 Administrators Guide, HP-UX 11i v3, First Edition, November 2009

# vxassist [-g diskgroup] [-b] evacuate disk volume \
evac_storage=rule[,...] [use_storage=rule[,...]] \
[attributes...]
The disk media names of the disks that are to be evacuated are specified as
!dmname where dmname is a disk media name. Alternatively, you can also use
the storage specification attribute, evac_storage, to specify rules for evacuating
currently used storage. The -b option may be specified to run the evacuation as a
background task. ISP allocates suitable storage according to the autogrow policy
of the storage pool, or you can use the storage specification attribute, use_storage,
to specify rules for allocating new storage.
For example, the following command evacuates disks mydg01 and mydg02 on which
volume, vol01, is configured, and specifies disks mydg03 and mydg04 as destination
disks:
# vxassist -g mydg evacuate disk vol01 !mydg01 !mydg02 \
use_storage=’allof("DM"="mydg03","DM"="mydg04")’
Not only disks can be evacuated. You can also specify subdisks, columns, logs,
mirrors or entire volumes to be evacuated. In these cases, you can use the
evac_storage attribute to specify which storage is to be evacuated.
In the following example, all columns of the volume are evacuated that have disks
on controller c1:
# vxassist -g mydg evacuate column vol01 \
evac_storage=’"Controller"="c1"’
The following example evacuates any disks in columns 0 or 1 that lie on controller
c2:
# vxassist -g mydg evacuate column vol01 column=0,1 \
evac_storage=’"Controller"="c1"’
The following command specifies that both columns 0 and 1 are to be evacuated
to disks on controller c2:
# vxassist -g mydg evacuate column vol01 column=0,1 \
use_storage=’"Controller"="c2"’
In the following example, volume data is evacuated from subdisks that are
connected to controller c1 to disks on any other controller:
# vxassist -g mydg evacuate subdisk vol01 \
evac_storage=’allof("Controller"="c1")’ \
use_storage=’noneof("Controller"="c1")’
Administering application volumes
Evacuating a volume
84