<?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: View Open Sessions 7-Mode Ontap 8 in ONTAP Hardware</title>
    <link>https://community.netapp.com/t5/ONTAP-Hardware/View-Open-Sessions-7-Mode-Ontap-8/m-p/156299#M10104</link>
    <description>&lt;P&gt;Thanks, it seems a little complex. I can use MMC and see who is connected to a shared folder.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 18 May 2020 13:30:23 GMT</pubDate>
    <dc:creator>sbmmiller</dc:creator>
    <dc:date>2020-05-18T13:30:23Z</dc:date>
    <item>
      <title>View Open Sessions 7-Mode Ontap 8</title>
      <link>https://community.netapp.com/t5/ONTAP-Hardware/View-Open-Sessions-7-Mode-Ontap-8/m-p/156233#M10093</link>
      <description>&lt;P&gt;Anyone know how to view open sessions on a 7-Mode Ontap 8 then close all the sessions?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I see documented "cifs sessions" but I dont see any commands where I can filter on the volume or the share.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 11:10:06 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Hardware/View-Open-Sessions-7-Mode-Ontap-8/m-p/156233#M10093</guid>
      <dc:creator>sbmmiller</dc:creator>
      <dc:date>2025-06-04T11:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: View Open Sessions 7-Mode Ontap 8</title>
      <link>https://community.netapp.com/t5/ONTAP-Hardware/View-Open-Sessions-7-Mode-Ontap-8/m-p/156234#M10094</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Some pointers.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The closest you can get to 'filter' on volume and sessions by using combination of commands.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;First&lt;/STRONG&gt;: Following command will tell you the 'users' and what 'shares' they are connected-to. In this example:&lt;/P&gt;
&lt;P&gt;User=admin&lt;BR /&gt;Share = vol_test&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;7-mode&amp;gt; &lt;STRONG&gt;cifs sessions *&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;users&lt;BR /&gt;shares/files opened&lt;/P&gt;
&lt;P&gt;192.168.0.131() (TEST.COM\administrator - pcuser)&lt;BR /&gt;vol_test&lt;BR /&gt;7-mode&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Second:&lt;/STRONG&gt; Use the regular command 'cifs shares' to determine volume it's share (In this example, vol &amp;amp; share_name are same).&lt;/P&gt;
&lt;P&gt;7-mode&amp;gt; &lt;STRONG&gt;cifs shares&lt;/STRONG&gt;&lt;BR /&gt;Name&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Mount Point&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;Description&lt;BR /&gt;----&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;-----------&lt;BR /&gt;vol_test&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /vol/vol_test everyone /&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Full Control&lt;BR /&gt;7-mode&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Some more handy command&lt;/STRONG&gt;s: Data ONTAP 7-Mode:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;To terminate CIFS only on a particular volume (vol1 is used as an example): -t is number of seconds...&lt;/STRONG&gt;&lt;BR /&gt;filer&amp;gt; cifs terminate -t 5 -v vol1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;To restart CIFS on a specific volume (for Data ONTAP 6.5 and later):&lt;/STRONG&gt;&lt;BR /&gt;filer&amp;gt; cifs restart -v vol1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;To close all the sessions for the entire filer node:&lt;/STRONG&gt;&lt;BR /&gt;filer&amp;gt; cifs terminate -t 0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is a KB:&lt;BR /&gt;&lt;A href="https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/How_to_terminate_CIFS_in_Data_ONTAP_7-Mode_for_a_particular_volume_or_close_a_specified_CIFS_session_in_clustered_Data_ONTAP_8.3_without_affecting_other_CIFS_accessibility" target="_blank"&gt;https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/How_to_terminate_CIFS_in_Data_ONTAP_7-Mode_for_a_particular_volume_or_close_a_specified_CIFS_session_in_clustered_Data_ONTAP_8.3_without_affecting_other_CIFS_accessibility&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;If you would like to know : Which SMB protocol, or total number of CIFS sessions, then:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;filer&amp;gt; cifs sessions -t&lt;BR /&gt;Using domain authentication. Domain type is Windows 2000.&lt;BR /&gt;Root volume language is not set. Use vol lang.&lt;BR /&gt;Number of WINS servers: 0&lt;BR /&gt;Total CIFS sessions: 1&lt;BR /&gt;CIFS open shares: 1&lt;BR /&gt;CIFS open files: 0&lt;BR /&gt;CIFS locks: 0&lt;BR /&gt;CIFS credentials: 1&lt;BR /&gt;IPv4 CIFS sessions: 1&lt;BR /&gt;IPv6 CIFS sessions: 0&lt;BR /&gt;Cumulative IPv4 CIFS sessions: 39&lt;BR /&gt;Cumulative IPv6 CIFS sessions: 0&lt;BR /&gt;CIFS sessions using security signatures: 0&lt;BR /&gt;SMB 1.0 CIFS sessions: 1&lt;BR /&gt;SMB 2.0 CIFS sessions: 0&lt;BR /&gt;SMB 2.1 CIFS sessions: 0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;If you just want to know which users are connected:&lt;/STRONG&gt;&lt;BR /&gt;filer&amp;gt; cifs sessions -s&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 00:49:59 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Hardware/View-Open-Sessions-7-Mode-Ontap-8/m-p/156234#M10094</guid>
      <dc:creator>Ontapforrum</dc:creator>
      <dc:date>2020-05-15T00:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: View Open Sessions 7-Mode Ontap 8</title>
      <link>https://community.netapp.com/t5/ONTAP-Hardware/View-Open-Sessions-7-Mode-Ontap-8/m-p/156299#M10104</link>
      <description>&lt;P&gt;Thanks, it seems a little complex. I can use MMC and see who is connected to a shared folder.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2020 13:30:23 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Hardware/View-Open-Sessions-7-Mode-Ontap-8/m-p/156299#M10104</guid>
      <dc:creator>sbmmiller</dc:creator>
      <dc:date>2020-05-18T13:30:23Z</dc:date>
    </item>
  </channel>
</rss>

