Operating System - HP-UX
1837262 Members
2462 Online
110115 Solutions
New Discussion

BCV - Volume group not able to create !!!

 
Whitehorse_1
Frequent Advisor

BCV - Volume group not able to create !!!

Hi Admins,,

Please bear with this fishy question..

I ran BCV for a DB server, and when it try mounting to dest. server, I get following error:

"Volume group /dev/vgdbaxy could not be created", and successive LV errors. Can someone throw light on this..

I could find device files/group file for the VG in place...

--WH
Reading is a good course medicine for deep sleep !!
6 REPLIES 6
Todd McDaniel_1
Honored Contributor

Re: BCV - Volume group not able to create !!!

I seem to remember you need to vgexport -p and reimport the vgs on the destination server?
Unix, the other white meat.
Whitehorse_1
Frequent Advisor

Re: BCV - Volume group not able to create !!!

VG is not present in lvmtab.. no qn of vgexport. Im failing in "vgimport" part of BCV.

Bit surprised, I could run,

vgimport -s -m vgdataxyz.map vgdataxyz

I couldnt run (actually runs by BCV)
vgimport -m /var/tmp/vgdataxyz
.mapfile -v /dev/vgdataxyz..

-- WH
Reading is a good course medicine for deep sleep !!
Todd McDaniel_1
Honored Contributor

Re: BCV - Volume group not able to create !!!

hmmm... sorry for these elementary questions.

Did you break the bcv mirror on the source box?

What steps did you take before you attempted to create/mount the BCVS on your dest server?

Unix, the other white meat.
skt_skt
Honored Contributor

Re: BCV - Volume group not able to create !!!


split the bcv
mkdir
mknod(make sure the minor number belongs to a number whose decimal value is lesser than kernel parm maxvgs)
vgchgid (if the BCV reside on the same host as source0
vgimport -p
vgimport
activate
mount
gstonian
Trusted Contributor

Re: BCV - Volume group not able to create !!!

Here's what we do


Create snapshot
ioscan
mkdir /dev/nn
mknod /dev/nn/group...
vgchgid /dev/rdsk/c... /dev/rdsk/c...
vgimport /dev/rdsk/c... /dev/rdsk/c...
vgchange -a y /dev/nn
vgcfgbackup /dev/nn
fsck -F vxfs /dev/nn/lvoln
mount /dev/nn/lvoln /mount/fs


David Child_1
Honored Contributor

Re: BCV - Volume group not able to create !!!

Can you verify that the maxvgs kernel parameter is set to handle the number of volume groups?

kctune -q maxvgs (for 11.23)
kmtune -q maxvgs (for 11.00/11.11)

Then compare this with the number of volume groups defined on the system;

vgdisplay | grep "VG Name" | wc -l
(or)
ls /dev/*/group | wc -l

David