Testing the process to expand a disk group, need asistance
Hello,
I am fairly new to this Veritas storage world here, so please be patient with me...
I was tasked to expand vx disk groups from 1 trb to 2 trb on a Prod, Test, Dev server before a new client comes on board.
I created a new disk group to test the process in order to get it clean before I attacked the real deal.
The new disk group is dg_acpdev which has 2 disks part of it, but I can't get the maxsize nor can I get these 2 to look at one disk...I have searched online and have seen several resize commands but none of them work.
bash-3.2# vxprint -g dg_acpdev TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0 dg dg_acpdev dg_acpdev - - - - - - dm dg_acpdev_d01 emc1_3ac1 - 35281408 - - - - dm dg_acpdev_d02 emc1_3a7c - 70640128 - - - - v dgacpdev fsgen ENABLED 35280896 - ACTIVE - - pl dgacpdev-01 dgacpdev ENABLED 35280896 - ACTIVE - - sd dg_acpdev_d01-01 dgacpdev-01 ENABLED 35280896 0 - - - v volspec fsgen ENABLED 62914560 - ACTIVE - - pl volspec-01 volspec ENABLED 62914560 - ACTIVE - - sd dg_acpdev_d02-01 volspec-01 ENABLED 62914560 0 - - -
Your 2 disks, emc1_3ac1 and emc1_3a7c were added to the diskgroup. There sizes are as per below output.
dm dg_acpdev_d01 emc1_3ac1 - 35281408 - - - - dm dg_acpdev_d02 emc1_3a7c - 70640128 - - - -
On those two disks you created 2 volumes, dgacpdev and volspec (352808096 and 62914560)
v dgacpdev fsgen ENABLED 35280896 - ACTIVE - - pl dgacpdev-01 dgacpdev ENABLED 35280896 - ACTIVE - - sd dg_acpdev_d01-01 dgacpdev-01 ENABLED 35280896 0 - - - v volspec fsgen ENABLED 62914560 - ACTIVE - - pl volspec-01 volspec ENABLED 62914560 - ACTIVE - - sd dg_acpdev_d02-01 volspec-01 ENABLED 62914560 0 - - -
If you want increase there is a very very small amount of left, but nothing that will impress anyone.
In this scenario, you'll need to more luns to be added to the diskgroup. Then you can run vxassist -g dg_acpdev -r maxzise to see how much you can growby.
You can then use, vxassist / vxresize to increase the respective volume.