<?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: nfs-connected clients show - Not real time - ontap 9.7 in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/nfs-connected-clients-show-Not-real-time-ontap-9-7/m-p/161854#M36986</link>
    <description>&lt;P&gt;I have a write up here with a number of other CLI tricks:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://whyistheinternetbroken.wordpress.com/2015/02/16/techbecome-a-clustered-data-ontap-cli-ninja/" target="_blank"&gt;https://whyistheinternetbroken.wordpress.com/2015/02/16/techbecome-a-clustered-data-ontap-cli-ninja/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's from 2015, but much of it still applies.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Connected clients will only show active mounts. If a client has not been used for a while (meaning it's mounted but never is accessed) then it won't show up in that list.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, this client has a mount to "home", but only populates the cache when I cd or run ls to it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;demo:/home&lt;/STRONG&gt; on /mnt/home type nfs4 (rw,relatime,vers=4.1,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=&lt;STRONG&gt;10.x.x.x&lt;/STRONG&gt;,local_lock=none,addr=10.x.x.y)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;ontap9-tme-8040::*&amp;gt; nfs connected-clients show -node ontap9-tme-8040-0* &lt;STRONG&gt;-client-ip 10.x.x.x -volume home&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;There are no entries matching your query.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;# cd /mnt/home&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;# pwd&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;/mnt/home&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;ontap9-tme-8040::*&amp;gt; nfs connected-clients show -node ontap9-tme-8040-0* -client-ip 10.x.x.x -volume home&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Node: ontap9-tme-8040-02&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Vserver: DEMO&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Data-Ip: 10.x.x.y&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Client-Ip Volume-Name Protocol Idle-Time Local-Reqs Remote-Reqs&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;--------------- ---------------- -------- ------------- ---------- -----------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;10.x.x.x&lt;/STRONG&gt; &lt;STRONG&gt;home&lt;/STRONG&gt; nfs4.1 19s 2 0&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Dec 2020 14:37:05 GMT</pubDate>
    <dc:creator>parisi</dc:creator>
    <dc:date>2020-12-08T14:37:05Z</dc:date>
    <item>
      <title>nfs-connected clients show - Not real time - ontap 9.7</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/nfs-connected-clients-show-Not-real-time-ontap-9-7/m-p/161803#M36975</link>
      <description>&lt;P&gt;The results of the below command are not real time.&amp;nbsp; I imagine there is a cache?&amp;nbsp; Does anyone know how this can be cleared? If it can?&amp;nbsp; Is there a plan to make this command real-time? &amp;nbsp; Having this command and it not being real-time, is not really that helpful and confuses matter in my opinion.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cluster1::*&amp;gt; nfs connected-clients show&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 10:42:28 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/nfs-connected-clients-show-Not-real-time-ontap-9-7/m-p/161803#M36975</guid>
      <dc:creator>DONBARTON1</dc:creator>
      <dc:date>2025-06-04T10:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: nfs-connected clients show - Not real time - ontap 9.7</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/nfs-connected-clients-show-Not-real-time-ontap-9-7/m-p/161806#M36977</link>
      <description>&lt;P&gt;They are real time as of the time of connection. Meaning, if you have a client that connects and then run the command, you'll see the client in the list.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Otherwise, they are cached for I believe 24 hours, if the clients are not actively using the mounts. If there are keepalives or IOPS, the mount stays in the connected-clients output. I don't know of a way to flush that cache and there are no current plans to have that cache flush more often (caches save resources).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can filter the command by idle time if you want more useful output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, if you only want to see clients newer than 2.5 hours:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ontap9-tme-8040::*&amp;gt; nfs connected-clients show -node ontap9-tme-8040-0* -vserver DEMO -idle-time &amp;lt;2h30m&lt;/P&gt;&lt;P&gt;Node: ontap9-tme-8040-02&lt;BR /&gt;Vserver: DEMO&lt;BR /&gt;Data-Ip: 10.193.67.219&lt;BR /&gt;Client-Ip Volume-Name Protocol Idle-Time Local-Reqs Remote-Reqs&lt;BR /&gt;--------------- ---------------- -------- ------------- ---------- -----------&lt;BR /&gt;10.x.x.x dd_test__0001 nfs3 2h 15m 31s 0 8291&lt;BR /&gt;10.x.x.x dd_test__0002 nfs3 2h 15m 33s 0 7259&lt;BR /&gt;10.x.x.x dd_test__0003 nfs3 2h 20m 48s 0 9289&lt;BR /&gt;10.x.x.x dd_test__0004 nfs3 2h 15m 31s 0 6180&lt;BR /&gt;10.x.x.x dd_test__0005 nfs3 2h 20m 20s 0 10443&lt;BR /&gt;10.x.x.x dd_test__0006 nfs3 2h 20m 1s 0 9317&lt;BR /&gt;10.x.x.x dd_test__0007 nfs3 2h 20m 41s 0 7266&lt;BR /&gt;10.x.x.x dd_test__0008 nfs3 2h 20m 18s 0 9284&lt;BR /&gt;10.x.x.x scripts nfs3 2h 20m 48s 0 90&lt;BR /&gt;9 entries were displayed.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 22:14:37 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/nfs-connected-clients-show-Not-real-time-ontap-9-7/m-p/161806#M36977</guid>
      <dc:creator>parisi</dc:creator>
      <dc:date>2020-12-07T22:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: nfs-connected clients show - Not real time - ontap 9.7</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/nfs-connected-clients-show-Not-real-time-ontap-9-7/m-p/161820#M36981</link>
      <description>&lt;P&gt;&lt;SPAN&gt;The&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="xref nopagenum"&gt;&lt;SPAN class="keyword cmdname"&gt;nfs connected-clients show&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;command displays information about currently connected NFS clients, &lt;U&gt;and also other NFS clients that are are currently idle but can be connected.&lt;/U&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A title="vserver nfs connected-clients show" href="http://docs.netapp.com/ontap-9/index.jsp?topic=%2Fcom.netapp.doc.dot-cm-cmpr-970%2Fvserver__nfs__connected-clients__show.html" target="_blank" rel="noopener"&gt;vserver nfs connected-clients show&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 03:43:16 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/nfs-connected-clients-show-Not-real-time-ontap-9-7/m-p/161820#M36981</guid>
      <dc:creator>tahmad</dc:creator>
      <dc:date>2020-12-08T03:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: nfs-connected clients show - Not real time - ontap 9.7</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/nfs-connected-clients-show-Not-real-time-ontap-9-7/m-p/161852#M36985</link>
      <description>&lt;P&gt;Thanks, this was very helpful!&amp;nbsp;&amp;nbsp; Especially sorting by idle time.&amp;nbsp; I will also test how long mounts are cached for.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have inherited systems with a lot of legacy volumes that don't have any tracking back to a server or owner.&amp;nbsp; I really want to use this command to trace back to individual volumes and show they are not being mounted.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 13:26:24 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/nfs-connected-clients-show-Not-real-time-ontap-9-7/m-p/161852#M36985</guid>
      <dc:creator>DONBARTON1</dc:creator>
      <dc:date>2020-12-08T13:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: nfs-connected clients show - Not real time - ontap 9.7</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/nfs-connected-clients-show-Not-real-time-ontap-9-7/m-p/161854#M36986</link>
      <description>&lt;P&gt;I have a write up here with a number of other CLI tricks:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://whyistheinternetbroken.wordpress.com/2015/02/16/techbecome-a-clustered-data-ontap-cli-ninja/" target="_blank"&gt;https://whyistheinternetbroken.wordpress.com/2015/02/16/techbecome-a-clustered-data-ontap-cli-ninja/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's from 2015, but much of it still applies.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Connected clients will only show active mounts. If a client has not been used for a while (meaning it's mounted but never is accessed) then it won't show up in that list.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, this client has a mount to "home", but only populates the cache when I cd or run ls to it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;demo:/home&lt;/STRONG&gt; on /mnt/home type nfs4 (rw,relatime,vers=4.1,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=&lt;STRONG&gt;10.x.x.x&lt;/STRONG&gt;,local_lock=none,addr=10.x.x.y)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;ontap9-tme-8040::*&amp;gt; nfs connected-clients show -node ontap9-tme-8040-0* &lt;STRONG&gt;-client-ip 10.x.x.x -volume home&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;There are no entries matching your query.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;# cd /mnt/home&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;# pwd&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;/mnt/home&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;ontap9-tme-8040::*&amp;gt; nfs connected-clients show -node ontap9-tme-8040-0* -client-ip 10.x.x.x -volume home&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Node: ontap9-tme-8040-02&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Vserver: DEMO&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Data-Ip: 10.x.x.y&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Client-Ip Volume-Name Protocol Idle-Time Local-Reqs Remote-Reqs&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;--------------- ---------------- -------- ------------- ---------- -----------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;10.x.x.x&lt;/STRONG&gt; &lt;STRONG&gt;home&lt;/STRONG&gt; nfs4.1 19s 2 0&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 14:37:05 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/nfs-connected-clients-show-Not-real-time-ontap-9-7/m-p/161854#M36986</guid>
      <dc:creator>parisi</dc:creator>
      <dc:date>2020-12-08T14:37:05Z</dc:date>
    </item>
  </channel>
</rss>

