<div dir="auto">Thanks for correction.. been using GPFS so long I forgot my basic NFS command. <div dir="auto"><br></div><div dir="auto">Or that its now IBM Storage Scale and no longer Spectrum Scale or GPFS...</div><div dir="auto"><br></div><div dir="auto">As a note that info is a little unreliable, but if you take a daily snapshots and throw it all together it should give you something.</div><div dir="auto"><br></div><div dir="auto">Alternatively you can have most nfsd daemons log mounts and then scan the logs for a more reliable method.</div><div dir="auto"><br></div><div dir="auto"><div dir="auto">Alec</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 22, 2023, 2:00 PM Markus Stoeber <<a href="mailto:M.Stoeber@rz.uni-frankfurt.de">M.Stoeber@rz.uni-frankfurt.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div>Am 22.03.2023 um 21:45 schrieb Beckman,
Daniel D:</div>
<div><br>
</div>
<div>Hi,<br>
</div>
<div><br>
</div>
<div>showmount -a should do the trick,
however the manpage notes that:</div>
<div><br>
</div>
<div>-a or --all</div>
<div> List both the client
hostname or IP address and mounted directory in host:dir format.
This info should not be considered reliable. See the notes on
rmtab in rpc.mountd(8).<br>
</div>
<div><br>
</div>
<div>showmount -d could also be an option:</div>
<div><br>
</div>
<div>-d or --directories<br>
List only the directories mounted by some client.<br>
</div>
<div><br>
</div>
<div>Best regards,</div>
<div><br>
</div>
<div>Markus</div>
<div><br>
</div>
<blockquote type="cite">
<div>
<p class="MsoNormal">Thanks, but that shows the export list: a
list of shares and the hosts / networks that have access. It
does not show which of those clients are currently connected
to a given share, as in have it mounted. </p>
<p class="MsoNormal"> </p>
<div>
<div>
<p class="MsoNormal"><b>From:</b> gpfsug-discuss
<a href="mailto:gpfsug-discuss-bounces@gpfsug.org" target="_blank" rel="noreferrer"><gpfsug-discuss-bounces@gpfsug.org></a>
<b>On Behalf Of </b>Alec<br>
<b>Sent:</b> Wednesday, March 22, 2023 4:23 PM<br>
<b>To:</b> gpfsug main discussion list
<a href="mailto:gpfsug-discuss@gpfsug.org" target="_blank" rel="noreferrer"><gpfsug-discuss@gpfsug.org></a><br>
<b>Subject:</b> Re: [gpfsug-discuss] How to: Show clients
actively connected to a given NFS export (CES)</p>
</div>
</div>
<p class="MsoNormal"> </p>
<div>
<div>
<p><b><span>CAUTION:</span></b><span> This email message has
been received from an external source. Please use
caution when opening attachments, or clicking on links.</span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal">showmount -e nfsserver </p>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Normal way to see that for an nfs
server.</p>
</div>
</div>
<p class="MsoNormal"> </p>
<div>
<div>
<p class="MsoNormal">On Wed, Mar 22, 2023, 1:13 PM
Beckman, Daniel D <<a href="mailto:dbec@loc.gov" target="_blank" rel="noreferrer">dbec@loc.gov</a>>
wrote:</p>
</div>
<blockquote>
<div>
<div>
<p class="MsoNormal">This is probably a dumb question,
but I could not find it in the documentation. We
have certain NFS exports that we suspect are no
longer used or needed but before removing we’d like
to first check if any clients are currently mounting
them. (Not just what has access to those exports.)
Are there commands that will show this?
</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thanks,</p>
<p class="MsoNormal">Daniel</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
</div>
</div>
<p class="MsoNormal">_______________________________________________<br>
gpfsug-discuss mailing list<br>
gpfsug-discuss at <a href="http://gpfsug.org" target="_blank" rel="noreferrer">gpfsug.org</a><br>
<a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org" target="_blank" rel="noreferrer">http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org</a></p>
</blockquote>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at <a href="http://gpfsug.org" target="_blank" rel="noreferrer">gpfsug.org</a>
<a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org" target="_blank" rel="noreferrer">http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org</a>
</pre>
</blockquote>
<p><br>
</p>
<pre cols="72">--
Markus Stoeber
Systemmanagement AIX, Linux / Storagemanagement / Plattformintegration
Hochschulrechenzentrum der Johann Wolfgang Goethe-Universitaet
Abt. Basisdienste</pre>
</div>
_______________________________________________<br>
gpfsug-discuss mailing list<br>
gpfsug-discuss at <a href="http://gpfsug.org" rel="noreferrer noreferrer" target="_blank">gpfsug.org</a><br>
<a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org" rel="noreferrer noreferrer" target="_blank">http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org</a><br>
</blockquote></div>