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

Management Utility, ndctl, Install ndctl -- developer option, Check health status of NVDIMM-N, mdadm

Page 45 highlights

Mount /dev/pmem0 and /dev/pmem1 # mount -t xfs -o dax /dev/pmem0 /mnt/nvdimm0 To see whether it is writable on /dev/pmem0 and /dev/pmem1 # touch /mnt/nvdimm0/write.txt # shutdown Management Utility Management Utility 'ndctl' && mdadm 1. Press PowerOn button on the server. 2. Follow the guidance in Section 4 to setup BIOS. 3. Enable the Persistence Memory, disable "NVDIMM Interleave", disable "NVDIMM Read-Only". 4. Install RHEL or start OS if it is already installed. ndctl Install ndctl -- developer option When OS is up running, enable the Ethernet and get an IP address $ ifconfig -a $ git clone https://github.com/pmem/ndctl.git $ cd ndctl $ ./autogen.sh $ ./configure CFLAGS='-g -O0' --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64 $ make # make install Install ndctl - user option ndctl rpm packages can be installed from the RHEL 7.4 releases via # yum install ndctl Check health status of NVDIMM-N # ndctl list --dimms --health --idle' Sample output of 'ndclt list --dimms --health --idle' { "dev":"nmem0", "id":"802c-0f-1711-1648dd20", "state":"disabled", "health":{ "health_state":"ok", "temperature_celsius":27.000000, "life_used_percentage":3 } } mdadm Create software RAID on NVDIMM-Ns. Say there are 6 devices, /dev/pmem0.. /dev/pmem5. Linux 45

  • 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

Mount /dev/pmem0 and /dev/pmem1
# mount -t xfs -o dax /dev/pmem0 /mnt/nvdimm0
To see whether it is writable on /dev/pmem0 and /dev/pmem1
# touch /mnt/nvdimm0/write.txt
# shutdown
Management Utility
Management Utility ‘ndctl’ && mdadm
1.
Press PowerOn button on the server.
2.
Follow the guidance in Section 4 to setup BIOS.
3.
Enable the Persistence Memory, disable “NVDIMM Interleave”, disable “NVDIMM Read-Only”.
4.
Install RHEL or start OS if it is already installed.
ndctl
Install ndctl -- developer option
When OS is up running, enable the Ethernet and get an IP address
$ ifconfig –a
$ git clone
https://github.com/pmem/ndctl.git
$ cd ndctl
$ ./autogen.sh
$ ./configure CFLAGS='-g -O0' --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64
$ make
# make install
Install ndctl – user option
ndctl rpm packages can be installed from the RHEL 7.4 releases via
# yum install ndctl
Check health status of NVDIMM-N
# ndctl list --dimms --health --idle'
Sample output of 'ndclt list --dimms --health --idle'
{
"dev":"nmem0",
"id":"802c-0f-1711-1648dd20",
"state":"disabled",
"health":{
"health_state":"ok",
"temperature_celsius":27.000000,
"life_used_percentage":3
}
}
mdadm
Create software RAID on NVDIMM-Ns.
Say there are 6 devices, /dev/pmem0.. /dev/pmem5.
Linux
45