1833876 Members
1894 Online
110063 Solutions
New Discussion

vgcreate problems

 
SOLVED
Go to solution
dictum9
Super Advisor

vgcreate problems

Any idea what this vgcreate error means?

# mknod /dev/vgHitachiBWS/group c 64 0x110000 # ll /dev/*/group
crw-r----- 1 root sys 64 0x000000 Aug 29 2008 /dev/vg00/group
crw-r--r-- 1 root root 64 0x060000 Dec 1 14:52 /dev/vgHitachiBWD/group
crw-r--r-- 1 root root 64 0x020000 Dec 5 10:16 /dev/vgHitachiJPS/group
crw-r--r-- 1 root root 64 0x070000 Mar 12 10:59 /dev/vgHitachiSBX/group
crw-r--r-- 1 root root 64 0x080000 Dec 1 14:53 /dev/vgJPDsbx/group
crw-r--r-- 1 root root 64 0x090000 Dec 1 14:55 /dev/vgdevsap/group
crw-r--r-- 1 root root 64 0x030000 Oct 1 10:50 /dev/vgsbx/group

# mknod /dev/vgHitachiBWS/group c 64 0x110000

# vgcreate -s 32 -l 128 /dev/vgHitachiBWS /dev/dsk/c10t3d0
vgcreate: Cannot open the control file "/dev/vgHitachiBWS/group":
No such device
#
10 REPLIES 10
Patrick Wallek
Honored Contributor
Solution

Re: vgcreate problems

What is your MAXVGS kernel parameter set to?

If it is the default of 12, then you need to decrease the minor number you are using.

Remember the minor number is in HEX so a HEX 11 = decimas 17.

Try again with:

# rm /dev/vgHitachiBWS/group

# mknod /dev/vgHitachiBWS/group c 64 0x010000

Or you woulc use 04, 05, or 06.
dictum9
Super Advisor

Re: vgcreate problems

Yeah thanks -- I already came to realize that it was a problem,

maxvgs defaults to 10... Need to find time to reset it and bounce the box.
James R. Ferguson
Acclaimed Contributor

Re: vgcreate problems

Hi:

> maxvgs defaults to 10... Need to find time to reset it and bounce the box.

...which means that valid values range from 0x00 to 0x09 or 10 (decimal) volume groups.

Regards!

...JRF...
Roland Piette
Regular Advisor

Re: vgcreate problems

Hi etc,

Is it really necessary to change the kernel parameter an dreboot ?

I see that group 0x010000, 0x040000 & 0x050000 are not used !

You can used them first and do need to reboot.
Sharma Sanjeev
Respected Contributor

Re: vgcreate problems

Hi etc

Yes, Roland Piette is right here
you can use 0x010000, 0x040000 & 0x050000
for new VG as these are not in use as per the output you have pasted above.

So no reboot is required

Regards
Sanjeev
Everything is Possible as " IMPOSSIBLE" word itself says I M POSSIBLE
Suraj K Sankari
Honored Contributor

Re: vgcreate problems

Hi,

Please assign some points who give there valuable time for your problem.

To know how to assign points please go through the below link.


http://forums13.itrc.hp.com/service/forums/helptips.do?#33

Suraj
Sajjad Sahir
Honored Contributor

Re: vgcreate problems

Dear etc
Surely u can use all these minor numbers

the condition is it should be unique and hex

decimal


thanks and regards


sajjad
dictum9
Super Advisor

Re: vgcreate problems

I reset mxvgs kernel variable to "99" and rebooted, and now I can create more VGs.
James R. Ferguson
Acclaimed Contributor

Re: vgcreate problems

Hi (again):

For each increment in 'maxvgs' you will use about 4-8KB of physical memory. Hence, inflating it further than you need is a bit wasteful. Of course, in 11.31, the kernel tunable disappears...

Regards!

...JRF...
dictum9
Super Advisor

Re: vgcreate problems

Thanks for pointing that out.