|Article Number: 535907||Article Version: 2||Article Type: Break Fix|
VxFlex OS 18.104.22.168
When trying to add a device to the acceleration pool, the below message is seen.
# scli --add_sds_device --sds_name xxxxxx --acceleration_pool_name test --device_path /dev/dax0.0 --device_name daxtest
Error: MDM failed command.
The PMEM API is not available
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.  ID: 0000000000000000
The device is visible on the host:
[NVDIMM DEVICE NAME: dax0.0]
The required packages are installed.
# rpm -qa
The message log shows when each package was installed. We can see that the PMEM API was installed on the 16th July.
Jul 15 15:27:56 yum: Installed: daxctl-libs-62-1.el7.x86_64
Jul 15 15:27:56 yum: Installed: ndctl-libs-62-1.el7.x86_64
Jul 15 15:27:56 yum: Installed: oniguruma-5.9.5-3.el7.x86_64
Jul 15 15:27:56 yum: Installed: jq-1.5-1.el7.x86_64
Jul 15 15:27:56 yum: Installed: ndctl-62-1.el7.x86_64
Jul 16 15:04:54 yum: Installed: 1:bash-completion-2.1-6.el7.noarch
Jul 16 15:30:28 yum: Installed:-1.4-3.el7.x86_64
The dax device was created on the 14th July, before the libpmem package was installed.
./dev crw-------. 1 root root 253, 14 Jul 19 14:12 dax0.0
SDS had not been restarted since installing the lipmem package.
When PMEM API is available after SDS is up and running it might not recognize it correctly.
In order to resolve the issue, one of the below steps needs to be applied.
1) Run pkill sds (to restart the SDS service) and then retry to add the dax device
2) Reboot SDS and then retry to add the dax device
Error message: The PMEM API is not available - you will also see this error if "libpmem" package has not been installed (yum install libpmem)