Operating System - HP-UX
1834611 Members
3709 Online
110069 Solutions
New Discussion

Re: question:minor number 0x120000 error??

 
小马哥_1
Contributor

question:minor number 0x120000 error??

question:minor number 0x120000 error??

#mkdir /dev/appvg
#mknod /dev/appvg/group c 64 0x120000
#vgcreate -s 16 appvg /dev/dsk/c2t6d0
vgcreate: Cannot open the control file "/dev/appvg/group":
No such device

#ls -l /dev/appvg
total 0
crw-rw-rw- 1 root sys 64 0x120000 Nov 13 14:40 group

#xd -x /dev/appvg/group
xd: Invalid offset argument
2 REPLIES 2
Hasan  Atasoy
Honored Contributor

Re: question:minor number 0x120000 error??

hi ;
group number is a hexadecimal number. 0x120000 (12) means 1*16+2=18,
but
kctune | grep maxvg
probabbly returns less than 18. so

1. change maxvg kernel parameter or
2. use less than 12 ( if possible )

Hasan.
Todd McDaniel_1
Honored Contributor

Re: question:minor number 0x120000 error??

I believe maxvgs requires a reboot to set it higher..default is 16 if I remember correctly.

So try to find VG value 16 or below...
Unix, the other white meat.