环境:
workstations 16
问题描述:
[root@192_168_209_128 ~]# uname -r
3.10.0-1160.62.1.el7.x86_64
[root@192_168_209_128 ~]# cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
[root@192_168_209_128 ~]#
[root@localhost ~]# /usr/lib/udev/scsi_id --whitelisted --replace-whitespace –-device=/dev/sda
/dev/sda WWID:
/dev/sda1 WWID:
/dev/sda2 WWID:
/dev/sda3 WWID:
/dev/sdb WWID:
解决方案:
https://access.redhat.com/solutions/302443
文章标题:Why is scsi_id not returning any output in a VM on VMware ESX 4.0 and above
To work around the issue where the SCSI inquiry command does not return expected data,
enable the disk.EnableUUID parameter in the .vmx configuration file as follows:
disk.EnableUUID = "TRUE"
在vmx文件中添加如上内容之后,启动RHEL,验证效果:
[root@localhost ~]# /usr/lib/udev/scsi_id --whitelisted --replace-whitespace --device=/dev/sda
36000c297dfeade11c420a32f0a7c056b
[root@localhost ~]#