虚拟机中为何使用scsi_id无法查到磁盘的unid
2015-11-18 21:12
399 查看
There is no link in /dev/disk/by-id for SCSI (sdx) devices.
The OS is running as a host on VMWare ESX
By default VMWare doesn't provi
4000
de information needed by udev to generate /dev/disk/by-id.
This can be done by setting the following:
Start the vSphere Client, and log in to a vCenter Server.
Select Virtual Machines and Templates and click the Virtual Machines tab.
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 Parameters 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.
虚拟机磁盘类型是选择的scsi,但是在使用scsi_id -g -u -s /block/sda 确无法得到unid;
以上操作后就可以得到磁盘的unid
The OS is running as a host on VMWare ESX
Resolution
By default VMWare doesn't provi4000
de information needed by udev to generate /dev/disk/by-id.
This can be done by setting the following:
Start the vSphere Client, and log in to a vCenter Server.
Select Virtual Machines and Templates and click the Virtual Machines tab.
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 Parameters 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.
虚拟机磁盘类型是选择的scsi,但是在使用scsi_id -g -u -s /block/sda 确无法得到unid;
以上操作后就可以得到磁盘的unid
相关文章推荐
- XP下使用虚拟机安装配置Solaris[多图]
- VirtualBox虚拟机XP与宿主机Ubuntu互访共享文件夹
- Linux下三大免费桌面虚拟机评测
- 用 GNOME Boxes 下载一个操作系统镜像
- android 使用虚拟机安装apk(图文教程)
- Vmware虚拟机的安装及配置方法
- 深入解析java虚拟机
- Java虚拟机JVM性能优化(二):编译器
- apache虚拟机配置步骤和修改访问端口的方法(虚拟机端口映射)
- unity3d发布apk在android虚拟机中运行的详细步骤(unity3d导出android apk)
- 用C语言来实现一个简单的虚拟机
- 解析wamp5下虚拟机配置文档
- Java虚拟机JVM性能优化(三):垃圾收集详解
- Java虚拟机最多支持多少个线程的探讨
- Java虚拟机JVM性能优化(一):JVM知识总结
- 虚拟机linux端mysql数据库无法远程访问的解决办法
- Nginx服务器中浏览器本地缓存和虚拟机的相关设置
- 虚拟磁盘空间不足虚拟电脑运行发生错误的原因及解决
- 关于虚拟机的网络连接方式
- ios开发之环境搭建-01