PowerFlex:无法添加在安装 libpmem Pkg 之前创建的 DAX 设备

Summary: 本文介绍用户在将“DAX”设备添加到加速池时可能看到的错误。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

尝试将设备添加到加速池时,会看到以下消息。

 # scli --add_sds_device --sds_name xxxxxx --acceleration_pool_name test --device_path /dev/dax0.0 --device_name daxtest

Error: MDM 命令失败。PMEM API 不可用。

Events log:
609   2019-07-19 13:40:44.211 OPEN_SDS_DEVICE_FAILED    ERROR         Could not open a device on SDS: (Path: /dev/dax0.0). Error message: The PMEM API is not available. 
610   2019-07-19 13:40:44.215 CLI_COMMAND_FAILED        WARNING       Command add_sds_device was not successful. Error code: The PMEM API is not available. [605250] ID: 0000000000000000

设备在主机上可见:

[NVDIMM DEVICE NAME: dax0.0]
is_interleaved:false
worst_dimm_name:nmem0
health_state:ok
life_used_percentage:8
temperature_celsius:255.000000

所需的程序包已安装。

 # rpm -qa 
daxctl-libs-62-1.el7.x86_64 libpmem-1.4-3.el7.x86_64 ndctl-libs-62-1.el7.x86_64 ndctl-62-1.el7.x86_64

消息日志显示每个程序包的安装时间。  我们可以看到,PMEM API 是在 7 月 16 日安装的。

 

Jul 15 15:27:56 yum[354028]: Installed: daxctl-libs-62-1.el7.x86_64
Jul 15 15:27:56 yum[354028]: Installed: ndctl-libs-62-1.el7.x86_64
Jul 15 15:27:56 yum[354028]: Installed: oniguruma-5.9.5-3.el7.x86_64
Jul 15 15:27:56 yum[354028]: Installed: jq-1.5-1.el7.x86_64
Jul 15 15:27:56 yum[354028]: Installed: ndctl-62-1.el7.x86_64
Jul 16 15:04:54 yum[33410]: Installed: 1:bash-completion-2.1-6.el7.noarch
Jul 16 15:30:28 yum[34032]: Installed:-1.4-3.el7.x86_64

DAX 设备是在安装 libpmem 软件包之前的 7 月 14 日创建的。

 ./dev  crw-------. 1 root root 253, 14 Jul 19 14:12 dax0.0

Cause

自安装 lipmem 软件包以来,SDS 未重新启动。

Resolution

修复:
当 PMEM API 在“SDS”启动后可用时,运行它可能无法正确识别它。
要解决此问题,必须应用以下步骤之一。

1) 运行 pkill SDS(以重新启动 SDS 服务),然后重试添加 dax 设备。

或者

2) 重新启动 SDS,然后重试添加 dax 设备。

 

Additional Information

提醒:  
错误消息:PMEM API 不可用 - 如果尚未安装“libpmem”软件包 (yum install “libpmem”),用户可能会看到此错误

Products

PowerFlex appliance R650, PowerFlex appliance R6525, PowerFlex appliance R660, PowerFlex appliance R6625, Powerflex appliance R750, PowerFlex appliance R760, PowerFlex appliance R7625, PowerFlex custom node, PowerFlex custom node R650 , PowerFlex custom node R6525, PowerFlex custom node R660, PowerFlex custom node R6625, PowerFlex custom node R750, PowerFlex custom node R760, PowerFlex custom node R7625, VxFlex Ready Node, VxFlex Ready Node R640, VxFlex Ready Node R740xd, PowerFlex appliance R640, PowerFlex appliance R740XD, PowerFlex appliance R7525, PowerFlex appliance R840, VxFlex Ready Node R840 ...
Article Properties
Article Number: 000168245
Article Type: Solution
Last Modified: 24 Nov 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.