I am going to share the procedure for how to change the DG name in the veritas volume manager. During the journey, I would like to share major activities performed with DG frequently by the system administrators during their work on the Veritas File System.
Those will be really additional benefits while addressing directly how to change DG name in the Veritas Volume Manager. Just to remind here DG word is being used it relates to word Disk Group.
So let us dive into details into the journey of addressing how to change DG name in the Veritas Volume Manager. So as I mentioned it will reveal many disk group related queries you will come to know below.
Table of Contents
How to Create Disk Group in VxVM
# vxdg init testdg testdisk01=tagmastore-usp0_0129
How to List Disk Group in VxVM
# vxdg list NAME STATE ID loc_camra-sybase-dg enabled,cds 1312111485.39.servername
How to Import Disk Group in VxVM
# vxdg import oracle-dg # vxdg -Cf import oracle-dg
How to Deport Disk Group in VxVM
# vxdg deport oracle-dg
How to Destroy Disk Group in VxVM
# vxdg destroy oracle-dg
How to Flush Disk Group in VxVM
# vxdg flush oracle-dg
How to check free space in Disk Group
# vxdg -g oracle-dg free
How to add the new disk to Disk Group
#vxdg -g oracle-dg adddisk HDS_00BA=tagmastore-usp0_00ba
How to Remove Disk from Disk Group
# vxdg -g oracle-dg rmdisk HITACHIDISK_00BA=tagmastore-usp0_00ba
How to Join Disk Group
# vxdg join <Source DG> <Target DG> ==> This will merge contents of <Source DG> with target DG.
How to Move the Disk Group
# vxdg move oracle-dg sybase-dg temp log It can move volumes from one disk group to another.
How to Recover Disk Group in VxVM
# vxrecover –bg oracle-dg –s
How to Set Disk Group Attributes
# vxdg set oracle-dg attribute=value
How to Split Disk Group in VxVM
For splitting volumes, vol3 and vol4, from the disk group named old_dg, to form a new disk group, new_dg.
# vxdg split olddg mynewdg vol3 vol4
How to Change the DG Name in Veritas Volume Manager
Step by Step Procedure on how to change the DG name in Veritas Volume Manager. You can rename the disk group using a deport and import option.
1. Check the list of Disk Group in system # vxdg list NAME STATE ID testdg enabled,cds 1603712110.15.servername 2.Deport the Disk Group # vxdg deport testdg 3. Import the disk Group with New Name # vxdg -n newdg import testdg 4.Validate # vxdg list NAME STATE ID newdg enabled,cds 1603712110.15.servername
That,s it. This is all about how to change the DG name in Veritas Volume Manager.
Please let me know in case of any query related to the process of how to change the DG name in Veritas Volume Manager.
Please do share if you have any other better idea on the subject if any in the comment section. That will really help our readers and they get benefited with your valuable suggestion.
If you like this post request you to share among your circle and do subscribe to our blog to get regular updates whenever new such posts are published.
Other Related Topics