Skip to content

ipmctl can't list nvdimm in vm #196

@softblade-c

Description

@softblade-c

Hi,
I'm deploying DAOS in ESXi vm node. There's an Optane persistent memory installed in the host. nvdimms are added to the vm, but daos_server can't find any SCM at all, which invokes ipmctl to lisk the SCM. It seems that ipmctl doesn't work properly in a vm.

ndctl can list the nvdimms as follows:

[root@localhost ~]# ndctl list
[
  {
    "dev":"namespace2.0",
    "mode":"raw",
    "size":16777216,
    "sector_size":512,
    "blockdev":"pmem2"
  },
  {
    "dev":"namespace1.0",
    "mode":"raw",
    "size":6442450944,
    "sector_size":512,
    "blockdev":"pmem1"
  },
  {
    "dev":"namespace0.0",
    "mode":"raw",
    "size":6442450944,
    "sector_size":512,
    "blockdev":"pmem0"
  }
]

ipmctl finds nothing:

[root@localhost ~]# ipmctl show -dimm
Initialization failed. No PMem modules in the system.

The vm node has nvdimms allocated already. There's something different with the memory slot info:

[root@localhost ~]# dmidecode -t memory |grep -E "Locator:|Size"|grep -v Bank
        Maximum Memory Module Size: 32768 MB
        Maximum Total Memory Size: 491520 MB
        Installed Size: 4096 MB (Single-bank Connection)
        Enabled Size: 4096 MB (Single-bank Connection)
        Installed Size: 2048 MB (Single-bank Connection)
        Enabled Size: 2048 MB (Single-bank Connection)
        Installed Size: Not Installed
        Enabled Size: Not Installed
        ……
        Size: 4096 MB
        Locator: RAM slot #0
        Size: 2048 MB
        Locator: RAM slot #1
        Size: No Module Installed
        Locator: RAM slot #2
        Size: No Module Installed
        Locator: RAM slot #3
        ……
        Size: 6 GB
        Locator: NVD #0
        Size: 6 GB
        Locator: NVD #1
        Size: No Module Installed
        Locator: NVD #2
        ……
        Size: 16 MB
        Locator: NVD #18

The normal DRAM slot is RAM slot while the nvdimm resides in NVD. I'm not sure if this is the reason why ipmctl can't list nvdimm. What's the difference between ipmctl and ndctl? Can ipmctl work in vm?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions