[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#753407: exportfs -r does not reexport shares for hosts with changed IPs



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 <Rik.Theys@esat.kuleuven.be> 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



Reply to: