Operating System - HP-UX
1833012 Members
2608 Online
110048 Solutions
New Discussion

Changing NFS access on the fly

 
Chris Hart_1
Occasional Contributor

Changing NFS access on the fly

If I change my exportfs file to add -access restrictions, users already mounted are not effected. This is on HP-UX 11.0. I've run exportfs -ua and export -a to no avail. What do I need to do to cause these NFS restrictions to become effective?
2 REPLIES 2
Sachin Patel
Honored Contributor

Re: Changing NFS access on the fly

Hi chris,
you means exportfs -a correct?

if you are using automounter then
#kill -TERM automouter_pid (on client)(most porbable it should work without killing automouter)

and if it is hard mount then naturally you have to umount and mount manually on all clients.

Sachin Patel
Is photography a hobby or another way to spend $
Patrick Wallek
Honored Contributor

Re: Changing NFS access on the fly

To get the restrictions to become effective, you should unmount all the NFS and then remount. I believe that the access restrictions are just looked when the initial mount is done. If a bunch of users have it mounted, they will be able to access the NFS mount as long as they stay mounted. If you unmount and they try to remount, they should be denied access.