Operating System - HP-UX
1833323 Members
3163 Online
110051 Solutions
New Discussion

vgimport: Cannot open the control file "/dev/vg11/group"

 
SOLVED
Go to solution
FTSE SysAdmin
Frequent Advisor

vgimport: Cannot open the control file "/dev/vg11/group"

Hi,

I'm trying to import a VG from other host and I get the following error msg once I run the vgimport.

vgimport: Cannot open the control file "/dev/vg11/group":
No such device

The producedure that I'm running is:

Other host (lets define as hostA)

vgexport -s -p /tmp/vg04.map vg04
rcp /tmp/vg04.map hostB:/tmp


On hostB I did

mkdir /dev/vg11
mknod /dev/vg11/group c 64 0x110000
vgimport -s -m /tmp/vg04.map vg11 (STOPPED HERE)
vgchange -a r vg11
mount -o ro /dev/vg11/lvol1 /mountpoint


The file permissions of /dev/vg11/group is 660

I've run this procedure on HP11i to mount the same VG and I didn't get this issue that I'm getting on HP11.00

Would someone know any workaround? Many thanks
Miguel Ribeiro
5 REPLIES 5
Cheryl Griffin
Honored Contributor
Solution

Re: vgimport: Cannot open the control file "/dev/vg11/group"

What is maxvgs tuned to in the kernel?
"Downtime is a Crime."
Shaikh Imran
Honored Contributor

Re: vgimport: Cannot open the control file "/dev/vg11/group"

Hi,
Have you physically moved the disk to this server ?
Please try to give the disk device file for vgimport as
vgimport -m /tmp/vg04.map /dev/vg11 /dev/dsk/cxtxdx.

where /dev/dsk/cxtxdx is the disk which you want to import.

Regards
I'll sleep when i am dead.
eran maor
Honored Contributor

Re: vgimport: Cannot open the control file "/dev/vg11/group"

Hi

your problem is with the param MAXVGS
the base param is 10 ( 10 vg's ) , change the param if you need to have more then 10 vg's .

love computers
Juergen Tappe
Valued Contributor

Re: vgimport: Cannot open the control file "/dev/vg11/group"

try to recreate the group file using :

mknod /dev/vg11/group c 64 0x0B0000

remeber its a hex number and decimal 11 = hex B !

Working together
FTSE SysAdmin
Frequent Advisor

Re: vgimport: Cannot open the control file "/dev/vg11/group"

In fact the MAXVGS is 10 :(

Many thinks I'd need to increase this number... I'll give u feed back as soon as I have this server with new value for MAXVGS
Miguel Ribeiro