Thanks for correction.. been using GPFS so long I forgot my basic NFS command.
Or that its now IBM Storage Scale and no longer Spectrum Scale or GPFS... 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. Alternatively you can have most nfsd daemons log mounts and then scan the logs for a more reliable method. Alec On Wed, Mar 22, 2023, 2:00 PM Markus Stoeber <[email protected]> wrote: > Am 22.03.2023 um 21:45 schrieb Beckman, Daniel D: > > Hi, > > showmount -a should do the trick, however the manpage notes that: > > -a or --all > 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). > > showmount -d could also be an option: > > -d or --directories > List only the directories mounted by some client. > > Best regards, > > Markus > > 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. > > > > *From:* gpfsug-discuss <[email protected]> > <[email protected]> *On Behalf Of *Alec > *Sent:* Wednesday, March 22, 2023 4:23 PM > *To:* gpfsug main discussion list <[email protected]> > <[email protected]> > *Subject:* Re: [gpfsug-discuss] How to: Show clients actively connected > to a given NFS export (CES) > > > > *CAUTION:* This email message has been received from an external source. > Please use caution when opening attachments, or clicking on links. > > showmount -e nfsserver > > > > Normal way to see that for an nfs server. > > > > On Wed, Mar 22, 2023, 1:13 PM Beckman, Daniel D <[email protected]> wrote: > > 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? > > > > Thanks, > > Daniel > > > > > > _______________________________________________ > gpfsug-discuss mailing list > gpfsug-discuss at gpfsug.org > http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org > > > _______________________________________________ > gpfsug-discuss mailing list > gpfsug-discuss at > gpfsug.orghttp://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org > > > -- > Markus Stoeber > Systemmanagement AIX, Linux / Storagemanagement / Plattformintegration > Hochschulrechenzentrum der Johann Wolfgang Goethe-Universitaet > Abt. Basisdienste > > _______________________________________________ > gpfsug-discuss mailing list > gpfsug-discuss at gpfsug.org > http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org >
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at gpfsug.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org
