V_Ahire
14 years agoLevel 2
Identify device from their VxDMP id
How do i identify the disk device from their VxDMP id.
for e.g., "VxDMP48" is associated with which disk/LUN.
I need this information to troubleshoot below error.
"kernel: Buffer I/O error on device VxDMP48, logical block 1"
Regards,
Viralkumar Ahire
Hi Viral,
Not sure what exactly are you looking for so I will try to answer your original question and I hope the following helps:
Find the major and minor number of the VxDMP[*] device from /proc/partitions
Look for that major and minor number in the /dev/vx/dmp/
For instance, lets consider a device VxDMP6
# grep VxDMP6 /proc/partitions201 80 5242880 VxDMP6Here we can see that the major number is 201 and minor number is 80.201 is for the DMP device driver which can be found in /proc/devicesNow we know the major and minor number of the device. Run the following to find the corresponding DMP device (Locate the major and minor number):For example:ls -l /dev/vx/dmp/brw------- 1 root root 201, 80 Nov 10 20:36 sdhThis might seem the long way but I am not sure if a shorter method exists.