Convert a LUN into a namespace

Contributors netapp-lisa 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 Vserver or in an SMBC 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.

Steps
  1. You enter the following command to convert a LUN to an NVMe namespace:

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