Skip to main content

Convert a LUN into a namespace

Contributors netapp-lisa netapp-ahibbard thrisun

Beginning with ONTAP 9.11.1, you can use the ONTAP CLI to in-place convert an existing LUN to an NVMe namespace.

What you'll need
  • Specified LUN should not have any existing maps to an igroup.

  • LUN should not be in a MetroCluster configured SVM or in an SM-BC relationship.

  • LUN should not be a protocol endpoint or bound to a protocol endpoint.

  • LUN should not have non-zero prefix and/or suffix stream.

  • LUN should not be part of a snapshot or on the destination side of SnapMirror relationship as a read-only LUN.

Step
  1. Convert a LUN to an NVMe namespace:

    vserver nvme namespace convert-from-lun -vserver -lun-path