[ale] What users are mounting a share?
Robert L. Harris
Robert.L.Harris at rdlg.net
Tue Oct 15 14:58:18 EDT 2002
Yeah, that's what I'm seeing and thought the problem was. I was hoping
there was a way to actually find out who currently has the shares
mounted though.
Thus spake Dow Hurst (dhurst at kennesaw.edu):
> Date: Tue, 15 Oct 2002 14:09:43 -0400
> From: Dow Hurst <dhurst at kennesaw.edu>
> To: "Robert L. Harris" <Robert.L.Harris at rdlg.net>, ale at ale.org
> Subject: Re: [ale] What users are mounting a share?
>
> Robert,
> Note the BUGS section from the IRIX man page of showmount. You might
> not have had those machines that are dead properly umount. But, the
> showmount does show you the "official" list of clients with current
> mounts of your exported drives.
> Dow
>
>
> NAME
> showmount - show all remote NFS mounts
>
> SYNOPSIS
> /etc/showmount [-a] [-d] [-e] [-x] [host]
>
> DESCRIPTION
> showmount lists all the clients that have remotely mounted a filesystem
> from host (or the local host if host is not given). This
> information is
> maintained by the mountd(1M) server on host, and is saved across
> crashes
> in the file /etc/rmtab.
>
> OPTIONS
> -a Print all remote mounts in the format hostname:directory where
> hostname is the name of the client, and directory is the root
> of the
> filesystem that has been mounted.
>
> -d List directories that have been remotely mounted by clients.
>
> -e Print the list of exported filesystems. For each filesystem, list
> the clients given mount access.
>
> -x Print the list of exported filesystems and all of their export
> options, in the format described by exports(4). This option
> overrides the -e option.
>
> SEE ALSO
> exportfs(1M), mountd(1M), exports(4).
>
> BUGS
> If a client crashes, its entry is not removed from /etc/rmtab until it
> reboots and executes umount -a.
>
>
>
> Robert L. Harris wrote:
>
> > I'm trying to find what users are mounting an nfs share. "showmount"
> >lists a history of everyone on the server who "has" mounted the share,
> >not who currently has it mounted. I'm sure this is the case because the
> >sucker is listing 5 machines that are in a pile on the floor next to me,
> >dead.
> >
> > I seem to remember "nfsstat" or something similar showing the
> >functionality but nfsstat isn't giving a list of specific hosts. I need
> >to shut them down before a server change is made and would like it to be
> >"clean"...
> >
> >Thoughts before I loose my mind?
> >
> >
> >:wq!
> >---------------------------------------------------------------------------
> >Robert L. Harris
> >
> >DISCLAIMER:
> > These are MY OPINIONS ALONE. I speak for no-one else.
> >FYI:
> >perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
> >
> >
> >---
> >This message has been sent through the ALE general discussion list.
> >See http://www.ale.org/mailing-lists.shtml for more info. Problems should
> >be sent to listmaster at ale dot org.
> >
> >
> >
> >
>
> --
> __________________________________________________________
> Dow Hurst Office: 770-499-3428
> Systems Support Specialist Fax: 770-423-6744
> 1000 Chastain Rd., Bldg. 12
> Chemistry Department SC428 Email:dhurst at kennesaw.edu
> Kennesaw State University Dow.Hurst at mindspring.com
> Kennesaw, GA 30144
> *********************************
> *Computational Chemistry is fun!*
> *********************************
>
:wq!
---------------------------------------------------------------------------
Robert L. Harris
DISCLAIMER:
These are MY OPINIONS ALONE. I speak for no-one else.
FYI:
perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.
More information about the Ale
mailing list