Dell PowerEdge R740 EMC NVDIMM-N Persistent Memory User Guide - Page 42

Linux, Identify and Con PMEM —Persistent Memory Device

Page 42 highlights

10 Linux NVDIMM-N hardware is supported on versions 7.3, 7.4 , 7.5 and 7.6 versions of RHEL. Topics: • Identify and Configure PMEM -Persistent Memory Device • Installation • Verify Existing Filesystem • Read-Only Mode NVDIMM-N • Interleave • Management Utility • RHEL 7.6 features • Linux Errata Identify and Configure PMEM -Persistent Memory Device When the OS is up running, verify that NVDIMM-Ns are populated correctly. Go into root user $ su Identify whether NVDIMM-Ns appear as /dev/pmem0, /dev/pmem1, .. /dev/pmemN, where N is a natural number. # ls /dev/pmem* Check the size of NVDIMM-N devices /dev/pmem0 to /dev/pmemN # lsblk Create xfs file system for all pmemN devices # mkfs.xfs /dev/pmem0 Create directories on all nvdimmN # mkdir -p /mnt/nvdimm0 # mount -t xfs -o dax /dev/pmem0 /mnt/nvdimm0 Save the mount point and option so that devices are mounted on next reboot. # echo "/dev/pmem0 /mnt/nvdimm0 xfs dax 0 0" >> /etc/fstab Write or copy files onto /mnt/nvdimm0 # echo "writing into nvdimm" >> /mnt/nvdimm0/write.txt # shutdown 42 Linux

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53

Linux
NVDIMM-N hardware is supported on versions 7.3, 7.4 , 7.5 and 7.6 versions of RHEL.
Topics:
Identify and Configure PMEM —Persistent Memory Device
Installation
Verify Existing Filesystem
Read-Only Mode NVDIMM-N
Interleave
Management Utility
RHEL 7.6 features
Linux Errata
Identify and Configure PMEM —Persistent
Memory Device
When the OS is up running, verify that NVDIMM-Ns are populated correctly.
Go into root user
$ su
Identify whether NVDIMM-Ns appear as /dev/pmem0, /dev/pmem1, .. /dev/pmemN, where N is a natural number.
# ls /dev/pmem*
Check the size of NVDIMM-N devices /dev/pmem0 to /dev/pmemN
# lsblk
Create xfs file system for all pmemN devices
# mkfs.xfs /dev/pmem0
Create directories on all nvdimmN
# mkdir –p /mnt/nvdimm0
# mount –t xfs –o dax /dev/pmem0 /mnt/nvdimm0
Save the mount point and option so that devices are mounted on next reboot.
# echo "/dev/pmem0 /mnt/nvdimm0 xfs dax 0 0" >> /etc/fstab
Write or copy files onto /mnt/nvdimm0
# echo “writing into nvdimm” >> /mnt/nvdimm0/write.txt
# shutdown
10
42
Linux