Hello, Today one of my machines changed IP address and autofs stopped working as expected. I tried running exportfs -f on the server but that didn't help. I also tried export -a and export -r but still no result. The issue was resolved only when I removed the hostname in question from /etc/exports, reexport, then added it back and reexported again.
Best regards, Atanas Kumbarov On Wed, Jul 2, 2014 at 12:53 PM, Atanas Kumbarov <[email protected]> wrote: > Hi, > Waiting doesn't help as sometimes I have waited for over two hours. I've > also tried restarting nscd prior to reexporting and verifying that the > server searches for the correct IP address. I think that I have tried the > -f argument but I don't remember the outcome. > > Currently I am away from the computers on a vacation and cannot test but I > will try the -f switch and see what happens. > > Thanks for helping. > > Best regards, > Atanas Kumbarov > > > On Wed, Jul 2, 2014 at 9:02 AM, Rik Theys <[email protected]> > wrote: > >> Hi, >> >> Does it help if you run 'exportfs -f'? (or wait about 15 minutes) >> >> You can check the content of the various caches that nfsd uses in: >> /proc/net/rpc >> >> I've also recently discovered that /proc/net/rpc/auth.unix.ip/content >> contains the cache used by nfsd. You can flush that cache with the above >> command (or by writing the current time in seconds-since-epoch into the >> flush file). >> >> Regards, >> >> Rik >> >> >

