1833780 Members
2258 Online
110063 Solutions
New Discussion

vg create

 
SOLVED
Go to solution
Nobody's Hero
Valued Contributor

vg create

I connected an 12-h autoraid to a K420 running 11.0. I've done this many times before however this time I get an error during creation of the vg.

'vgcreate: Cant open the control file "/dev/vg01/group"
no such device
UNIX IS GOOD
8 REPLIES 8
Ken Hubnik_2
Honored Contributor
Solution

Re: vg create

Sounds like you didn't run the mknod command or it didn't work.

mknod /dev/vg01/group c 64 0x010000
T G Manikandan
Honored Contributor

Re: vg create

it should be something like this

# mknod /dev/vg01/group c 64 0x010000
# vgcreate /dev/vg01 /dev/dsk/cxtxdx

your mknod command is wrong.

make sure your minor number is unique in the mknod command.

Revert.
Nobody's Hero
Valued Contributor

Re: vg create

Looks like this:

crw-r--r-- 1 root sys 64 0x0a0000 Feb 5 07:57 group

could the '0a' be giving the system the wrong value?
UNIX IS GOOD
Ken Hubnik_2
Honored Contributor

Re: vg create

Yep .... that corresponds to the vgxx number. It should be 01
Chris Wilshaw
Honored Contributor

Re: vg create

Robert,

Check out my response on your other copy of this question.

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xa02731ec5e34d711abdc0090277a778c,00.html
Karthik S S
Honored Contributor

Re: vg create

To quicky decide weather you have duplicate minor numbers do

"ll /dev/*/group" ..

Regards,
Karthik
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
T G Manikandan
Honored Contributor

Re: vg create

your default MAXVGS parameter is 10 which allows

0x010000 to 0x090000

0x0a0000 goes against the MAXVGS parameter.

Pete Randall
Outstanding Contributor

Re: vg create

TG beat me to it - it's the maxvgs kernel parameter's default value of 10 that's killing you. You need to pick a unique minor number between 0 and 9.

Pete

Pete