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

Interleave Verification, Read Only Mode NVDIMM-N

Page 44 highlights

When OS is up running, $ su CPU0's 6 NVDIMM-Ns show up as /dev/pmem0, CPU1's 6 NVDIMM-Ns appear as /dev/pmem1. # ls /dev/pmem* View the size of /dev/pmem0 and /dev/pmem1, each should be around 6*16 GB = 96GB because each NVDIMM-N is 16 GB. # lsblk Create xfs file system for /dev/pmem0 and /dev/pmem1 # mkfs.xfs /dev/pmem0 Create directory /mnt/nvdimm0 and /mnt/nvdimm1 # mkdir -p /mnt/nvdimm0 Mount /dev/pmem0 and /dev/pmem1 # mount -t xfs -o dax /dev/pmem0 /mnt/nvdimm0 Save the mount point and option so that devices will be mounted on next reboot. # echo "/dev/pmem0 /mnt/nvdimm0 xfs dax 0 0" >> /etc/fstab Copy files to /mnt/nvdimm0 and /mnt/nvdimm1, then shutdown. # echo "writing into nvdimm" >> /mnt/nvdimm0/write.txt # shutdown Interleave Verification Press Power On button on the server When the OS is up running, $ su Verify contents of /mnt/nvdimm0, and do the same thing for /mnt/nvdimm1 # cat /mnt/nvdimm0 # shutdown Two mounted devices, /mnt/nvdimm0 and /mnt/nvdimm1 will appear, each size is approximately 96GB, or 6x NVDIMM-Ns. The files stored on /mnt/nvdimm0 and /mnt/nvdimm1 will persist across reboots. Read Only Mode NVDIMM-N Press PowerON button on the server Follow the guidance in Section 4 to setup BIOS. Enable the Persistence Memory, enable "NVDIMM Interleave", enable "NVDIMM Read-Only". When OS is up and running, $ su 44 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

When OS is up running,
$ su
CPU0’s 6 NVDIMM-Ns show up as /dev/pmem0, CPU1’s 6 NVDIMM-Ns appear as /dev/pmem1.
# ls /dev/pmem*
View the size of /dev/pmem0 and /dev/pmem1, each should be around 6*16 GB = 96GB because each NVDIMM-N is 16 GB.
# lsblk
Create xfs file system for /dev/pmem0 and /dev/pmem1
# mkfs.xfs /dev/pmem0
Create directory /mnt/nvdimm0 and /mnt/nvdimm1
# mkdir –p /mnt/nvdimm0
Mount /dev/pmem0 and /dev/pmem1
# mount –t xfs –o dax /dev/pmem0 /mnt/nvdimm0
Save the mount point and option so that devices will be mounted on next reboot.
# echo "/dev/pmem0 /mnt/nvdimm0 xfs dax 0 0" >> /etc/fstab
Copy files to /mnt/nvdimm0 and /mnt/nvdimm1, then shutdown.
# echo “writing into nvdimm” >> /mnt/nvdimm0/write.txt
# shutdown
Interleave Verification
Press Power On button on the server
When the OS is up running,
$ su
Verify contents of /mnt/nvdimm0, and do the same thing for /mnt/nvdimm1
# cat /mnt/nvdimm0
# shutdown
Two mounted devices, /mnt/nvdimm0 and /mnt/nvdimm1 will appear, each size is approximately 96GB, or 6x NVDIMM-Ns.
The files stored on /mnt/nvdimm0 and /mnt/nvdimm1 will persist across reboots.
Read Only Mode NVDIMM-N
Press PowerON button on the server
Follow the guidance in Section 4 to setup BIOS.
Enable the Persistence Memory, enable “NVDIMM Interleave”, enable “NVDIMM Read-Only”.
When OS is up and running,
$ su
44
Linux