Operating System - HP-UX
1822582 Members
3328 Online
109642 Solutions
New Discussion

Cannot create new logical volume while the diskgroup is in shared mode.

 
Matthew Murdock
Valued Contributor

Cannot create new logical volume while the diskgroup is in shared mode.

Hp/UX 11.31 March 2011 release, SG 11.20 running Oracle RAC.

 

 1)            We are using LVM MIrroring across the OS's built-in LVM  Shared volume group (not Veritas). When I try to create a new Logical Volume, lvcreate complains about being in Shared mode. There has to be a easier and better way to create new LV's without having to bring the group out of shared mode.

 2)       Best to change to Veritas? Did I create the shared volume group wrong? If I changed to Veritas, is there any different licensing required for disk group sharing on hp/ux?

 

After cluster startup I set the shared mode on the disk group as:

vgchange -S y -c y vg01

vgchange -a s vg01 (on node 1 for server)

vgchange -a s vg01 (on node2 and for client).

1 REPLY 1

Re: Cannot create new logical volume while the diskgroup is in shared mode.

Matthew,

 

Your options depend on which version of LVM your VGs are created as - if you created them as v2.1 volume groups, you can do it online, if they are older than that, you will need to take all but one node of the cluster offline... see the following whitepaper for details:

 

http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01914684/c01914684.pdf


I am an HPE Employee
Accept or Kudo