1825793 Members
2872 Online
109687 Solutions
New Discussion

Re: vgcreate error

 
masood bt
Regular Advisor

vgcreate error

hhln-b00-vmh101:/ # mkdir /dev/vg01.200.app

hhln-b00-vmh101:/ # mknod /dev/vg01.200.app/group c 64 0x0a0000

hhln-b00-vmh101:/ # pvcreate /dev/rdsk/c12t0d4
Physical volume "/dev/rdsk/c12t0d4" has been successfully created.

hhln-b00-vmh101:/ # pvcreate /dev/rdsk/c14t0d4;pvcreate /dev/rdsk/c8t0d4;pvcreate /dev/rdsk/c10t0d4
Physical volume "/dev/rdsk/c14t0d4" has been successfully created.
Physical volume "/dev/rdsk/c8t0d4" has been successfully created.
Physical volume "/dev/rdsk/c10t0d4" has been successfully created.

hhln-b00-vmh101:/ # vgcreate -s 64 vg01.200.app /dev/dsk/c8t0d4
vgcreate: Cannot open the control file "/dev/vg01.200.app/group":
No such device


serverxx:/ # ll /dev/*/group
crw-r----- 1 root sys 64 0x000000 Oct 8 2006 /dev/vg00/group
crw-r----- 1 root sys 64 0x0a0000 Mar 19 22:40 /dev/vg01.200.app/group
crw-r----- 1 root sys 64 0x090000 Mar 19 22:29 /dev/vg01.200.os/group
crw-r----- 1 root sys 64 0x020000 Oct 17 2006 /dev/vg02/group
crw-r----- 1 root sys 64 0x030000 Oct 17 2006 /dev/vg03/group
crw-r----- 1 root sys 64 0x040000 Jan 30 2008 /dev/vg04/group
crw-r----- 1 root sys 64 0x070000 Mar 4 19:31 /dev/vgapp/group
crw-r----- 1 root sys 64 0x080000 Mar 4 19:41 /dev/vglog/group
crw-r----- 1 root sys 64 0x050000 Mar 4 19:01 /dev/vgos/group
serverxx:/ #

I checked the maxvgs value..it is default 10

I have only nine Vgs so far(including the lasst error giving vg)

Any help?
Behind every Great fortune, there is a crime
3 REPLIES 3
James R. Ferguson
Acclaimed Contributor

Re: vgcreate error

Hi:

> I checked the maxvgs value..it is default 10 ...I have only nine Vgs so far(including the last error giving vg)

You need to use a minor number that is less than the 'maxvgs' kernel value. You could use '0x06' or '0x01'.

Regards!

...JRF...
masood bt
Regular Advisor

Re: vgcreate error

I was discussing this with my colleague

the number of VGs is anyway less than 10
so..why cant I create with the minor number 0x0a0000 or 0x0b0000 something like that?

also.. how should i create with mknod 0x650000 (as per my design document)
i tried...it gave me error.

ultimately i used unused minors (0x010000 and 0x060000) ;-)
Behind every Great fortune, there is a crime
Sharma Sanjeev
Respected Contributor

Re: vgcreate error

Hi

also.. how should i create with mknod 0x650000 (as per my design document)
i tried...it gave me error

If you want to use 0xa..... than increase the maxvg value than only u will be able to use this.

Regards
Sanjeev
Everything is Possible as " IMPOSSIBLE" word itself says I M POSSIBLE