no /dev/disk/by-id for scsi LUNs on VMWare ESX

This document (7002966) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server 11
SUSE Linux Enterprise Server 10
 

Situation

There is no link in /dev/disk/by-id for SCSI (sdx) devices.
The OS is running as a guest on VMWare ESX

Resolution

By default VMWare doesn't provide information needed by udev to generate /dev/disk/by-id.
This can be done by setting the following:
  1. Start the vSphere Client, and log in to a vCenter Server.
  2. Select Virtual Machines and Templates and click the Virtual Machines tab.
  3. Right-click the virtual machine for which you are enabling the disk UUID attribute, and select Power > Power Off.
    The virtual machine powers off.
  4. Right-click the virtual machine, and click Edit Settings.
  5. Click the Options tab, and select the General entry in the settings column.
  6. Click Configuration Parameters. The Configuration Parameters window appears.
  7. Click Add Row.
  8. In the Name column, enter disk.EnableUUID.
  9. In the Value column, enter TRUE.
  10. Click OK and click Save.
  11. Power on the virtual machine.

Additional Information

This problem is also been seen on VMWare Workstation and VMWare Server. The previous mentioned settings cannot be found on these VMWare products and the problem can not be resolved.

Workaround:
Add the following to the *.vmx file for the virtual machine:
disk.EnableUUID = "TRUE"
Restart the vm machine and the /dev/disk/by-id/scsi**** should be visible.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7002966
  • Creation Date: 04-Apr-2012
  • Modified Date:02-Apr-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback@suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center