1844782 Members
1952 Online
110233 Solutions
New Discussion

error on vgcreate

 
SOLVED
Go to solution
Steven Boyer
Advisor

error on vgcreate

vgcreate: Cannot open control file "/dev/vg_audev_rman920_data/group", no such device.

what is this error
the maxvgs is set to 80.

thanks
Steve
5 REPLIES 5
VK2COT
Honored Contributor

Re: error on vgcreate

Hello,

It seems you did not create a device file for
the new volume group.

What does this command say:

# ls -als /dev/vg_audev_rman920_data/group

If it comes with "no such file" or similar,
then you need to create it through mknod(1)
command. For example, for LVM L1:

# mkdir /dev/vg_audev_rman920_data
# mknod /dev/vg_audev_rman920_data/group c 64 0x010001

(make sure the minor number is unique)

Cheers,

VK2COT
VK2COT - Dusan Baljevic
James R. Ferguson
Acclaimed Contributor
Solution

Re: error on vgcreate

Hi Steve:

What does this show?

# ls -l /dev/vg_audev_rman920_data/group

You should see something like:

crw-r--r-- 1 root sys 64 0x500000 Mar 3 16:23 /dev/vg_audev_rman920_data/group

...which is a limit for maxvgs=80, since 0x50 is 80 in decimal.

Regards!

...JRF...
Steven Boyer
Advisor

Re: error on vgcreate

thanks
we did the mknode and your ls -als shows it. the minor number is 55 and maxvgs=80 which I believe is our problem
Steven Boyer
Advisor

Re: error on vgcreate

oops sorry that was 55 not 50
James R. Ferguson
Acclaimed Contributor

Re: error on vgcreate

Hi Steve:

> oops sorry that was 55 not 50

Yes, and I should have said that the maxiumum value of the 'group'f file's minor number should be one-less than 'maxvgs' since the count is zero-relative.

Of course, if you are running 11.31, 'maxvgs' is deprecated :-)

Regards!

...JRF...