<?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 Re: Accessing a lun with NFS in Network and Storage Protocols</title>
    <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Accessing-a-lun-with-NFS/m-p/27847#M2473</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if i would copy the lun with the share options read with cifs or nfs, how it is possible to restore it. &lt;/P&gt;&lt;P&gt;if i copy it back to another volume, the lun doesn't appear with lun show etc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Oct 2011 11:32:54 GMT</pubDate>
    <dc:creator>freeb</dc:creator>
    <dc:date>2011-10-05T11:32:54Z</dc:date>
    <item>
      <title>Accessing a lun with NFS</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Accessing-a-lun-with-NFS/m-p/27810#M2462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used the following command on filer as specified in Netapp's docs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;lun share /vol/vol1/qtree1/lun2 all&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is the next thing to do on the host (linux) to mount it as NFS? and be able to access it and see the data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 07:28:49 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Accessing-a-lun-with-NFS/m-p/27810#M2462</guid>
      <dc:creator>onforceinc</dc:creator>
      <dc:date>2025-06-05T07:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing a lun with NFS</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Accessing-a-lun-with-NFS/m-p/27815#M2463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will see the LUN via NFS, but not the data inside the LUN.&amp;nbsp; This is most useful for things like backing up a LUN via NFS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2009 22:24:24 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Accessing-a-lun-with-NFS/m-p/27815#M2463</guid>
      <dc:creator>adamfox</dc:creator>
      <dc:date>2009-04-27T22:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing a lun with NFS</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Accessing-a-lun-with-NFS/m-p/27819#M2465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I saw a post about someone who used "losetup" on Linux and "lofiadm" on Solaris to do a loopback mount... mount a volume with a shared lun over nfs.&amp;nbsp; Then use the loopback mount to the lun in the nfs mount.&amp;nbsp; It is pretty slick, but I'd wonder why you wouldn't use iSCSI instead to mount the lun directly to get block i/o to the device.&amp;nbsp; Or like Adam mentioned, a way to backup a lun over nfs by mounting the volume.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2009 01:12:50 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Accessing-a-lun-with-NFS/m-p/27819#M2465</guid>
      <dc:creator>scottgelb</dc:creator>
      <dc:date>2009-04-28T01:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing a lun with NFS</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Accessing-a-lun-with-NFS/m-p/27824#M2467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any example on how to use losetup on linux?, the lun is using FCP not iSCSI.&lt;/P&gt;&lt;P&gt;I wanna be to see the data before recovering.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2009 03:07:40 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Accessing-a-lun-with-NFS/m-p/27824#M2467</guid>
      <dc:creator>onforceinc</dc:creator>
      <dc:date>2009-04-28T03:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing a lun with NFS</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Accessing-a-lun-with-NFS/m-p/27828#M2469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has anyone successfully done this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm going to be giving it a go in the next few days.&amp;nbsp; I'll let you know what steps I used and whether or not it works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jan 2011 16:38:55 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Accessing-a-lun-with-NFS/m-p/27828#M2469</guid>
      <dc:creator>wmccormick</dc:creator>
      <dc:date>2011-01-07T16:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing a lun with NFS</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Accessing-a-lun-with-NFS/m-p/27833#M2470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LOL.&amp;nbsp; Seek and ye shall find.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's explained quite well right here:&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://en.wikipedia.org/wiki/Loop_device" target="_blank"&gt;http://en.wikipedia.org/wiki/Loop_device&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jan 2011 18:19:11 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Accessing-a-lun-with-NFS/m-p/27833#M2470</guid>
      <dc:creator>wmccormick</dc:creator>
      <dc:date>2011-01-07T18:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing a lun with NFS</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Accessing-a-lun-with-NFS/m-p/27838#M2471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can still export the LUN via iSCSI even if it's already mapped to an FCP initiator.&lt;/P&gt;&lt;P&gt;It's not an "either ... or" relationship, both iSCSI and FCP can be active on the same LUN at the same time.&lt;/P&gt;&lt;P&gt;Just create an iSCSI igroup and map the LUN to it. Make sure you only mount it read-only though!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jan 2011 14:21:27 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Accessing-a-lun-with-NFS/m-p/27838#M2471</guid>
      <dc:creator>Darkstar</dc:creator>
      <dc:date>2011-01-10T14:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing a lun with NFS</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Accessing-a-lun-with-NFS/m-p/27843#M2472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A little old topic but i was just wondering what the command &lt;EM&gt;lun share &amp;lt;path&amp;gt;&lt;/EM&gt; actually does? You can see the LUN as a file wether you share it or not, so what is that for ; regarding that you cannot get access to the lun over NAS and :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;&lt;BR /&gt;A LUN cannot be extended or truncated using NFS or CIFS protocols.&lt;/P&gt;&lt;P&gt;&lt;A id="1245893" name="1245893" target="_blank"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you want to write to a LUN over NAS protocols, you must take the LUN offline or unmap it to prevent overwriting data in the LUN using the SAN protocol. &lt;STRONG style="text-decoration: underline; "&gt;To make a LUN accessible to a host using a NAS protocol&lt;/STRONG&gt;, complete the following steps.&lt;/P&gt;&lt;P&gt;&lt;A id="1245914" name="1245914" target="_blank"&gt;&lt;/A&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="5" cellspacing="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="left" valign="bottom"&gt;&lt;P&gt;&lt;A id="1245896" name="1245896" target="_blank"&gt;&lt;/A&gt;&lt;STRONG&gt;Step&lt;/STRONG&gt;&lt;/P&gt;&lt;/TH&gt;&lt;TH align="left" valign="bottom"&gt;&lt;P&gt;&lt;A id="1245898" name="1245898" target="_blank"&gt;&lt;/A&gt;&lt;STRONG&gt;Action&lt;/STRONG&gt;&lt;/P&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top"&gt;&lt;A id="1245900" name="1245900" target="_blank"&gt;&lt;/A&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD valign="top"&gt;&lt;P&gt;&lt;A id="1245902" name="1245902" target="_blank"&gt;&lt;/A&gt;Determine whether you want to read, write, or do both to the LUN over the NAS protocol and take the appropriate action:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A id="1245903" name="1245903" target="_blank"&gt;&lt;/A&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;If you want read access, the LUN can remain online. &lt;A id="1245904" name="1245904" target="_blank"&gt;&lt;/A&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;If you want write access, ensure that the LUN is offline or unmapped.&lt;BR /&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top"&gt;&lt;A id="1245906" name="1245906" target="_blank"&gt;&lt;/A&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD valign="top"&gt;&lt;P&gt;&lt;A id="1245908" name="1245908" target="_blank"&gt;&lt;/A&gt;Enter the following command:&lt;/P&gt;&lt;A id="1245909" name="1245909" target="_blank"&gt;&lt;/A&gt; &lt;PRE&gt;&lt;STRONG&gt;&lt;KBD&gt;&lt;STRONG&gt;lun share&lt;/STRONG&gt;&lt;/KBD&gt; &lt;EM&gt;lun-path&lt;/EM&gt; &lt;KBD&gt;&lt;STRONG&gt;{none|read|write|all}&lt;/STRONG&gt;&lt;/KBD&gt;&lt;/STRONG&gt;&lt;/PRE&gt;&lt;H3&gt;&lt;A id="1245910" name="1245910" target="_blank"&gt;&lt;/A&gt;Example&lt;/H3&gt;&lt;A id="1245911" name="1245911" target="_blank"&gt;&lt;/A&gt; &lt;PRE&gt;lun share /vol/vol1/qtree1/lun2 read&lt;/PRE&gt;&lt;H3&gt;&lt;A id="1245912" name="1245912" target="_blank"&gt;&lt;/A&gt;Result&lt;/H3&gt;&lt;P&gt;&lt;A id="1245913" name="1245913" target="_blank"&gt;&lt;/A&gt;The LUN is now readable over NAS.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2011 09:09:54 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Accessing-a-lun-with-NFS/m-p/27843#M2472</guid>
      <dc:creator>zawik</dc:creator>
      <dc:date>2011-05-18T09:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing a lun with NFS</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Accessing-a-lun-with-NFS/m-p/27847#M2473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if i would copy the lun with the share options read with cifs or nfs, how it is possible to restore it. &lt;/P&gt;&lt;P&gt;if i copy it back to another volume, the lun doesn't appear with lun show etc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 11:32:54 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Accessing-a-lun-with-NFS/m-p/27847#M2473</guid>
      <dc:creator>freeb</dc:creator>
      <dc:date>2011-10-05T11:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing a lun with NFS</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Accessing-a-lun-with-NFS/m-p/27851#M2474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; i could answer myself:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lun create -f &amp;lt;file_path&amp;gt; -t &amp;lt;ostype&amp;gt; [ -o noreserve ] [ -e space_alloc ] &amp;lt;lun_path&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 12:10:22 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Accessing-a-lun-with-NFS/m-p/27851#M2474</guid>
      <dc:creator>freeb</dc:creator>
      <dc:date>2011-10-05T12:10:22Z</dc:date>
    </item>
  </channel>
</rss>

