Dell PowerEdge R750 EMC PMem 200 Series Users Guide - Page 40
Linux, Identify and con persistent memory device, Listing PMem devices, Create namespace
![]() |
View all Dell PowerEdge R750 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 40 highlights
10 Linux Topics: • Identify and configure persistent memory device • Management utility • Linux errata Identify and configure persistent memory device Listing PMem devices To list all physical devices in the system, run command ndctl list -DHi Create namespace The configuration of namespaces will decide how much memory capacity user wants to expose to the OS. To configure namespace, run the following command: ndctl create-namespace Following command needs to be executed for each region created when the goals were created for the system: ndctl create-namespace -r regionX After creating name spaces, all name spaces are shown using the following command: ndctl list -N To correlate a namespace to a PMem device, use the following command: lsblk NOTE: Ensure you delete all the namespaces before repurposing the PMems. Repurposing includes PMem migration, removal and reconfiguration between memory and App-direct mode Mount file system on namespace device After you see the PMem devices in /device folder, mount the filesystems by using the following commands: mkfs.xfs -f -m reflink=0 /dev/pmemX (X is a natural number ranging from 0 to number of Logical PMem Devices) mkdir /mnt/pmemX mount -o dax /dev/pmemX /mnt/pmemX 40 Linux
![](/manual_guide/products/dell-poweredge-mx750c-emc-pmem-200-series-users-guide-7092c47/40.png)