[olug] Getting list of servers that have mounted an NFS drive

Chad Homan choman at gmail.com
Mon Jan 13 16:09:02 UTC 2014

+1 showmount and +1 automount

Together We Win!
Do You Know Your Life Score? <http://choman.mymonavie.com>
Creating A More Meaningful Life

Some people, when confronted with a problem, think "I know, I'll use
Now they have two problems.

On Mon, Jan 13, 2014 at 3:16 AM, Christopher Cashell <topher-olug at zyp.org>wrote:

> On Jan 12, 2014 11:17 PM, "Dave Thacker" <dthacker <
> dthacker at bluestrain.net>
> @ <dthacker at bluestrain.net>bluestrain.net <dthacker at bluestrain.net>>
> wrote:
> > Let's say I have server "coffee" that is serving a local filesystem
> > "/darkroast" to several other linux machines.  We've decided to migrate
> > /darkroast from a local drive to an NFS share on a NetApp.  What command
> can I
> > run on "coffee" that will show me a list of other servers that have
> mounted
> > "/darkroast".  I need this list to make sure I won't get the dreaded
> > "filesystem is busy" error when I unmount it and get ready to migrate the
> data
> > to the new storage on the NetApp.
> Have you tried 'showmount'? That has generally always worked for me.
> > What else can I tell you?
> > -The NFS mounts are not set up as automount
> > -I've tried this at least twice in a dev environment and never got a
> complete
> > list.
> Personal opinion: use automount. It makes things a lot easier and cleaner.
> Especially if you have an LDAP server, and store your automount maps there.
> I find myself having a lot fewer NFS problems when I use automount.
> > Dave Thacker
> --
> Christopher
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> https://lists.olug.org/mailman/listinfo/olug

More information about the OLUG mailing list