vmware中的RHEL scsi_id不显示虚拟磁盘的wwid的问题
环境:
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 ~]#
微信赞赏

支付宝赞赏

【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
2021-06-27 windows 10更新升级方法