PowerFlex:作为 DAX 设备的 NVDIMM 无法重新配置命名空间:Invalid argument

Summary: 在执行“准备 DAX 设备”第 9 节 —“将命名空间设备转换为类型为 /dev/daxX.X: 的加速设备名称”的“部署 VxFlex OS v3.x”中的过程期间,系统报告“invalid argument”

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

在执行“准备 DAX 设备”第 9 节 —“将命名空间设备转换为类型为 /dev/daxX.X: 的加速设备名称”的“部署 VxFlex OS v3.x”中的过程时,

可能会发生以下错误→ 

ndctl create-namespace -e namespace0.0 --mode=devdax --align=4K -f
failed to reconfigure namespace: Invalid argument
 

Cause

在某些情况下,当未指定设备大小时,可能会出现与 "ndctl" 相关的软件问题 — 要解决此问题,请按照以下步骤操作

Resolution

  1. 将以下软件包安装/升级到下面列出的版本 

    kmod-redhat-nfit-3.10.0_957-1.el7_6.x86_64.rpm 
    ndctl-64.1-2.el7.x86_64.rpm
    libpmemblk-1.5.1-2.1.el7.x86_64.rpm
    libpmem-1.5.1-2.1.el7.x86_64.rpm
     
  2.  通过执行下一个命令来检查大小 

    ndctl list --regions -v


    示例:

    (The size is "17179869184" in the example)
    
    ndctl list --regions -v
    
    
    [
      {
        “dev”:”region1”,
        “size”:17179869184,
        “available_size”:0,
        “max_available_extent”:0,
        “type”:”pmem”,
        “numa_node”:1,
        “iset_id”:7828749584277088034,
        “persistence_domain”:”unknown”
      },
      {
        “dev”:”region0”,
        “size”:17179869184,
        “available_size”:17179869184,
        “max_available_extent”:17179869184,
        “type”:”pmem”,
        “numa_node”:0,
        “iset_id”:-7016240687023610078,
        “persistence_domain”:”unknown”
      }
    ]

     

  3. 请使用以下命令创建命名空间,而不是第 9 节中的命令(如上所述),→ 

    ndctl create-namespace -f -e namespaceX.X --mode=devdax --align=4K -s <size>

     

    示例:

    ndctl create-namespace -f -e namespace0.0 --mode=devdax --align=4K -s 17179869184
    
    {
      "dev":"namespace0.0",
      "mode":"devdax",
      "map":"dev",
      "size":"15.75 GiB (16.91 GB)",
      "uuid":"1040658d-xxxx-xxxx-xxxx-a224f6cd6fa4",
      "daxregion":{
        "id":0,
        "size":"15.75 GiB (16.91 GB)",
        "align":4096,
        "devices":[
          {
            "chardev":"dax0.0",
            "size":"15.75 GiB (16.91 GB)"
          }
        ]
      },
      "align":4096,
      "name":"o-autolabel"
    }
     
  4. 运行“ls /dev/dax*”来验证是否创建了设备示例

    ls /dev/dax*
    /dev/dax0.0  /dev/dax1.0
     

Affected Products

PowerFlex Software

Products

PowerFlex rack, PowerFlex Appliance, PowerFlex Software
Article Properties
Article Number: 000187326
Article Type: Solution
Last Modified: 25 Nov 2025
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.