VOLUME USED FOR THIS SETUP:
===========================
dg datadg default default 3000 1202764944.85.bogota
dm Disk_0 Disk_0 auto 8192 35797440 -
dm Disk_1 Disk_1 auto 8192 35797440 -
dm Disk_2 Disk_2 auto 8192 35797440 -
dm Disk_3 Disk_3 auto 65536 35740096 -
dm Disk_4 Disk_4 auto 65536 35740096 -
dm Disk_5 Disk_5 auto 65536 35740096 -
dm Disk_6 Disk_6 auto 65536 35740096 -
dm Disk_7 Disk_7 auto 65536 35740096 -
v vol1 - ENABLED ACTIVE 409600 SELECT - fsgen
pl vol1-01 vol1 ENABLED ACTIVE 409600 CONCAT - RW
sd Disk_0-01 vol1-01 Disk_0 0 409600 0 Disk_0 ENA
THIRD MIRROR BREAKOFF SNAPSHOT:
===============================
NOTE: The vxassist method maybe going away in future versions of VM. THe preferred way
is to use the vxsnap command.
>>vxassist method for creating third-mirror breakoff snapshot<<
1. Create the mirror plex
# vxassist -g datadg snapstart vol1
v vol1 - ENABLED ACTIVE 409600 SELECT - fsgen
pl vol1-01 vol1 ENABLED ACTIVE 409600 CONCAT - RW
sd Disk_0-01 vol1-01 Disk_0 0 409600 0 Disk_0 ENA
pl vol1-02 vol1 ENABLED SNAPDONE 409600 CONCAT - WO
sd Disk_1-01 vol1-02 Disk_1 0 409600 0 Disk_1 ENA
Alternatively, we can use an existing plex for the snapshot instead of newly creating one
# vxplex -g datadg convert state=SNAPDONE vol1-03
v vol1 - ENABLED ACTIVE 409600 SELECT - fsgen
pl vol1-01 vol1 ENABLED ACTIVE 409600 CONCAT - RW
sd Disk_0-01 vol1-01 Disk_0 0 409600 0 Disk_0 ENA
pl vol1-02 vol1 ENABLED ACTIVE 409600 CONCAT - RW
sd Disk_1-01 vol1-02 Disk_1 0 409600 0 Disk_1 ENA
pl vol1-03 vol1 ENABLED SNAPDONE 409600 CONCAT - WO
sd Disk_2-01 vol1-03 Disk_2 0 409600 0 Disk_2 ENA
pl vol1-04 vol1 ENABLED ACTIVE LOGONLY CONCAT - RW
sd Disk_0-02 vol1-04 Disk_0 409600 528 LOG Disk_0 ENA
2. Take the snapshot of it
# vxassist -g datadg snapshot vol1 snap-vol1
v snap-vol1 - ENABLED ACTIVE 409600 ROUND - fsgen
pl vol1-02 snap-vol1 ENABLED ACTIVE 409600 CONCAT - RW
sd Disk_1-01 vol1-02 Disk_1 0 409600 0 Disk_1 ENA
v vol1 - ENABLED ACTIVE 409600 SELECT - fsgen
pl vol1-01 vol1 ENABLED ACTIVE 409600 CONCAT - RW
sd Disk_0-01 vol1-01 Disk_0 0 409600 0 Disk_0 ENA
To take a snapshot of all volumes in a DG,
# vxassist -g datadg -o allvols snapshot
3. To break the association of the snapshot volume and data volume,
# vxassist -g datadg snapclear snap-vol1
Now both the volumes are independant volumes.
4. If #3 is not desired, use the snap volume for backup and bring it back for resync
# vxassist -g datadg snapback snap-vol1
v vol1 - ENABLED ACTIVE 409600 SELECT - fsgen
pl vol1-01 vol1 ENABLED ACTIVE 409600 CONCAT - RW
sd Disk_0-01 vol1-01 Disk_0 0 409600 0 Disk_0 ENA
pl vol1-02 vol1 ENABLED SNAPDONE 409600 CONCAT - WO
sd Disk_1-01 vol1-02 Disk_1 0 409600 0 Disk_1 ENA
5. If data from snapshot is to be used for overwriting the data volume,
# vxassist -g datadg -o resyncfromreplica snapback snap-vol1
6. To display the information about the snapshots,
# vxassist -g datadg snapprint
>>vxsnap method for creating third-mirror breakoff snapshot<<
1. Prepare the volume
# vxsnap -g datadg prepare vol1 ndcomirs=2 drl=off
v vol1 - ENABLED ACTIVE 409600 SELECT - fsgen
pl vol1-01 vol1 ENABLED ACTIVE 409600 CONCAT - RW
sd Disk_0-01 vol1-01 Disk_0 0 409600 0 Disk_0 ENA
dc vol1_dco vol1 vol1_dcl
v vol1_dcl - ENABLED ACTIVE 544 SELECT - gen
pl vol1_dcl-01 vol1_dcl ENABLED ACTIVE 544 CONCAT - RW
sd Disk_1-01 vol1_dcl-01 Disk_1 0 544 0 Disk_1 ENA
pl vol1_dcl-02 vol1_dcl ENABLED ACTIVE 544 CONCAT - RW
sd Disk_2-01 vol1_dcl-02 Disk_2 0 544 0 Disk_2 ENA
2. We can use an existing mirror or add a new snapshot mirror
# vxsnap -b -g datadg addmir vol1
v vol1 - ENABLED ACTIVE 409600 SELECT - fsgen
pl vol1-01 vol1 ENABLED ACTIVE 409600 CONCAT - RW
sd Disk_0-01 vol1-01 Disk_0 0 409600 0 Disk_0 ENA
pl vol1-02 vol1 ENABLED SNAPDONE 409600 CONCAT - WO
sd Disk_3-01 vol1-02 Disk_3 0 409600 0 Disk_3 ENA
dc vol1_dco vol1 vol1_dcl
v vol1_dcl - ENABLED ACTIVE 544 SELECT - gen
pl vol1_dcl-01 vol1_dcl ENABLED ACTIVE 544 CONCAT - RW
sd Disk_1-01 vol1_dcl-01 Disk_1 0 544 0 Disk_1 ENA
pl vol1_dcl-02 vol1_dcl ENABLED ACTIVE 544 CONCAT - RW
sd Disk_2-01 vol1_dcl-02 Disk_2 0 544 0 Disk_2 ENA
pl vol1_dcl-03 vol1_dcl DISABLED DCOSNP 544 CONCAT - RW
sd Disk_3-02 vol1_dcl-03 Disk_3 409600 544 0 Disk_3 ENA
# vxsnap -g datadg snapwait vol1
Snapshot ready on volume vol1
3. To create the third-mirror breakoff snapshot,
# vxsnap -g datadg make source=vol1/newvol=snap-vol1/nmirror=1
v snap-vol1 - ENABLED ACTIVE 409600 ROUND - fsgen
pl vol1-02 snap-vol1 ENABLED ACTIVE 409600 CONCAT - RW
sd Disk_3-01 vol1-02 Disk_3 0 409600 0 Disk_3 ENA
dc snap-vol1_dco snap-vol1 snap-vol1_dcl
v snap-vol1_dcl - ENABLED ACTIVE 544 ROUND - gen
pl vol1_dcl-03 snap-vol1_dcl ENABLED ACTIVE 544 CONCAT - RW
sd Disk_3-02 vol1_dcl-03 Disk_3 409600 544 0 Disk_3 ENA
sp vol1_snp snap-vol1 snap-vol1_dco
v vol1 - ENABLED ACTIVE 409600 SELECT - fsgen
pl vol1-01 vol1 ENABLED ACTIVE 409600 CONCAT - RW
sd Disk_0-01 vol1-01 Disk_0 0 409600 0 Disk_0 ENA
dc vol1_dco vol1 vol1_dcl
v vol1_dcl - ENABLED ACTIVE 544 SELECT - gen
pl vol1_dcl-01 vol1_dcl ENABLED ACTIVE 544 CONCAT - RW
sd Disk_1-01 vol1_dcl-01 Disk_1 0 544 0 Disk_1 ENA
pl vol1_dcl-02 vol1_dcl ENABLED ACTIVE 544 CONCAT - RW
sd Disk_2-01 vol1_dcl-02 Disk_2 0 544 0 Disk_2 ENA
sp snap-vol1_snp vol1 vol1_dco
LINKED BREAK-OFF SNAPSHOT:
==========================
1. Prepare the datavolume for snapshot
# vxsnap -g datadg prepare vol1 drl=off ndcomirs=2
v vol1 - ENABLED ACTIVE 409600 SELECT - fsgen
pl vol1-01 vol1 ENABLED ACTIVE 409600 CONCAT - RW
sd Disk_0-01 vol1-01 Disk_0 0 409600 0 Disk_0 ENA
dc vol1_dco vol1 vol1_dcl
v vol1_dcl - ENABLED ACTIVE 544 SELECT - gen
pl vol1_dcl-01 vol1_dcl ENABLED ACTIVE 544 CONCAT - RW
sd Disk_1-01 vol1_dcl-01 Disk_1 0 544 0 Disk_1 ENA
pl vol1_dcl-02 vol1_dcl ENABLED ACTIVE 544 CONCAT - RW
sd Disk_2-01 vol1_dcl-02 Disk_2 0 544 0 Disk_2 ENA
2. Create a similar sized volume to be used for snapshot mirror in snapdg diskgroup
# vxassist -g snapdg make snap-vol1 409600
# vxsnap -g snapdg prepare snap-vol1 drl=off ndcomirs=2
3. Link the 2 volumes
# vxsnap -g datadg -b addmir vol1 mirvol=snap-vol1 mirdg=snapdg
dg datadg default default 29000 1202795064.89.bogota
v vol1 - ENABLED ACTIVE 409600 SELECT - fsgen
pl vol1-01 vol1 ENABLED ACTIVE 409600 CONCAT - RW
sd Disk_0-01 vol1-01 Disk_0 0 409600 0 Disk_0 ENA
dc vol1_dco vol1 vol1_dcl
v vol1_dcl - ENABLED ACTIVE 544 SELECT - gen
pl vol1_dcl-01 vol1_dcl ENABLED ACTIVE 544 CONCAT - RW
sd Disk_1-01 vol1_dcl-01 Disk_1 0 544 0 Disk_1 ENA
pl vol1_dcl-02 vol1_dcl ENABLED ACTIVE 544 CONCAT - RW
sd Disk_2-01 vol1_dcl-02 Disk_2 0 544 0 Disk_2 ENA
ln vol1_ln vol1 vol1_dco
dg snapdg default default 36000 1202795077.91.bogota
v snap-vol1 - ENABLED ACTIVE 409600 SELECT - fsgen
pl snap-vol1-01 snap-vol1 ENABLED ACTIVE 409600 CONCAT - RW
sd Disk_4-01 snap-vol1-01 Disk_4 0 409600 0 Disk_4 ENA
dc snap-vol1_dco snap-vol1 snap-vol1_dcl
v snap-vol1_dcl - ENABLED ACTIVE 544 SELECT - gen
pl snap-vol1_dcl-01 snap-vol1_dcl ENABLED ACTIVE 544 CONCAT - RW
sd Disk_5-01 snap-vol1_dcl-01 Disk_5 0 544 0 Disk_5 ENA
pl snap-vol1_dcl-02 snap-vol1_dcl ENABLED ACTIVE 544 CONCAT - RW
sd Disk_6-01 snap-vol1_dcl-02 Disk_6 0 544 0 Disk_6 ENA
ln snap-vol1_ln snap-vol1 snap-vol1_dco
4. To create the linked break-off snapshot,
# vxsnap -g datadg make source=vol1/snapvol=snap-vol1/snapdg=snapdg
dg datadg default default 29000 1202795064.89.bogota
v vol1 - ENABLED ACTIVE 409600 SELECT - fsgen
pl vol1-01 vol1 ENABLED ACTIVE 409600 CONCAT - RW
sd Disk_0-01 vol1-01 Disk_0 0 409600 0 Disk_0 ENA
dc vol1_dco vol1 vol1_dcl
v vol1_dcl - ENABLED ACTIVE 544 SELECT - gen
pl vol1_dcl-01 vol1_dcl ENABLED ACTIVE 544 CONCAT - RW
sd Disk_1-01 vol1_dcl-01 Disk_1 0 544 0 Disk_1 ENA
pl vol1_dcl-02 vol1_dcl ENABLED ACTIVE 544 CONCAT - RW
sd Disk_2-01 vol1_dcl-02 Disk_2 0 544 0 Disk_2 ENA
sp snap-vol1_snp vol1 vol1_dco
dg snapdg default default 36000 1202795077.91.bogota
v snap-vol1 - ENABLED ACTIVE 409600 SELECT - fsgen
pl snap-vol1-01 snap-vol1 ENABLED ACTIVE 409600 CONCAT - RW
sd Disk_4-01 snap-vol1-01 Disk_4 0 409600 0 Disk_4 ENA
dc snap-vol1_dco snap-vol1 snap-vol1_dcl
v snap-vol1_dcl - ENABLED ACTIVE 544 SELECT - gen
pl snap-vol1_dcl-01 snap-vol1_dcl ENABLED ACTIVE 544 CONCAT - RW
sd Disk_5-01 snap-vol1_dcl-01 Disk_5 0 544 0 Disk_5 ENA
pl snap-vol1_dcl-02 snap-vol1_dcl ENABLED ACTIVE 544 CONCAT - RW
sd Disk_6-01 snap-vol1_dcl-02 Disk_6 0 544 0 Disk_6 ENA
sp vol1_snp snap-vol1 snap-vol1_dco
5. Reattaching a linked break-off snapshot
# vxsnap -g snapdg reattach snap-vol1 source=vol1 sourcedg=datadg
FULL SIZED INSTANT SNAPSHOT:
============================
1. Prepare a volume for instant snapshots
# vxsnap -g datadg prepare vol1 ndcomirs=2
v vol1 - ENABLED ACTIVE 409600 SELECT - fsgen
pl vol1-01 vol1 ENABLED ACTIVE 409600 CONCAT - RW
sd Disk_0-01 vol1-01 Disk_0 0 409600 0 Disk_0 ENA
dc vol1_dco vol1 vol1_dcl
v vol1_dcl - ENABLED ACTIVE 544 SELECT - gen
pl vol1_dcl-01 vol1_dcl ENABLED ACTIVE 544 CONCAT - RW
sd Disk_1-01 vol1_dcl-01 Disk_1 0 544 0 Disk_1 ENA
pl vol1_dcl-02 vol1_dcl ENABLED ACTIVE 544 CONCAT - RW
sd Disk_2-01 vol1_dcl-02 Disk_2 0 544 0 Disk_2 ENA
2. Create a similarly sized snap volume
# vxassist -g datadg make snapvol 200m logtype=dco drl=off dcoversion=20 \
ndcomirror=2 init=active \!Disk_0 \!Disk_1 \!Disk_2
v snapvol - ENABLED ACTIVE 409600 SELECT - fsgen
pl snapvol-01 snapvol ENABLED ACTIVE 409600 CONCAT - RW
sd Disk_3-01 snapvol-01 Disk_3 0 409600 0 Disk_3 ENA
dc snapvol_dco snapvol snapvol_dcl
v snapvol_dcl - ENABLED ACTIVE 544 SELECT - gen
pl snapvol_dcl-01 snapvol_dcl ENABLED ACTIVE 544 CONCAT - RW
sd Disk_4-01 snapvol_dcl-01 Disk_4 0 544 0 Disk_4 ENA
pl snapvol_dcl-02 snapvol_dcl ENABLED ACTIVE 544 CONCAT - RW
sd Disk_5-01 snapvol_dcl-02 Disk_5 0 544 0 Disk_5 ENA
3. Create a full sized instant snapshot
# vxsnap -g datadg make source=vol1/snapvol=snapvol
v snapvol - ENABLED ACTIVE 409600 SELECT - fsgen
pl snapvol-01 snapvol ENABLED ACTIVE 409600 CONCAT - RW
sd Disk_3-01 snapvol-01 Disk_3 0 409600 0 Disk_3 ENA
dc snapvol_dco snapvol snapvol_dcl
v snapvol_dcl - ENABLED ACTIVE 544 SELECT - gen
pl snapvol_dcl-01 snapvol_dcl ENABLED ACTIVE 544 CONCAT - RW
sd Disk_4-01 snapvol_dcl-01 Disk_4 0 544 0 Disk_4 ENA
pl snapvol_dcl-02 snapvol_dcl ENABLED ACTIVE 544 CONCAT - RW
sd Disk_5-01 snapvol_dcl-02 Disk_5 0 544 0 Disk_5 ENA
sp vol1_snp snapvol snapvol_dco
v vol1 - ENABLED ACTIVE 409600 SELECT - fsgen
pl vol1-01 vol1 ENABLED ACTIVE 409600 CONCAT - RW
sd Disk_0-01 vol1-01 Disk_0 0 409600 0 Disk_0 ENA
dc vol1_dco vol1 vol1_dcl
v vol1_dcl - ENABLED ACTIVE 544 SELECT - gen
pl vol1_dcl-01 vol1_dcl ENABLED ACTIVE 544 CONCAT - RW
sd Disk_1-01 vol1_dcl-01 Disk_1 0 544 0 Disk_1 ENA
pl vol1_dcl-02 vol1_dcl ENABLED ACTIVE 544 CONCAT - RW
sd Disk_2-01 vol1_dcl-02 Disk_2 0 544 0 Disk_2 ENA
sp snapvol_snp vol1 vol1_dco
4. To wait for the sync to complete
# vxsnap -g datadg syncwait snapvol
After this completes successfully, we can turn the snapshot volume into an individual
volume or move to another dg.
SPACE OPTIMZED INSTANT SNAPSHOT:
================================
1. Create a shared cache object
# vxassist -g datadg make cachevol 20m layout=mirror init=active Disk_3 Disk_4
v cachevol - ENABLED ACTIVE 40960 SELECT - fsgen
pl cachevol-01 cachevol ENABLED ACTIVE 40960 CONCAT - RW
sd Disk_3-01 cachevol-01 Disk_3 0 40960 0 Disk_3 ENA
pl cachevol-02 cachevol ENABLED ACTIVE 40960 CONCAT - RW
sd Disk_4-01 cachevol-02 Disk_4 0 40960 0 Disk_4 ENA
# vxmake -g datadg cache cacheobj cachevolname=cachevol autogrow=on
co cacheobj cachevol DISABLED -
v cachevol cacheobj ENABLED ACTIVE 40960 SELECT - fsgen
pl cachevol-01 cachevol ENABLED ACTIVE 40960 CONCAT - RW
sd Disk_3-01 cachevol-01 Disk_3 0 40960 0 Disk_3 ENA
pl cachevol-02 cachevol ENABLED ACTIVE 40960 CONCAT - RW
sd Disk_4-01 cachevol-02 Disk_4 0 40960 0 Disk_4 ENA
# vxcache -g datadg start cacheobj
2. Create the space-optimized instant snapshot
# vxsnap -g datadg make source=vol1/newvol=snap-vol1/cache=cacheobj alloc=Disk_6
v snap-vol1 - ENABLED ACTIVE 409600 SELECT - fsgen
pl snap-vol1-P01 snap-vol1 ENABLED ACTIVE 409600 CONCAT - RW
sc snap-vol1-S01 snap-vol1-P01 cacheobj 0 409600 0 - ENA
dc snap-vol1_dco snap-vol1 snap-vol1_dcl
v snap-vol1_dcl - ENABLED ACTIVE 544 SELECT - gen
pl snap-vol1_dcl-01 snap-vol1_dcl ENABLED ACTIVE 544 CONCAT - RW
sd Disk_6-02 snap-vol1_dcl-01 Disk_6 544 544 0 Disk_6 ENA
sp vol1_snp snap-vol1 snap-vol1_dco
v vol1 - ENABLED ACTIVE 409600 SELECT - fsgen
pl vol1-01 vol1 ENABLED ACTIVE 409600 CONCAT - RW
sd Disk_0-01 vol1-01 Disk_0 0 409600 0 Disk_0 ENA
dc vol1_dco vol1 vol1_dcl
v vol1_dcl - ENABLED ACTIVE 544 SELECT - gen
pl vol1_dcl-01 vol1_dcl ENABLED ACTIVE 544 CONCAT - RW
sd Disk_1-01 vol1_dcl-01 Disk_1 0 544 0 Disk_1 ENA
pl vol1_dcl-02 vol1_dcl ENABLED ACTIVE 544 CONCAT - RW
sd Disk_2-01 vol1_dcl-02 Disk_2 0 544 0 Disk_2 ENA
sp snap-vol1_snp vol1 vol1_dco
ADMINISTRATION OF SNAPSHOTS:
============================
1. Add a mirror to full-sized break-off snapshot
# vxsnap -g datadg addmir vol1 nmirror=1 alloc=Disk_5
2. To remove a snapshot mirror
# vxsnap -g datadg rmmir vol1
3. To remove a linked break-off snapshot volume link
# vxsnap -g datadg rmmir vol1 mirvol=snap-vol1 mirdg=snapdg
4. To create a cascaded snapshot hierarchy
# vxsnap -g datadg make source=vol1/newvol=wed_bu-snap-vol1/cache=cacheobj
# vxsnap -g datadg make source=vol1/newvol=thurs_bu-snap-vol1/cache=cacheobj/infrontof=wed_bu-snap-vol1
5. Refreshing an instant snapshot
# vxsnap -g datadg refresh snap-vol1 source=vol1
6. Reattaching an instant snapshot. This removes the snapshot
# vxsnap -g datadg reattach snap-vol2 source=vol2
7. Restoring a volume from a snapshot
# vxsnap -g datadg restore vol2 source=snap-vol2
8. To disassociate an instant snapshot, so that the snapshot volume may be used independantly
# vxsnap -g datadg dis snap-vol2
9. After disassociating, a snapshot can be removed using vxedit
# vxedit -g datadg -r rm snap-vol2
10. Displaying instant snapshot information
# vxsnap -g datadg print
# vxsnap -g datadg -vx list
ADMINISTRATION OF CACHE OBJECT:
===============================
The highwatermark, autogrowby and maxautogrow attributes determine how the VxVM cache daemon (vxcached) maintains
the cache if the autogrow feature has been enabled and vxcached is running:
¦ When cache usage reaches the high watermark value, highwatermark (default value is 90 percent), vxcached grows
the size of the cache volume by the value of autogrowby (default value is 20% of the size of the cache volume in
blocks). The new required cache size cannot exceed the value of maxautogrow (default value is twice the size of
the cache volume in blocks).
¦ When cache usage reaches the high watermark value, and the new required cache size would exceed the value of
maxautogrow, vxcached deletes the oldest snapshot in the cache. If there are several snapshots with the same age,
the largest of these is deleted.
If the autogrow feature has been disabled:
¦ When cache usage reaches the high watermark value, vxcached deletes the oldest snapshot in the cache. If there are
several snapshots with the same age, the largest of these is deleted. If there is only a single snapshot, this snapshot
is detached and marked as invalid.
1. To list the space-optimized snapshots that are created on a cache object,
# vxcache -g datadg listvol cacheobj
2. To change the highwatermark for the cache from default 90% to 60%,
# vxcache -g datadg set highwatermark=60 cacheobj
3. Growing or shrinking a cache
# vxcache -g datadg growcacheby|growcacheto|shrinkcacheby|shrinkcacheto cacheobj <size>
4. Removing a cache object:
-- find the snapshot volumes using the cache
# vxprint -g datadg -vne "v_plex.pl_subdisk.sd_dm_name ~ /cacheobj/"
-- Remove these snapshot volumes
# vxedit -g datadg -fr rm snap-new-vol1 thurs_bu-snap-vol1 wed_bu-snap-vol1 wed_bu-snap-vol2 wed_bu-snap-vol21
-- Stop the cache object and remove it
# vxcache -g datadg stop cacheobj
# vxedit -g datadg -rf rm cacheobj
ADDING/REMOVING DCO OBJECTS TO DATAVOL:
=======================================
1. To add a version 0 dco object to a volume,
# vxassist -g datadg addlog vol1 logtype=dco ndcomirror=2
v vol1 - ENABLED ACTIVE 409600 SELECT - fsgen
pl vol1-01 vol1 ENABLED ACTIVE 409600 CONCAT - RW
sd Disk_0-01 vol1-01 Disk_0 0 409600 0 Disk_0 ENA
pl vol1-02 vol1 ENABLED ACTIVE 409600 CONCAT - RW
sd Disk_1-01 vol1-02 Disk_1 0 409600 0 Disk_1 ENA
pl vol1-04 vol1 ENABLED ACTIVE LOGONLY CONCAT - RW
sd Disk_0-02 vol1-04 Disk_0 409600 528 LOG Disk_0 ENA
dc vol1_dco vol1 vol1_dcl
v vol1_dcl - ENABLED ACTIVE 144 SELECT - gen
pl vol1_dcl-01 vol1_dcl ENABLED ACTIVE 144 CONCAT - RW
sd Disk_1-02 vol1_dcl-01 Disk_1 409600 144 0 Disk_1 ENA
pl vol1_dcl-02 vol1_dcl ENABLED ACTIVE 144 CONCAT - RW
sd Disk_0-03 vol1_dcl-02 Disk_0 410128 144 0 Disk_0 ENA
ndcomirror should be equal to number of data plexes in data volume including the number of snapshots.
2. To remove the dco,
# vxdco -g datadg -o rm dis vol1_dco
or
# vxassist -g datadg remove log vol1 logtype=dco