Issue – ESXi 6.7 host had a PSOD. After reboot, vCSA / Host / Configure / Hardware / Memory / Persistent Memory = 0 MB
Troubleshooting-
- The ESXi host UI https://FQDN/ui/#/host/storage/datastores does NOT list the local PMemDS-UUID datastore.
- /ui/#/host/storage/nvdimm/devices/ shows the physical modules and namespaces.
- Booting into the BIOS to run the PMDIMM health check passes. Delete the namespaces, recreating the goal in the BIOS and booting to ESXi does not allow the PMemDS-UUID datastore to be created on boot.
- Maintenance Mode the host.
- Find PMem namespace UUIDs
ls /vmfs/devices/PMemNamespaces/ - This command will reformat and mount PMem volume.
Replace the UUID from above WITHOUT the “PMemNS-” prefix.
You may have 2 UUID to run this command on. No reboot required. Any previous data on the PMem will be lost.
/usr/lib/vmware/mkfsPmem/./autoconfigurePMem.py deleteGpt –uuid 074958a4-11b8-aa48-9020-2b79c85aedc0 - Create the PMem volume. The output should return “<output><bool>true</bool></output>”
/usr/lib/vmware/mkfsPmem/./autoconfigurePMem.py create - Validate via command line and the web client
ls /vmfs/devices/PMemNamespaces/ - Reboot (to ensure this is the fix)
- Exit Maintenance Mode