<?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 Is there a log to show devices connecting to LUNS / CIFS / NFS in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Is-there-a-log-to-show-devices-connecting-to-LUNS-CIFS-NFS/m-p/54918#M12835</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;We need to decommission a netapp filer FAS3140 running 7.3.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lots of the NFS mounts and CIFS shares have been setup to allow all hosts or everyone access.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way i can get a log of what is connecting to each LUN / NFS or CIFS share?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jun 2025 05:46:25 GMT</pubDate>
    <dc:creator>NICKCLONDON</dc:creator>
    <dc:date>2025-06-05T05:46:25Z</dc:date>
    <item>
      <title>Is there a log to show devices connecting to LUNS / CIFS / NFS</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Is-there-a-log-to-show-devices-connecting-to-LUNS-CIFS-NFS/m-p/54918#M12835</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;We need to decommission a netapp filer FAS3140 running 7.3.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lots of the NFS mounts and CIFS shares have been setup to allow all hosts or everyone access.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way i can get a log of what is connecting to each LUN / NFS or CIFS share?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:46:25 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Is-there-a-log-to-show-devices-connecting-to-LUNS-CIFS-NFS/m-p/54918#M12835</guid>
      <dc:creator>NICKCLONDON</dc:creator>
      <dc:date>2025-06-05T05:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a log to show devices connecting to LUNS / CIFS / NFS</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Is-there-a-log-to-show-devices-connecting-to-LUNS-CIFS-NFS/m-p/54923#M12837</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;For CIFS check the CIFS sessions, this will show what share is mapped to which IP (also run on vfiler)&lt;/P&gt;&lt;P&gt;exportfs - will show which NFS exports are exported to where (or rdfile /etc/exports)&lt;/P&gt;&lt;P&gt;igroup show and lun show -v, will help you identify where LUNs are mounted&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Dec 2013 12:45:31 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Is-there-a-log-to-show-devices-connecting-to-LUNS-CIFS-NFS/m-p/54923#M12837</guid>
      <dc:creator>DEANNORTH</dc:creator>
      <dc:date>2013-12-31T12:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a log to show devices connecting to LUNS / CIFS / NFS</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Is-there-a-log-to-show-devices-connecting-to-LUNS-CIFS-NFS/m-p/54932#M12841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The commands suggested by Dean are interactive and the output will not be logged in such a way as what I think you're alluding to in your question.&lt;/P&gt;&lt;P&gt;For CIFS and NFS you need to enable some trace and debug options and be prepared for some content bloat in /etc/messages (which you can subsequently grep for the relevant items).&lt;/P&gt;&lt;P&gt;For CIFS I would recommend the following which will create multiple log entries per client authentication request but gives you a rich audit trail to mine (note the CIFS sessions command is just point in time). :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;vfiler run * options cifs.trace_login on&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;For NFS:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Edit the /etc/syslog.conf to change the minimum severity of messages sent to the /etc/messages file as the NFS mountd trace is a debug message&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *.debug&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /etc/messages&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;vfiler run * options nfs.mountd.trace on&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your LUN access patterns are a little more predictable or at least should be because they are defined at the array level so the command suggest by Dean should give you what you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note that the rotation rates of the /etc/messages log will increase (possibily significantly depending on your environment) when these CIFS and NFS logging features are enabled.&lt;/P&gt;&lt;P&gt;Also note that the above examples will enable the log collection on all vFilers.&amp;nbsp; If you have vFilers in the environment it may be easier to tackle on at a time on this system (it would certainly be more managable).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One last parting comment - do the right thing as part of any data migration associated with the decommission and apply appropriate access controls to the NFS and CIFS data.&lt;/P&gt;&lt;P&gt;It will come back and bite you sooner than you thing if you dont.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Dec 2013 16:06:29 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Is-there-a-log-to-show-devices-connecting-to-LUNS-CIFS-NFS/m-p/54932#M12841</guid>
      <dc:creator>RichardSopp</dc:creator>
      <dc:date>2013-12-31T16:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a log to show devices connecting to LUNS / CIFS / NFS</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Is-there-a-log-to-show-devices-connecting-to-LUNS-CIFS-NFS/m-p/54941#M12844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all, i will take a look at the suggestions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jan 2014 10:59:35 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Is-there-a-log-to-show-devices-connecting-to-LUNS-CIFS-NFS/m-p/54941#M12844</guid>
      <dc:creator>NICKCLONDON</dc:creator>
      <dc:date>2014-01-02T10:59:35Z</dc:date>
    </item>
  </channel>
</rss>

