<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Converting LUN to NVMe Namespace in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Converting-LUN-to-NVMe-Namespace/m-p/449621#M43027</link>
    <description>&lt;P&gt;ONTAP Supports Converting LUN to Namespace and Namespace to LUN. And this conversion can be done w/o any data loss. So for a use where someone wanted to migrate Data from SCSI (Fibre Channel and iSCSI) to NVMe (NVMe-FC and NVMe-TCP) then it is possible and these are the steps,&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Pause the IO to the LUN or Namespace which needs to be converted.&lt;/LI&gt;&lt;LI&gt;Unmap the LUN or Namespace from the iGroup or Subsystem respectively.&lt;/LI&gt;&lt;LI&gt;Create the necessary LIFs (SCSI-FC , iSCSI , NVMe-FC or NVMe-TCP)&lt;/LI&gt;&lt;LI&gt;Ensure the connectivity from the Hosts and Check if the initiators is logged in.&lt;/LI&gt;&lt;LI&gt;Create iGroup or Subsystem.&lt;/LI&gt;&lt;LI&gt;Convert Namespace to LUN or LUN to Namespace , can use the below commands for the conversion.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;=========== Converting LUN to NS ===========&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;ONTAPCluster::*&amp;gt; lun show -volume NS2LUN2NSVolume&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Vserver Path State Mapped Type Size&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;-------- ------------------------------- ------- -------- -------- --------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;VServerNS2LUN2NS /vol/NS2LUN2NSVolume/Lun2NS online unmapped linux 40MB&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;ONTAPCluster::*&amp;gt; vserver nvme namespace convert-from-lun -lun-path /vol/NS2LUN2NSVolume/Lun2NS -vserver VServerNS2LUN2NS&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;ONTAPCluster::*&amp;gt; vsenv&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;Error: "vsenv" is not a recognized command&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;ONTAPCluster::*&amp;gt; vserver nvme namespace show -volume NS2LUN2NSVolume&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;There are no entries matching your query.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;ONTAPCluster::*&amp;gt; vserver nvme namespace convert-from-lun -lun-path /vol/NS2LUN2NSVolume/Lun2NS -vserver VServerNS2LUN2NS&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;ONTAPCluster::*&amp;gt; lun show -volume NS2LUN2NSVolume&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;There are no entries matching your query.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;ONTAPCluster::*&amp;gt; vserver nvme namespace show -volume NS2LUN2NSVolume&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Vserver Path State Size Subsystem NSID&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;------- -------------------------------- ------- ------- ---------- ---------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;VServerNS2LUN2NS&amp;nbsp;&amp;nbsp;/vol/NS2LUN2NSVolume/Lun2NS online 40MB - - &lt;FONT color="#FF9900"&gt;&amp;lt;&amp;lt;&amp;lt;&amp;nbsp; LUN Converted to NS&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;ONTAPCluster::*&amp;gt; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;=========== Converting Namespace to LUN ===========&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;C2_sti85-vsim-ucs210c_cluster::*&amp;gt; lun show -volume NS2LUN2NSVolume&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;There are no entries matching your query.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;C2_sti85-vsim-ucs210c_cluster::*&amp;gt; vserver nvme namespace show -volume NS2LUN2NSVolume&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Vserver Path State Size Subsystem NSID&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;------- -------------------------------- ------- ------- ---------- ---------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;VServerNS2LUN2NS&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;/vol/NS2LUN2NSVolume/Lun2NS online 40MB - -&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;C2_sti85-vsim-ucs210c_cluster::*&amp;gt; lun convert-from-namespace -&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;-vserver -namespace-path&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;C2_sti85-vsim-ucs210c_cluster::*&amp;gt; lun convert-from-namespace -namespace-path&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&amp;lt;path&amp;gt; Path of the NVMe namespace&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;C2_sti85-vsim-ucs210c_cluster::*&amp;gt; lun convert-from-namespace -namespace-path /vol/NS2LUN2NSVolume/Lun2NS -vserver VServerNS2LUN2NS&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;C2_sti85-vsim-ucs210c_cluster::*&amp;gt; vserver nvme namespace show -volume NS2LUN2NSVolume&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;There are no entries matching your query.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;C2_sti85-vsim-ucs210c_cluster::*&amp;gt; lun show -volume NS2LUN2NSVolume&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Vserver Path State Mapped Type Size&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;--------- ------------------------------- ------- -------- -------- --------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;VServerNS2LUN2NS /vol/NS2LUN2NSVolume/Lun2NS online unmapped linux 40MB &lt;FONT color="#FF9900"&gt;&amp;lt;&amp;lt;&amp;lt; NS Converted to LUN&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;C2_sti85-vsim-ucs210c_cluster::*&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;------------------------------------------------------------------------------------------------------------------------&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;7. Post Conversion , Map the LUN or NS to the respective iGroup or Subsystem appropriately.&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;8. Proceed with the Discovery of the LUN/Namespace at the Host.&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;9. File System Check at the Host and then can proceed with restarting IO on the LUN or NS.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 09:43:04 GMT</pubDate>
    <dc:creator>jaikumar</dc:creator>
    <dc:date>2025-06-04T09:43:04Z</dc:date>
    <item>
      <title>Converting LUN to NVMe Namespace</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Converting-LUN-to-NVMe-Namespace/m-p/449621#M43027</link>
      <description>&lt;P&gt;ONTAP Supports Converting LUN to Namespace and Namespace to LUN. And this conversion can be done w/o any data loss. So for a use where someone wanted to migrate Data from SCSI (Fibre Channel and iSCSI) to NVMe (NVMe-FC and NVMe-TCP) then it is possible and these are the steps,&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Pause the IO to the LUN or Namespace which needs to be converted.&lt;/LI&gt;&lt;LI&gt;Unmap the LUN or Namespace from the iGroup or Subsystem respectively.&lt;/LI&gt;&lt;LI&gt;Create the necessary LIFs (SCSI-FC , iSCSI , NVMe-FC or NVMe-TCP)&lt;/LI&gt;&lt;LI&gt;Ensure the connectivity from the Hosts and Check if the initiators is logged in.&lt;/LI&gt;&lt;LI&gt;Create iGroup or Subsystem.&lt;/LI&gt;&lt;LI&gt;Convert Namespace to LUN or LUN to Namespace , can use the below commands for the conversion.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;=========== Converting LUN to NS ===========&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;ONTAPCluster::*&amp;gt; lun show -volume NS2LUN2NSVolume&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Vserver Path State Mapped Type Size&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;-------- ------------------------------- ------- -------- -------- --------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;VServerNS2LUN2NS /vol/NS2LUN2NSVolume/Lun2NS online unmapped linux 40MB&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;ONTAPCluster::*&amp;gt; vserver nvme namespace convert-from-lun -lun-path /vol/NS2LUN2NSVolume/Lun2NS -vserver VServerNS2LUN2NS&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;ONTAPCluster::*&amp;gt; vsenv&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;Error: "vsenv" is not a recognized command&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;ONTAPCluster::*&amp;gt; vserver nvme namespace show -volume NS2LUN2NSVolume&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;There are no entries matching your query.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;ONTAPCluster::*&amp;gt; vserver nvme namespace convert-from-lun -lun-path /vol/NS2LUN2NSVolume/Lun2NS -vserver VServerNS2LUN2NS&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;ONTAPCluster::*&amp;gt; lun show -volume NS2LUN2NSVolume&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;There are no entries matching your query.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;ONTAPCluster::*&amp;gt; vserver nvme namespace show -volume NS2LUN2NSVolume&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Vserver Path State Size Subsystem NSID&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;------- -------------------------------- ------- ------- ---------- ---------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;VServerNS2LUN2NS&amp;nbsp;&amp;nbsp;/vol/NS2LUN2NSVolume/Lun2NS online 40MB - - &lt;FONT color="#FF9900"&gt;&amp;lt;&amp;lt;&amp;lt;&amp;nbsp; LUN Converted to NS&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;ONTAPCluster::*&amp;gt; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;=========== Converting Namespace to LUN ===========&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;C2_sti85-vsim-ucs210c_cluster::*&amp;gt; lun show -volume NS2LUN2NSVolume&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;There are no entries matching your query.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;C2_sti85-vsim-ucs210c_cluster::*&amp;gt; vserver nvme namespace show -volume NS2LUN2NSVolume&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Vserver Path State Size Subsystem NSID&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;------- -------------------------------- ------- ------- ---------- ---------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;VServerNS2LUN2NS&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;/vol/NS2LUN2NSVolume/Lun2NS online 40MB - -&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;C2_sti85-vsim-ucs210c_cluster::*&amp;gt; lun convert-from-namespace -&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;-vserver -namespace-path&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;C2_sti85-vsim-ucs210c_cluster::*&amp;gt; lun convert-from-namespace -namespace-path&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&amp;lt;path&amp;gt; Path of the NVMe namespace&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;C2_sti85-vsim-ucs210c_cluster::*&amp;gt; lun convert-from-namespace -namespace-path /vol/NS2LUN2NSVolume/Lun2NS -vserver VServerNS2LUN2NS&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;C2_sti85-vsim-ucs210c_cluster::*&amp;gt; vserver nvme namespace show -volume NS2LUN2NSVolume&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;There are no entries matching your query.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;C2_sti85-vsim-ucs210c_cluster::*&amp;gt; lun show -volume NS2LUN2NSVolume&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Vserver Path State Mapped Type Size&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;--------- ------------------------------- ------- -------- -------- --------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;VServerNS2LUN2NS /vol/NS2LUN2NSVolume/Lun2NS online unmapped linux 40MB &lt;FONT color="#FF9900"&gt;&amp;lt;&amp;lt;&amp;lt; NS Converted to LUN&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;C2_sti85-vsim-ucs210c_cluster::*&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;------------------------------------------------------------------------------------------------------------------------&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;7. Post Conversion , Map the LUN or NS to the respective iGroup or Subsystem appropriately.&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;8. Proceed with the Discovery of the LUN/Namespace at the Host.&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;9. File System Check at the Host and then can proceed with restarting IO on the LUN or NS.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 09:43:04 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Converting-LUN-to-NVMe-Namespace/m-p/449621#M43027</guid>
      <dc:creator>jaikumar</dc:creator>
      <dc:date>2025-06-04T09:43:04Z</dc:date>
    </item>
  </channel>
</rss>

