When disabling an persistent memory device (nmem), a notice is displayed indicating it is active, eg:
# ndctl disable-dimm nmem0
nmem0 is active, skipping...
disabled 0 nmem
The message indicates there’s at least one active/enabled Region and/or Namespace using the NVDIMM.
All active/enabled Regions and Namespaces must be destroyed an/or disabled prior to disabling the dimm.
# ndctl list -NRD
// Check for mounted file systems using the pmem devices
# df -h
// Check for any running processes that are currently accessing the namespaces
# fuser /dev/pmem0
# ndctl destroy-namespace namespace0.0
# ndctl disable-region region0
# ndctl disable-dimm nmem0
Disclaimer
Copyright© kb.pmem.io 2020. All rights reserved.Document ID
100000017Creation Date
2020-03-12Copyright© kb.pmem.io 2020. All rights reserved.