VMware vSphere ESXi 8.x
In ESXi 8.0 and earlier versions, the Namespace Attribute Notices feature is disabled by default. This prevents the host from detecting newly created NVMe devices.
To enable the ESXi host to recognize the new NVMe device, follow these steps:
1. Format the NVMe Device ( If the NVMe device has not been changed to be in a supported or expected format)
Execute the following command to format the device to a sector size supported by ESXi:
esxcli nvme device namespace format -A vmhba# -f 0 -n 1 -m 0 -p 0 -l 0 -s 0
For reference, see: Broadcom Knowledge Base Article 388158.
2. Enable Namespace Attribute Notices
Manually enable the Namespace Attribute Notices feature by running:
#esxcli nvme device feature aec set -A vmhba# -v 1
(Replace vmhbaX with the appropriate adapter identifier.)
3. Rescan for Devices
Perform a rescan of the storage adapters to detect the newly configured NVMe device.
Permanent Resolution:
Upgrade the ESXi host to version 9.0 or later, where Namespace Attribute Notices are enabled by default, ensuring automatic detection of new NVMe devices.