# vxdisk list | grep rootdg
# vxprint -ht -g rootdg
# vxprint -hmQq -g rootdg vol01 vol02 vol03 > /tmp/volinfo
# vxvol -g rootdg stop vol01 vol02 vol03
# vxedit -g rootdg -r rm vol01 vol02 vol03
# vxdg -g roodg rmdisk rootdg01 rootdg02 rootdg03 rootdg04
# vxdg init newdg rootdg01=c1t2d0s2
# vxdg -g newdg adddisk rootdg02 rootdg03 rootdg04
# vxdisk list | grep newdg
# vxmake -g newdg -d /tmp/volinfo
# vxprint -ht -g newdg
# vxdisk -s list
(example)
Disk: c1t5d0s2 type: sliced flags: online ready private autoconfig autoimport imported diskid: 824180434.4523.csclust2 dgname: rootdg dgid: 824180442.4528.csclust2 hostid: csclust1 Disk: c1t9d0s2 type: sliced flags: online ready private autoconfig autoimport imported diskid: 824180440.4525.csclust2 dgname: rootdg dgid: 824180442.4528.csclust2 hostid: csclust1 Disk: c1t13d0s2 type: sliced flags: online ready private autoconfig autoimport imported diskid: 830532975.3418.csclust1 dgname: rootdg dgid: 824180442.4528.csclust2 hostid: csclust1
# vxdg -C -n newdg import 824180442.4528.csclust2