10

VMware ESXI 8.0 固态硬盘、磁盘RAID后未被识别为SSD的解决办法

 1 year ago
source link: https://blog.qiaohewei.cc/2024/01/16/esxi-change-disktype-hdd-to-ssd/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

VMware ESXI 8.0 固态硬盘、磁盘RAID后未被识别为SSD的解决办法

2024年01月16日 178点热度 1人点赞 0条评论

1669349156-hz-tuya.jpg

戴尔R740xd中使用BOSS卡创建了RAID1阵列后安装Vmware ESXI 8.0,在“存储”中的“数据存储”系统不识别磁盘类型为SSD。

%title插图%num

网络上比较多的操作方式是: https://kb.vmware.com/s/article/2013188 ,但经过测试,该方法似乎在Esxi8.0中不起作用。

最终的解决方法是:

#查看磁盘列表
esxcli storage core device list
#将指定设备标记为SSD
esxcli storage hpp device set -d <Device ID 设备ID放这里> -M true
esxcli storage hpp device set -d naa.xxxxxxxxxxxxxxx -M true
#列出已由用户标记为 SSD 的设备 查看配置是否正确
esxcli storage hpp device usermarkedssd list
#执行完毕后重启主机生效
#查看磁盘列表
esxcli storage core device list


#将指定设备标记为SSD
esxcli storage hpp device set -d <Device ID 设备ID放这里> -M true

#例如
esxcli storage hpp device set -d naa.xxxxxxxxxxxxxxx -M true


#列出已由用户标记为 SSD 的设备 查看配置是否正确
esxcli storage hpp device usermarkedssd list


#执行完毕后重启主机生效
%title插图%num

ESXi ESXCLI HPP 命令说明:https://docs.vmware.com/cn/VMware-vSphere/7.0/com.vmware.vsphere.storage.doc/GUID-895AEB6D-58B7-4B4D-99A8-C71D6E853076.html

如何查找Device ID

开启主机SSH,登录后执行 “esxcli storage core device list”,标记位置就是Device ID。

%title插图%num

转载保留原文链接:https://blog.qiaohewei.cc/2024/01/16/esxi-change-disktype-hdd-to-ssd/

1669349156-hz-tuya.jpg

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK