Operating System - HP-UX
1833863 Members
2269 Online
110063 Solutions
New Discussion

Is the vg[n] no. in syslog a ref to the major node of the VG

 
SOLVED
Go to solution
Andy Keys
New Member

Is the vg[n] no. in syslog a ref to the major node of the VG

In the syslog, when (if?) there is a disk problem and there is an entry like "Failure of disk 0 in volume group vg[3]" does the 3 refer to the major node of the VGs group file ? There was an incident where such a message came out and a disk in vg03 was replaced - however that wasn't the disk at fault - hence the clarification. If it is not the major number what number scheme in being used for the VGs when they appear in the syslog.
Thanks in anticipation.
3 REPLIES 3
Andy Keys
New Member

Re: Is the vg[n] no. in syslog a ref to the major node of the VG

BTW. The major node of vg03 was also 3 hence the confusion :-

$ ls -l /dev/vg03/group
crw-r--r-- 1 root sys 64 0x030000 Sep 11 2002 /dev/vg03/group
Robert-Jan Goossens
Honored Contributor

Re: Is the vg[n] no. in syslog a ref to the major node of the VG

Oct 20 08:46:26 EXX vmunix: LVM: Path (device 0x1f053000) to PV 1 in VG 3 Failed!
Oct 20 08:46:26 EXX vmunix: LVM: vg[3]: pvnum=1 (dev_t=0x1f053000) is POWERFAILED

was it someting like above example ?

Try searching next time for the disk.

device 0x1f053000

0x1f053000 ---> split it in 0x1f + 053000

# echo "0x1f=D" | adb
31 = major number

# lsdev -b 31
Character Block Driver Class
188 31 sdisk disk

# ll /dev/dsk | grep 053000
brw-r----- 1 bin sys 31 0x053000 May 18 2000 c5t3d0

Hope this helps,
Robert-Jan
Albert_31
Trusted Contributor
Solution

Re: Is the vg[n] no. in syslog a ref to the major node of the VG

Hello Andy,

In the message vg[x], the [x] denotes the minor number of the volume group.

In the given example
crw-r--r-- 1 root sys 64 0x200000 May 6 2005 group

20 is the minor number of the volume group.

Regards

Albert