Users Guide

Table Of Contents
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
}
}
46
Linux