I am new to using nvme-cli and am trying to create a new namespace on my ubuntu linux machine using nvme-cli package. I have tried out the following command:
nvme create-ns /dev/nvme0n1 -s 4096 -c 4096 -b 512
However, it returns:
identify failed
NVMe status: INVALID_NS: The namespace or the format of that namespace is invalid(0x400b)
What could be the reason for this to be the case? I have seen some examples online which have used this command to successfully create a new namespace.