NVMe namespaces - confirm or infirm my assumptions

I’m new to namespaces so I’d like some confirmations from someone familiar to them:

  • Creating a new namespace (space permitting) does not affect the namespaces already on the drive, except for the device reset step that’s needed for the new one to be seen by the OS, so some downtime should be scheduled
  • Creating and deleting namespaces are universal capabilities, but resizing is only present on enterprise devices and even there it comes with asterisks
  • Can you have namespaces 1, 2 and 3, and then delete namespace 2? The next one you create after that has to be named 2 or can you have gaps in naming?

Correct.

Namespaces mostly only exist on enterprise nvme devices (I am not aware of a consumer device supporting more than one namespace).
Resizing namespaces seems to be a Western Digital device specific functionality. All other devices will require you to delete and create new.

Yes.

Dunno.

2 Likes

Thank you @jode