Operating System - HP-UX
1846643 Members
2365 Online
110256 Solutions
New Discussion

Re: cannot extend Logical Volume

 
Musaddaq
Occasional Contributor

cannot extend Logical Volume

we have created volume group in shared mode and now i am not able to extend a logical volume.
I tried
# lvcreate -n P901_control_01.ctl -L 110 /dev/vg_rac1
lvcreate: The volume group "/dev/vg_rac1" is active in Shared Mode.
Cannot perform configuration change.


# vgchange -a n /dev/vg_rac1
Deactivated volume group in Shared Mode.
Volume group "/dev/vg_rac1" has been successfully changed.

lvcreate -n P901_control_01.ctl -L 110 /dev/vg_rac1
lvcreate: The volume group "/dev/vg_rac1" is not active. Only an active
volume group can be extended.

root@Kddrac1/$>vgchange -a y /dev/vg_rac1
vgchange: Activation mode requested for the volume group "/dev/vg_rac1" conflicts with

configured mode.

2 REPLIES 2
Jeff Schussele
Honored Contributor

Re: cannot extend Logical Volume

Hi,

You need to make the VG non-cluster aware:

vgchange -a n /dev/vg_rac1
vgchange -c n /dev/vg_rac1

Then activate it

vgchange -a y /dev/vg_rac1

Then extend the LV & deactivate it. Then make it cluster aware once more & reactivate it

vgchange -c y /dev/vg_rac1
vgchange -a e /dev/vg_rac1

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Musaddaq
Occasional Contributor

Re: cannot extend Logical Volume

Thanx jef
It is working fine now.
Thanx a lot for ur reply.
regards
Musaddaq