过年在家,决定抽出时间来解决掉之前自己HPA GEN8 EXSi磁盘读写过慢的问题
google 一下发现有人说升级一下就好1果断决定升级一下
esxcli network firewall ruleset set -e true -r httpClient esxcli software profile update -p ESXi-6.5.0-20170702001-standard \ -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml |
[InstallationError] [Errno 28] No space left on device vibs = VMware_locker_tools-light_6.5.0-0.23.5969300 Please refer to the log file for more details.
结果按照操作发现本地报错, google发现有人已经解决了2
cd /tmp/ wget http://hostupdate.vmware.com/software/VUM/PRODUCTION/main/esx/vmw/vib20/tools-light/VMware_locker_tools-light_6.5.0-0.23.5969300.vib |
我在vmware里下载了几次都没有成功,直接去外面下载好,用scp传了回去
md5sum VMware_locker_tools-light_6.5.0-0.23.5969300.vib |
5d5194cdc0795e74c29fa41d41d96110 VMware_locker_tools-light_6.5.0-0.23.5969300.vib
可以对照一下md5摘要,把下载好的vib文件存放到tmp下,然后安装:
esxcli software vib install -f -v /tmp/VMware_locker_tools-light_6.5.0-0.23.5969300.vib |
出现如下结果说明成功了
Installation Result Message: Operation finished successfully. Reboot Required: false VIBs Installed: VMware_locker_tools-light_6.5.0-0.23.5969300 VIBs Removed: VIBs Skipped:
清理空间
需要在设置里开启swap,否则可能回无法下载成功
rm /tmp/VMware_locker_tools-light_6.5.0-0.23.5969300.vib |
现在重新执行更新命令
esxcli software profile update -f -p ESXi-6.5.0-20170702001-standard -d \ https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml |
成功后重新开启防火墙
esxcli network firewall ruleset set -e false -r httpClient |
reference: