scsi_id not returning any output in a VM on VMware ESX
January 18, 2016 Leave a comment
- scsi_id not returning result:
scsi_id -g -u -d /dev/sdb
No Result - Start the vSphere Client, and log in to a vCenter Server.
- Select Virtual Machines for which you want to retrieve disk unique id. I need this attribute for udev rules to prepare disks for ASM, for example.
- Right-click the virtual machine for which you are enabling the disk UUID attribute, and select Power > Power Off.
The virtual machine powers off. - Right-click the virtual machine, and click Edit Settings.
- Click the Options tab, and select the General entry in the settings column.
- Click Configuration Parameters.
The Configuration Paramters window appears. - Click Add Row.
- In the Name column, enter disk.EnableUUID
- In the Value column, enter TRUE.
- Click OK and click Save.
- Power on the virtual machine.
- Now, it returns id:
scsi_id -g -u -d /dev/sdb
36000c292dfddac7b8934d3293313098e