NFS "Permission Denied" getting cached on NetApp Filer
Posted
by
Christopher Karel
on Server Fault
See other posts from Server Fault
or by Christopher Karel
Published on 2010-10-05T16:06:09Z
Indexed on
2011/12/01
2:01 UTC
Read the original article
Hit count: 735
We have a bunch of Linux boxes mounting NFS shares off a NetApp filer. From time to time, I will flub some part of the export configuration. Typo on one of the allowed hosts, incorrect IP address, etc, etc. No worries, this is usually done on a test system, or with brand new exports that aren't yet in production.
However, I've found that once I've been denied permission to mount something from a Linux machine, the failure gets cached for as long as a day. I will correct the problem that was blocking the mount, re-export on the NetApp, and still not be able to mount the share. I'm pretty sure this caching is done at the NetApp side. It normally ages out after a day or so, but it really sucks having to wait until tomorrow to mount a share.
I've tried exportfs -f
on the NetApp, as well as dns flush
. (I found both suggestions via Google) However, neither one works.
I would sell my soul if someone could help out with a command/pagan ritual that would clear up this cache issue.
--Christopher Karel
© Server Fault or respective owner