SUMMARY: can't automount a newly exported partition in /net

From: Christian Iseli <chris_at_ludwig-alpha.unil.ch>
Date: Thu May 16 2002 - 08:20:46 EDT
Hi,

Thanks to Andrew Rotramel, John Riddoch, Ted John, David Harrington, 
Darren Dunham, Umesh Potbhare, Matthew Stier, and Rik Schneider for their 
answers.

Unfortunately, it seems there is no way to get this to work, short of either 
stopping all the processes that use some exports of server A, or of rebooting 
client B.

Note that Solaris 8 clients have not this problem.  For them it just works.

Here is some advice I received.
> Try one of

> /etc/init.d/nscd stop
> /etc/init.d/nscd start
> or
> automount
---
> I think it has something to do with when the client b queries server A for
> what is share on /net. This happens at boot but I have not been able to find
> out how to force it. I had tried restarting many servers including nfs and
> auotmounter.
---
> Don't use /net.  Set up a nice automount map for your servers.

> As you've seen /net has limitations.  Number one is that it only scans
> when the server is mounted.  So if you can reboot, I'm sure you can
> kill all the processes that use it.  Once they stop, you can unmount
> everything under /net/host.  The next time it mounts, it will rescan.

> All that pain is gone if you set up your own map. 

I can see the point, but on the other hand, /net is so convenient.  Also, 
Solaris 8 seems to get it right...
---
> Use /etc/init.d/nfs.client stop and /etc/init.d/nfs.client start, Run
> it on Client B as a root. Even if after this if it donot see Wait and
> it should see that after nfs timeout. 
---
> Try running "/usr/sbin/automount" as root. 
---
> Try running automount by hand on the client machine. 
---

I asked:
> I have a bit of a NFS problem.  I have a server A, and a client B.
> server A  is running Solaris 8, and client B is running Solaris 2.6.

> Server A exports: /export/old

> and client B accesses it as /net/A/export/old

> Now, I add a new filesystem to A as /export/new and share it as
> appropriate

> but when I try to access from client B /net/A/export/new I get: /net/A/
> export/new: No such file or directory

> However, I have no problem mounting it through the mount command.

> Is there any way, short of rebooting, to signal to B that /net/A/
> export/new is  actually available ?  I tried "/etc/init.d/autofs stop/
> start", but there are  processes on B that continuously use /net/A/
> export/old, and stopping them is a  pain... 
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu May 16 08:34:33 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:43 EST