VxVM 6.1 – How to manage Veritas Diskgroups with vxdg command?
Other Learning Articles that you may like to read
Free Courses We Offer
Paid Training Courses we Offer
To import the disk group, mydg:
# vxdg import mydg
# vxdg -g mydg free
# vxdg deport mydg
# vxdg -n newdg import mydg
# vxdg -o reminor -n dg2 -o useclonedev=on -o updateid import dg1
# vxdg -c -g mydg adddisk disk1
# vxdg move olddg newdg vol1 vol2
# vxdg split olddg mynewdg vol3 vol4
# vxdg join olddg testdg
# vxdg -n snapdg -o useclonedev=on -o updateid import mydg
# vxdg -g mydg listssbinfo
# VxVM vxdg listssbinfo NOTICE V-0-0-0 There are 2 poolsAll the disks in the first pool have the same config copiesAll the disks in the second pool may not have the same config copiesNumber of disks in the first pool: 1Number of disks in the second pool: 1
# /usr/sbin/vxdg (-s) -o selectcp=1215378871.300.vm2850lx13 import mydg
# /usr/sbin/vxdg (-s) -o selectcp=1215378869.294.vm2850lx13 import mydg
# vxdg -v -g mydg listssbinfo
VxVM. vxdg listssbinfo NOTICE V-0-0-0 There are 2 poolsAll the disks in the first pool have the same config copiesAll the disks in the second pool may not have the same config copies
# /etc/vx/diag.d/vxprivutil dumpconfig <private path>
# /usr/sbin/vxdg (-s) -o selectcp=<diskid> import mydgPool 0DEVICE DISK DISK ID DISK PRIVATE PATHmydg1 sdp 1215378871.300.vm2850lx13 /dev/vx/rdmp/sdp5Pool 1DEVICE DISK DISK ID DISK PRIVATE PATHmydg2 sdo 1215378869.294.vm2850lx13 /dev/vx/rdmp/sdo5
- /etc/vx/volboot File containing VxVM configuration information.
- /etc/default/vxdg Default attribute definitions file for the vxdg command.
HI Ram,
I article on Converting a Native Zone to Kernel Zone on Sparc architecture with http based IPS Repos. Thanks