Menu
InformatiWeb Pro
  • Index
  • System admin
  • Virtualization

Login

Registration Password lost ?
FR
  • Windows Server
    • WMS 2012
    • WS2012 R2
    • WS2016
  • Citrix
    • Citrix NetScaler Gateway
    • Citrix XenApp / XenDesktop
    • Citrix XenServer
  • VMware
    • VMware ESXi
    • VMware vSphere
    • VMware Workstation
  • Microsoft
    • Hyper-V
  • RAID
    • Adaptec SmartRAID
  • UPS
    • APC Back-UPS Pro
  • InformatiWeb Pro
  • Virtualization
  • VMware
  • Use real (PMem) or simulated (vPMem) persistent memory on VMware vSphere 6.7 via virtual disks

Use real (PMem) or simulated (vPMem) persistent memory on VMware vSphere 6.7 via virtual disks

  • VMware
  • VMware vCenter Server (VCSA), VMware vSphere
  • 07 February 2025 at 08:31 UTC
  • InformatiWeb
  • 4/4
Previous page

9. Data lost

Start your virtual machine.

This time, this virtual machine works again and starts correctly.

However, the "vPMEM" partition created previously in this tutorial will no longer appear in file explorer.

If you right-click "Manage" on "This PC" and go to Disk Management, you will see that an uninitialized disk has appeared.
This matches the disk you just recreated, but obviously the data on the old virtual hard disk will have been lost.

10. Disable simulated persistent memory

If you want to disable simulated "persistent" memory on your VMware ESXi host, you will first need to remove the virtual persistent memory disks (vPMemDisk), as well as any NVDIMMs that allow you to use virtual persistent memory (vPMem). from compatible guest operating systems that you have added to different virtual machines.

To do this, select a virtual machine using persistent memory (PMem) and click on the "Edit Settings" icon.

In this case, we used a SCSI virtual hard disk stored in PMem.
This you can see by the VM storage policy used (Host-local PMem Default Storage Policy) or by looking at its location.
As you can see, the ".vmdk" file of this virtual hard disk is located in a "PMemDS-..." datastore which corresponds to the persistent memory of your host.

Hover over the "Hard disk x" line and click on the cross that appears on the right to remove it.

The message "The device and content will be deleted" will appear.

The desired hard drive has been removed from the VM hardware of this virtual machine.

Once you have removed all the SCSI virtual hard disks stored in a "PMemDS-..." datastore, as well as the NVDIMMs (and their NVDIMM controller) from your virtual machines, all that remains is to disable use of simulated "persistent" memory.
To do this, access the web interface of your VMware ESXi host and go to: Host -> Manage -> System -> Advanced settings.
Next, type "fake" in the search box, select the advanced setting "VMkernel.Boot.fakePMemPct" that appears and click: Edit option.

Specify the value "0" to disable simulated persistent memory usage and click Save.

The message "Successfully changed VMkernel.Boot.fakePMemPct" appears.

Now, make sure the virtual machines present on your host are shut down and restart your VMware ESXi host.

Note: as you can see in the image below, at the moment we have 32 GB of memory (RAM) and 32 GB of persistent memory (PMem).

Confirm restarting your host.

Once your VMware ESXi host has restarted, you will see that you no longer have persistent memory (PMem) and that you have recovered all of the RAM available on your server.

If you view your VMware ESXi host information from the vSphere Client of your VMware vCenter Server (or VCSA), you will see that the "Persistent Memory" line has disappeared from its hardware.

Share this tutorial

Partager
Tweet

To see also

  • VMware ESXi 6.7 - Secure the server with a SSL certificate

    VMware 6/22/2022

    VMware ESXi 6.7 - Secure the server with a SSL certificate

  • VMware vSphere 6.7 - Extend a virtual hard disk (Windows guest OS)

    VMware 5/3/2024

    VMware vSphere 6.7 - Extend a virtual hard disk (Windows guest OS)

  • VMware vSphere 6.7 - Manage roles, users and permissions

    VMware 6/21/2024

    VMware vSphere 6.7 - Manage roles, users and permissions

  • VMware vSphere 6.7 - Secure access to VMware vCenter Server (VCSA) over HTTPS (via SSH)

    VMware 10/30/2024

    VMware vSphere 6.7 - Secure access to VMware vCenter Server (VCSA) over HTTPS (via SSH)

Comments

No comment

Share your opinion

Pinned content

  • Software (System admin)
  • Linux softwares
  • Our programs
  • Terms and conditions
  • Share your opinion

Contact

  • Guest book
  • Technical support
  • Contact

® InformatiWeb-Pro.net - InformatiWeb.net 2008-2022 - © Lionel Eppe - All rights reserved.

Total or partial reproduction of this site is prohibited and constitutes an infringement punishable by articles L.335-2 and following of the intellectual property Code.