Last week VMware released vSphere 7. The first thing I did was upgrading my homelab. My homelab has two hosts (Shuttle SH370R6 Plus and a Shuttle SH370R8 Plus). After upgrading my hosts from VMware ESXi 6.7 Update 3 to VMware ESXi 7, the NVMe SSDs are not recognized anymore. I Have the following NVMe SSD disks in the hosts:
- Samsung SSD 970 EVO 1TB NVMe
- Samsung SSD 950 PRO 512GB NVMe
My college and fellow vExpert Jesper Alberts encountered the same problem with his Supermicro X9DRL-iF and Samsung 970 EVO MZ-V7E1T0BW NVMe SSD homelab.
To fix this, perform a clean installation of VMware ESXi 7. After the clean installation, the NVMe disks are recognized.
Update May 16, 2020: Jeffrey Kusters experienced the same problem and was able to provide William Lam the support bundle of the host that failed the upgrade. William Lam and the VMware support team discovered quickly that we used the wrong esxcli update command (esxcli software vib update). The correct command to upgrade an ESXI host is: esxcli software profile update. William explains the commands in his blog found here, link.
So the steps when upgrading a standalone ESXi host are:
- Stop the VMs on the ESXi host
- Enter Maintenance Mode
- Copy to VMware ESXI offline bundle to a datastore with enough space available. In this example I use the “nfs01” datastore
- SSH to the host and perform the following command: esxli software sources profile list -d /vmfs/volumes/<datastore>/<ESXofflinebundle.zip>
[root@esxi01:~] esxcli software sources profile list -d /vmfs/volumes/nfs01/ISO/VMware-ESXi-7.0.0-15843807-depot.zip Name Vendor Acceptance Level Creation Time Modification Time ---------------------------- ------------ ---------------- ------------------- ----------------- ESXi-7.0.0-15843807-standard VMware, Inc. PartnerSupported 2020-03-16T10:48:54 2020-03-16T10:48:54 ESXi-7.0.0-15843807-no-tools VMware, Inc. PartnerSupported 2020-03-16T10:48:54 2020-03-16T10:48:54
- This list the image profiles available from the offline bundle
- Execute the command: esxcli software sources profile update -d /vmfs/volumes/<datastore>/<ESXiOfflineBundle.zip> -p <Image profile>
[root@esxi01:~] esxcli software sources profile update -d /vmfs/volumes/nfs01/ISO/VMware-ESXi-7.0.0-15843807-depot.zip -p ESXi-7.0.0-15843807-no-tools
- When the upgrade is completed successfully, reboot the ESXi host
- Log in and exit the maintenance mode on the ESXi host
Thanks, to Jeffrey and William for solving this problem. Great community work!
10 thoughts on “NVMe SSDs are not recognized anymore after upgrading to VMware ESXi 7”
I was able to vSphere & vSAN 7.0 from 6.7 using lifecycle manger. I have Samsung 250GB 960 EVO NVMe M.2 Internal SSD in each of my 3 SuperMicro E300 servers. vSAN 7.0 is reporting the vSAN cluster is healthy.
[root@lab1-esxi:~] esxcli nvme device list
HBA Name Status Signature
——– —— ———
vmhba1 Online nvmeMgmt-nvmhba0
[root@lab1-esxi:~] esxcli nvme device get -A vmhba1
Controller Identify Info:
Serial Number: S3ESNX0K190151K
Model Number: Samsung SSD 960 EVO 250GB
I ran through the updates yesterday on a single host I’ve got at home:
970 EVO NVM 1 TB for cache
860 EVO 1 TB SSD for capacity
I ran the upgrade from a flash drive, and didn’t note any issues with the drives disappearing
any idea if it’s working for Samsung 970 Evo Plus 1 TB NVMe with vSphere/vSAN 7?
or any experience with XPG 8200 Pro 1 TB NVMe and vSphere/vSAN 7?
I have installed Samsung 970 Evo Plus 2TB NVMe on my vSphere 7.
I copied a file of 10Gb from NVMe to NVMe and it too 100 secs.
I should be much quicker than 100 secs.
Any idea how to improve the performance?
Great work, this helped me a lot!
Just a quick note – your command for the actual update is incorrect.
The correct command is like this – without the parameter “sources”.
[root@esxi01:~] esxcli software profile update -d /vmfs/volumes/nfs01/ISO/VMware-ESXi-7.0.0-15843807-depot.zip -p ESXi-7.0.0-15843807-no-tools
1. Upload the following files to esxi “/tmp” directory
(Files can be download from http://22.214.171.124/nvme.7z)
2. SSH run the following commands to install 2 files:
esxcli software vib install -v /tmp/VMware_bootbank_vmware-esx-esxcli-nvme-plugin_126.96.36.199-0.0.8169922.vib
esxcli software vib install -v /tmp/VMW_bootbank_nvme_188.8.131.52-1vmw.6184.108.40.20669922.vib
3. Reboot > Done !! Enjoy 🙂
login as: root
Keyboard-interactive authentication prompts from server:
End of keyboard-interactive prompts from server
The time and date of this login have been sent to the system logs.
All commands run on the ESXi shell are logged and may be included in
support bundles. Do not provide passwords directly on the command line.
Most tools can prompt for secrets or accept them from standard input.
VMware offers supported, powerful system administration tools. Please
see http://www.vmware.com/go/sysadmintools for details.
The ESXi Shell can be disabled by an administrative user. See the
vSphere Security documentation for more information.
[root@localhost:~] esxcli software vib install -v /tmp/VMware_bootbank_vmware-es
Message: Operation finished successfully.
Reboot Required: false
VIBs Installed: VMware_bootbank_vmware-esx-esxcli-nvme-plugin_220.127.116.11-0.0.81 69922
VIBs Removed: VMware_bootbank_vmware-esx-esxcli-nvme-plugin_18.104.22.168-2.48.130 06603
[root@localhost:~] esxcli software vib install -v /tmp/VMW_bootbank_nvme_22.214.171.124
Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
Reboot Required: true
VIBs Installed: VMW_bootbank_nvme_126.96.36.199-1vmw.6188.8.131.5269922
VIBs Removed: VMW_bootbank_nvme_184.108.40.206-1vmw.6220.127.116.1120388
I just purchased a new Intel NUC10i7FNH and installed a Samsung 970 EVO Plus NVME m.2 500GB as well as a Samsung 860 EVO SATA 1TB. Both drives were detected by the ESXi installer, and I chose to install onto the 970 EVO.
After completing a fresh install of ESXi 7.0.0, I’ve noticed that the 860 EVO is not showing up.
Any advice on how to resolve?
saw the answer to my previous message. You upgraded to esxi 7
I have insalled esxi 7 in 128gb samsung M.2 SSD and my 2TB Adata XPG SX8200 Pro M.2 1TB SSD is not detected in storage
I have installed esxi 7 and esxi 6.7 in USB 3 and only 128gb Samsung M.2 is detecetd and not the 2TB M.2 in storage
any help or advise please