Creating namespace in a VM fails when NVDIMM size is not a multiple of 128MB
search cancel

Creating namespace in a VM fails when NVDIMM size is not a multiple of 128MB

book

Article ID: 324778

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Symptoms:
  • Unable to create namespace in a VM when NVDIMM size is not a multiple of 128MB.
  • You would see the below error:
ndctl create-namespace -f -e namespace1.0 --mode=fsdax --map=mem
The second nvdimm failed due to alighment issues
libndctl: ndctl_pfn_enable: pfn1.0: failed to enable
Error: namespace1.0: failed to enable


Environment

VMware vSphere ESXi 6.7

Cause

This issue occurs because the NVDIMM size not a multiple of 128MB.

Resolution

To resolve this issue, specify NVDIMM size in multiples of 128MB.