How to convert a dmpnode to a diskgroup (dg)

book

Article ID: 100003365

calendar_today

Updated On:

Description

Error Message

vxdmp: [ID 917986 kern.notice] NOTICE: VxVM vxdmp V-5-0-112 disabled path 118/0x9f0 belonging to the dmpnode 291/0x508  

vxdmp: [ID 824220 kern.notice] NOTICE: VxVM vxdmp V-5-0-111 disabled dmpnode 291/0x508

vxdmp: [ID 917986 kern.notice] NOTICE: VxVM vxdmp V-5-0-112 disabled path 118/0xa00 belonging to the dmpnode 291/0x4f8

 vxdmp:[ID824220 kern.notice] NOTICE: VxVM vxdmp V-5-0-111 disabled dmpnode 291/0x4f8

 

vxdmp: [ID 917986 kern.notice] NOTICE: VxVM vxdmp V-5-0-112 disabled path 118/0x9d8 belonging to the dmpnode 291/0x510

vxdmp: [ID 824220 kern.notice] NOTICE: VxVM vxdmp V-5-0-111 disabled dmpnode 291/0x510

vxdmp: [ID 917986 kern.notice] NOTICE: VxVM vxdmp V-5-0-112 disabled path 118/0xa08 belonging to the dmpnode 291/0x500

vxdmp:[ID 824220 kern.notice] NOTICE: VxVM vxdmp V-5-0-111 disabled dmpnode 291/0x500

Resolution

Look in to your error code focusing at the dmpnode that is located right after the word belonging to from the example above. (291/0x508)

The first decimal number is a Major number (291) the second set of characters are the Hexadecimal characters we will be working with to resolve back to a diskgroup (0x508)
1) The next step is to convert 0x508 to decimal
2) By using the Hex to Decimal converter 0x508 hex = 1288 this decimal is the minor number
So, (291/0x508 = 291/1288)
3) The next step is to locate what disk is associated with the Major and Minor number  above.
       Move to /dev/vx/rdmp search for the minor number which is 1288, by issuing this command ls -al | grep 1288 below are the results:
crw-------   1 root     root     291, 1288 Oct 4 22:01 c3t5006048C52A8E7A2d212s0
 
  4) Do a vxdisk –o alldgs list find device c3t5006048C52A8E7A2d212  it will provide you this information below.
c3t5006048C52A8E7A2d212s2 auto:cdsdisk    c4t1d65s2    bscsp01idg   online dgdisabled
From the data you have just gather, you can attach dmpnode 291/0x508  =>
            291/1288 ( which => c3t5006048C52A8E7A2d212  (which=> bscsp01idg (diskgroup)
           If you are using Enclosure Based Names (EBN), you can grep the output from the "vxdisk path" command.
 

Applies To

Tools needed:

Tools that will be needed in converting a Hex string to Decimal number, below is a URL to such a tool:Decimal to Hexadecimal Converter (binaryhexconverter.com)
On a Sun Solaris and HP-UX system you can do the following:
# echo 0x508=D | adb
   Answer: > 1288
There are many more tools that one can use. 

Issue/Introduction

How to determine the disk name referred to by a vxdmp messages by converting the dmpnode Major number / hexadecimal (which will be the minor number once decoded to a decimal). (example= 291/0x508) From /var/adm/ message files