Veritas Storage Foundation Intelligent Storage Provisioning 5.0 AdministratorÆs Guide, HP-UX 11i v3, First Edition, May 2008

116 Administering instant snapshots
Creating instant snapshots
Displaying instant snapshot information
The vxsnap print command may be used to display information about the
snapshots that are associated with a volume.
# vxsnap [-g
diskgroup
] print [
vol
]
This command shows the percentage progress of the synchronization of a
snapshot or volume. If no volume is specified, information about the snapshots
for all the volumes in a disk group is displayed.
The following example shows a volume, vol1, which has a full-sized snapshot,
snapvol1 whose contents have not been synchronized with vol1:
# vxsnap -g mydg print
NAME SNAPOBJECT TYPE PARENT SNAPSHOT %DIRTY %VALID
vol1 -- volume -- -- -- 100
snapvol1_snp1 volume -- snapvol1 1.30 --
snapvol1vol1_snp1 volume vol1 -- 1.30 1.30
The %DIRTY value for snapvol1 shows that its contents have changed by 1.30%
when compared with the contents of vol1. As snapvol1 has not been
synchronized with vol1, the %VALID value is the same as the %DIRTY value. If
the snapshot were partly synchronized, the %VALID value would lie between the
%DIRTY value and 100%. If the snapshot were fully synchronized, the %VALID
value would be 100%. The snapshot could then be made independent or moved
into another disk group.
Additional information about the snapshots of volumes and volume sets can be
obtained by using the
-n option with the vxsnap print command:
# vxsnap [-g
diskgroup
] -n [-l] [-v] [-x] print [
vol
]
Alternatively, you can use the vxsnap list command, which is an alias for the
vxsnap -n print command:
# vxsnap [-g
diskgroup
] [-l] [-v] [-x] list [
vol
]