Operating System - HP-UX
1840360 Members
2782 Online
110163 Solutions
New Discussion

Remove volume group and extend cluster VG.

 
Mutum
Frequent Advisor

Remove volume group and extend cluster VG.

I have volume group which it was used under Serviceguard cluster, it was used by one of the pkage, the pakge already removed, this group was consisiting of two phsyical volumes (2 disks)mirrored from two different arrays, I want to remove this volume group and utilized those disks to exetnd an exisiting volume group.
I removed the pkages, I breack the mirror by vgreduce, but still one of the disks under that vg, VG can't be removed becuse it's under cluster, I removed the entery of this vg from the cluster.conf file, but still.

Can some help, and also I need advice on how to extend mirrored vg which consist of three disks from two diff arrays by adding additional two disks to both arrays.
TQ
BAGI
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: Remove volume group and extend cluster VG.

Shalom TQ,

Suggestion: lvremove all logical volumes in the vg. list them with vgdisplay -v vgname

vgexport vgname

Now you should be able to re-assign the disk.

SEP
Safe.
Really!
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Steven E. Protter
Exalted Contributor

Re: Remove volume group and extend cluster VG.

Shalom TQ,

Suggestion: lvremove all logical volumes in the vg. list them with vgdisplay -v vgname

vgexport vgname

Now you should be able to re-assign the disk.

I suggest you break the mirrors, extend without mirroring and then rebuild teh mirrors with lxextend -m 1 commands.

Mirros can be broken with lvsplit lvextend -m -0 command.

SEP
Safe.
Really!
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com