How to get the WWID of the disk within a RHEL guest on VMware ESX host?

Solution Verified - Updated -

Issue

  • How to obtain a WWID from a VMware guest?
  • How to find WWID of the sd devices to create UDEV rules for VMware exported disk.
  • How to find WWID of the disk in a RHEL guest on ESX host.
  • How to match sd device to vmdk on the VMware host side using WWID
  • Why scsi_id command is not returning disk WWID when run against VMware virtual disks
  • Running scsi_id command on a VMware virtual disk returns no output.
  • multipath fails to create multipath device with the error : "cannot get the the wwid for sdX" on VMware guest, multipath -v4 shows the following errors :

    multipath -v4
    
    -----snip----
    
    /lib/udev/scsi_id exitted with 1
    cannot get the the wwid for sda
    

Environment

  • Red Hat Enterprise Linux (RHEL) 5, 6, 7
    • VMware ESX 4.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In