ESXi 6.7 can not mount local PMem datastore – Destroy Volume augotconfigurePMem.py

ESXi

ESXi 6.7 can not mount local PMem datastore – Destroy Volume augotconfigurePMem.py

ESXi

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.
  1. Maintenance Mode the host.
  2. Find PMem namespace UUIDs
    ls /vmfs/devices/PMemNamespaces/
  3. 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
  4. Create the PMem volume. The output should return “<output><bool>true</bool></output>”
    /usr/lib/vmware/mkfsPmem/./autoconfigurePMem.py create
  5. Validate via command line and the web client
    ls /vmfs/devices/PMemNamespaces/
  6. Reboot (to ensure this is the fix)
  7. Exit Maintenance Mode