Users Guide

/dev/pmem0 /dev/pmem1 마운트합니다.
# mount -t xfs -o dax /dev/pmem0 /mnt/nvdimm0
/dev/pmem0 /dev/pmem1 쓰기 가능한지 확인하려면 다음을 수행합니다.
# touch /mnt/nvdimm0/write.txt
# shutdown
관리 유틸리티
관리 유틸리티 'ndctl' && mdadm
1. 서버에서 PowerOn 버튼을 누릅니다.
2. 섹션 4 지침에 따라 BIOS 설정합니다.
3. 영구 메모리를 활성화하고 "NVDIMM Interleave" 비활성화한 다음 "NVDIMM Read-Only" 비활성화합니다.
4. RHEL 설치하거나 이미 설치되어 있는 경우 OS 시작합니다.
ndctl
ndctl 설치 -- 개발자 옵션
OS 실행 중일 Ethernet 활성화하고 IP 주소를 가져옵니다.
$ 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
ndctl 설치사용자 옵션
ndctl rpm 다음 방법을 통해 RHEL 7.4 릴리스에서 설치할 있습니다.
# yum install ndctl
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