You may find the scsi_id command returns a null result in CentOS 6 or RHEL 6 on VMware.
[root@localhost ~]# scsi_id -g -u -d /dev/sdb [root@localhost ~]#
The problem here is that VMware Workstation does not provide unique SCSI identifiers to the virtual SCSI devices. We need to modify the VMX file to make this happen by adding the following directive:
disk.EnableUUID = "TRUE"
Restart the VM and now the scsi_id command should work:
[root@localhost ~]# scsi_id -g -u -d /dev/sdb 36000c2980c56d98cc5150a0ac103058d

Where does the UUID=true config go in the VMX file?
Hi Morgan,
The line can go anywhere in the file. It doesn’t matter.
I usually sort the VMX files before saving them again to make it easier for me to read, but that is not necessary.
Gruff.
Btw. In my VMWare Player, I need to shut down the VM first and then after shut down add the changes, as it was removing the new added entries when rebooting the VM.