Operating System - HP-UX
1838648 Members
2888 Online
110128 Solutions
New Discussion

problem with LVM HPUX 11.23 IA 64

 
SOLVED
Go to solution
Chris Fadrowski
Super Advisor

problem with LVM HPUX 11.23 IA 64

trying to create disks in LVM and my normal procedure is not working. These disks are on a HITACHI disk array (AMS500). Hitachi software that is running "dynamic link manager" puts the "h" in the ch5t0d0 path. Nothing to worry about there. Here is what i get

Class I H/W Path Driver S/W State H/W Type Description
============================================================================
disk 0 0/0/3/0.0.0.0 sdisk CLAIMED DEVICE _NEC DVD+-RW ND-6650A
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/1/1/0/4/0.0.0 sdisk CLAIMED DEVICE HP LOGICAL VOLUME
/dev/dsk/c2t0d0 /dev/dsk/c2t0d0s2 /dev/rdsk/c2t0d0 /dev/rdsk/c2t0d0s2
/dev/dsk/c2t0d0s1 /dev/dsk/c2t0d0s3 /dev/rdsk/c2t0d0s1 /dev/rdsk/c2t0d0s3
disk 3 0/4/2/0.97.8.19.0.0.0 zdlmfdrv CLAIMED DEVICE HITACHI DF600F
/dev/dlm/c5t0d0 /dev/dsk/ch5t0d0 /dev/rdsk/ch5t0d0
disk 5 0/4/2/0.97.8.19.0.0.1 zdlmfdrv CLAIMED DEVICE HITACHI DF600F
/dev/dlm/c5t0d1 /dev/dsk/ch5t0d1 /dev/rdsk/ch5t0d1
disk 7 0/4/2/0.97.8.19.0.0.2 zdlmfdrv CLAIMED DEVICE HITACHI DF600F
/dev/dlm/c5t0d2 /dev/dsk/ch5t0d2 /dev/rdsk/ch5t0d2
disk 8 0/4/2/0.97.8.19.0.0.3 zdlmfdrv CLAIMED DEVICE HITACHI DF600F
/dev/dlm/c5t0d3 /dev/dsk/ch5t0d3 /dev/rdsk/ch5t0d3
disk 9 0/4/2/0.97.8.19.0.0.4 zdlmfdrv CLAIMED DEVICE HITACHI DF600F
/dev/dlm/c5t0d4 /dev/dsk/ch5t0d4 /dev/rdsk/ch5t0d4
disk 10 0/4/2/0.97.8.19.0.0.5 zdlmfdrv CLAIMED DEVICE HITACHI DF600F
/dev/dlm/c5t0d5 /dev/dsk/ch5t0d5 /dev/rdsk/ch5t0d5
disk 2 0/5/1/0.97.9.19.0.0.0 zdlmfdrv CLAIMED DEVICE HITACHI DF600F
/dev/dlm/c7t0d0
disk 4 0/5/1/0.97.9.19.0.0.1 zdlmfdrv CLAIMED DEVICE HITACHI DF600F
/dev/dlm/c7t0d1
disk 6 0/5/1/0.97.9.19.0.0.2 zdlmfdrv CLAIMED DEVICE HITACHI DF600F
/dev/dlm/c7t0d2
disk 11 0/5/1/0.97.9.19.0.0.3 zdlmfdrv CLAIMED DEVICE HITACHI DF600F
/dev/dlm/c7t0d3
disk 12 0/5/1/0.97.9.19.0.0.4 zdlmfdrv CLAIMED DEVICE HITACHI DF600F
/dev/dlm/c7t0d4
disk 13 0/5/1/0.97.9.19.0.0.5 zdlmfdrv CLAIMED DEVICE HITACHI DF600F
/dev/dlm/c7t0d5
root@host:/>vgcreate vgu10 /dev/dsk/ch5t0d0
vgcreate: Cannot open the control file "/dev/vgu10/group":
No such device
root@host:/>rm -R /dev/vgu10
root@host:/>mkdir /dev/vgu10
root@host:/>mknod /dev/vgu10/group c 64 0xA0000
root@host:/>vgcreate vgu10 /dev/dsk/ch5t0d0
vgcreate: Cannot open the control file "/dev/vgu10/group":
No such device

why "cannot open the control file /dev/vgu10/group

clearly it exists. I did my pvcreate -f /dev/rdsk/ch5t0d0 and it reported no issues.
5 REPLIES 5
Patrick Wallek
Honored Contributor
Solution

Re: problem with LVM HPUX 11.23 IA 64

Your mknod syntax is slightly incorrect.

It should be:

mknod /dev/vgu10/group c 64 0x0a0000

There must be 6 hex characters after the '0x' in the minor number.

Also make sure that your MAXVGS is set high enough to use a '0a' as the minor number. hex a = decimal 10. So MAXVGS must be at least 10.

Denver Osborn
Honored Contributor

Re: problem with LVM HPUX 11.23 IA 64

What do you have maxvgs set to? The default of 10 would allow 0x00 to 0x09 (10 volume groups)... you wouldn't be able to use 0x0A unless maxvgs -ge 11.

If maxvgs is at 10, you'll need to increase it.

kmtune -q maxvgs

-denver
Robert-Jan Goossens
Honored Contributor

Re: problem with LVM HPUX 11.23 IA 64

Chris,

Could you check your kernel parameter maxvgs?

Regards,
Robert-Jan
Chris Fadrowski
Super Advisor

Re: problem with LVM HPUX 11.23 IA 64

actually i did have it 0x0a0000 and it didn't work, it must be the kernel settings you pointed out. I will look at that.

Well, you where right, the setting in maxvgs was incorrect. Slipped my mind even to look at that. thanks.
melvyn burnard
Honored Contributor

Re: problem with LVM HPUX 11.23 IA 64

at least maxvgs i sremoved from HP-UX 11iv3 to my knowledge, one less thing to worry about
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!