VXVM 6.1 – How to Get Information about current Veritas DMP devices?

vxvm-how-to
Below example will display all the existing DMP devices :
# /etc/vx/bin/vxgetdmpnames
enclosure vendor=SEAGATE product=ST336607LSUN36G serial=DISKS name=disk
    dmpnode serial=303432354139303747590000 name=disk_0
    dmpnode serial=30343235413930424C300000 name=disk_1
    dmpnode serial=30343238413933595A360000 name=disk_2
enclosure vendor=HITACHI product=DF600F serial=77011046 name=ams_wms0
    dmpnode serial=0008 name=ams_wms0_8
    dmpnode serial=0009 name=ams_wms0_9
    dmpnode serial=000A name=ams_wms0_10
. . .
 
To select DMP devices in enclosure ’disk’:
# /etc/vx/bin/vxgetdmpnames enclosure=disk
enclosure vendor=SEAGATE product=ST336607LSUN36G serial=DISKS name=disk
    dmpnode serial=303432354139303747590000 name=disk_0
    dmpnode serial=30343235413930424C300000 name=disk_1
    dmpnode serial=30343238413933595A360000 name=disk_2
To select DMP devices mentioned:
# /etc/vx/bin/vxgetdmpnames dmpnodename=disk_1,disk_2
enclosure vendor=SEAGATE product=ST336607LSUN36G serial=DISKS name=disk
    dmpnode serial=30343235413930424C300000 name=disk_1
    dmpnode serial=30343238413933595A360000 name=disk_2
To redirect output and use it with vxddladm assign names CLI
# /etc/vx/bin/vxgetdmpnames dmpnodename=disk_1,disk_2 > /tmp/names.out
# /usr/sbin/vxddladm assign names file=/tmp/names.out
Ramdev

Ramdev

I have started unixadminschool.com ( aka gurkulindia.com) in 2009 as my own personal reference blog, and later sometime i have realized that my leanings might be helpful for other unixadmins if I manage my knowledge-base in more user friendly format. And the result is today's' unixadminschool.com. You can connect me at - https://www.linkedin.com/in/unixadminschool/

What is in your mind, about this post ? Leave a Reply

Close
  Our next learning article is ready, subscribe it in your email

What is your Learning Goal for Next Six Months ? Talk to us