Operating System - HP-UX
1827286 Members
2115 Online
109717 Solutions
New Discussion

lvcreate error: volume group is active in Shared Mode

 
SOLVED
Go to solution
Roy Tamburri
New Member

lvcreate error: volume group is active in Shared Mode

Hello,

Trying to create new lvol and am getting the following message on a 2 node cluster:

lvcreate: The volume group "/dev/vgsg1" is active in Shared Mode.
Cannot perform configuration change.

Any help would be appreciated.

Thanks,
Roy
4 REPLIES 4
Steven E. Protter
Exalted Contributor
Solution

Re: lvcreate error: volume group is active in Shared Mode

Shalom Roy,

vgchange -s n

You may need to shut down packages in order to do this kind of LVM work.

SEP
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
Shahul
Esteemed Contributor

Re: lvcreate error: volume group is active in Shared Mode

Hi,

The volume group activated in sared mode you can not do any logical volume activities. You need to disale shared mode to perform this.

Best of luck
Shahul
Prashant Zanwar_4
Respected Contributor

Re: lvcreate error: volume group is active in Shared Mode

you have VG activated on more than one node.
you need to go on other nodes, take DB/apps down on other host, do vgchange on VG in question, make it unshared, make is non cluster aware, do vgchange -a n, export from other nodes..

Come on this node, do it unshared, not cluster aware, vgchange -a n, vgchange -a y..
Create lvols.. then again work in reverse.. make it cluster aware, shared on node u working on, export and create map, copy map to other nodes, with help of previous disk files and these map files import VG back,
Hope this helps
Prashant
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
Roy Tamburri
New Member

Re: lvcreate error: volume group is active in Shared Mode

Problem resvoled. Thanks to all.