The solution is quite simple, record it as follows:
1. After the virtual machine shuts down, enter the directory of the virtual machines
2. Modify the Vmx file with a text editor and add the following line anywhere in the Vmx file (usually at the end):
Disk. Enableuuid = "TRUE"
3. Restart the virtual machine, then the SCSI ID can be obtained correctly
#/sbin/scsi_id-g-u-s/block/sdb
36000c2987883511c7f440187ec858a60
Note: After manually modifying the vmx file, if you do any more virtual machine settings, such as adding a disk, modifying the network card type or other operations, disk. The Enableuuid parameter is reset to False, so you will have to re-modify the virtual machine hardware configuration every time you use VMware to change it.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
"VMware" VMware Linux virtual machine cannot get UUID