VERITAS Volume Manager 3.5 Administrator's Guide (September 2004)
Administering Volumes
Backing up Volumes Online
Chapter 8302
If you have split or moved the snapshot volume and the original volume
into different disk groups, you must run snapclear on the each volume
separately, specifying the snap object in the volume that points to the
other volume:
# vxassist snapclear volume snap_object
For example, if myvol1 and SNAP-myvol1 are in separate disk groups
mydg1 and mydg2 respectively, the following commands stop the
tracking on SNAP-myvol1 with respect to myvol1 and on myvol1 with
respect to SNAP-myvol1:
# vxassist -g mydg2 snapclear SNAP-myvol1 myvol1_snp
# vxassist -g mydg1 snapclear myvol1 SNAP-myvol1_snp
Displaying Snapshot Information (snapprint)
The vxassist snapprint command displays the associations between the
original volumes and their respective replicas (snapshot copies):
# vxassist snapprint [volume]
Output from this command is shown in the following examples:
# vxassist -g mydg snapprint v1
V NAME USETYPE LENGTH
SS SNAPOBJ NAME LENGTH %DIRTY
DP NAME VOLUME LENGTH %DIRTY
v v1 fsgen 20480
ss SNAP-v1_snp SNAP-v1 20480 4
dp v1-01 v1 20480 0
dp v1-02 v1 20480 0
v SNAP-v1 fsgen 20480
ss v1_snp v1 20480 0
# vxassist -g mydg snapprint v2
V NAME USETYPE LENGTH
SS SNAPOBJ NAME LENGTH %DIRTY
DP NAME VOLUME LENGTH %DIRTY
v v2 fsgen 20480
ss -- SNAP-v2 20480 0
dp v2-01 v2 20480 0