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

Kevin sharpestmarble at gmail.com
Mon Jan 13 08:38:59 UTC 2014

How about netstat? Alternatively, remove /darkroast from /etc/exports &
restart NFS.
On Jan 12, 2014 11:17 PM, "Dave Thacker" <dthacker at bluestrain.net> wrote:

> Greetings!
> Here's a Red Hat/CentOS/Oracle linux 6.4 question for you.
> 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.
> 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.
> Any ideas?
> Dave Thacker
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> https://lists.olug.org/mailman/listinfo/olug

More information about the OLUG mailing list