V-5-1-4597
If there is one volume, then 3 disks are needed in the diskgroup. If there are two volumes, six disks are needed in the diskgroup. If there are three volumes, nine disks are needed in the diskgroup.
PHASE 1: Create, Split, and Deport
# vxsnap -g test prepare vol01
# vxsnap -g test prepare vol02
# vxsnap -g test addmir vol01
# vxsnap -g test addmir vol02
# vxsnap -g test make source=vol01/newvol=snap01/nmirror=1
# vxsnap -g test make source=vol01/newvol=snap01/nmirror=1
# vxsnap -g test make source=vol02/newvol=snap02/nmirror=1
# vxdg split test Snapdg snap01 snap02
# vxdg deport Snapdg
PHASE 2: Import, Process, and Deport ... import to another system, start volumes, mount, for backups or processing as follows:
# vxdg import Snapdg
# vxrecover -g Snapdg
... at this point you can mount and to backups, then umount and deport
# mount -t vxfs /dev/vx/Snapdg/snap01 /mount
.... process
# umount /mount
# vxdg deport Snapdg
PHASE 3: Import, Join, and Resynchronize Back on Source system: import, join and Resync
# vxdg import Snapdg
# vxdg join Snapdg test
...Now reattach snap vols to volumes:
# vxsnap -g test reattach snap01 source=vol01
# vxsnap -g test -f unprepare vol01
# vxsnap -g test -f unprepare vol02
# vxplex -g test dis vol02-02
# vxplex -g test dis vol01-02
# vxplex -g test att vol01 vol01-02
# vxplex -g test att vol02 vol02-02