NVMe namespace creation or format fails with INVALID_OPCODE
Issue
- Unable to create NVMe namespace:
[root@host]# nvme create-ns /dev/nvme0n1 --nsze=4096 --ncap=4096 --flbas=0 --dps=0
NVMe Status:INVALID_OPCODE: The associated command opcode field is not valid(1)
- Unable to format NVMe device:
[root@host]# nvme format /dev/nvme0n1
NVME Admin command error:INVALID_OPCODE: The associated command opcode field is not valid(4001)
Environment
- Red Hat Enterprise Linux 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.