Networking Forums

Networking Forums > Computer Networking > Linux Networking > shares not listing on Linux NFS client

Reply
Thread Tools Display Modes

shares not listing on Linux NFS client

 
 
savvysim@hotmail.com
Guest
Posts: n/a

 
      05-03-2007, 04:59 PM
Hello,

When our Linux NFS/NIS clients try to list mounted shares from our
Solaris NFS/NIS server, no items are returned. If you know the name of
the directory/share, you can change to it and after that, it will list
until it times out (60 seconds) and then the share is no longer
visible again.

This is not an issue for our Solaris NFS/NIS clients as they always
list the shares, with the exception of our 'home' directories, which
use the '-nobrowse' option on our 'auto.master' NIS map.

Not a show stopper but annoying and not finding much on the web. Any
suggestions?

Thanks,


Aaron

 
Reply With Quote
 
 
 
 
Tim S
Guest
Posts: n/a

 
      05-03-2007, 09:23 PM
(E-Mail Removed) wrote:

> Hello,
>
> When our Linux NFS/NIS clients try to list mounted shares



> from our
> Solaris NFS/NIS server, no items are returned. If you know the name of
> the directory/share, you can change to it and after that, it will list
> until it times out (60 seconds) and then the share is no longer
> visible again.


They are not mounted except on demand - it sounds like you are using an
automounter, so assuming that is autofs (as opposed to amd) then
add --ghost in the auto.master file.

Here's one of my entries:

/vol /etc/auto.vol --timeout=60 --ghost hard,intr,wsize=8192,rsize=8192,tcp


>
> This is not an issue for our Solaris NFS/NIS clients as they always
> list the shares, with the exception of our 'home' directories, which
> use the '-nobrowse' option on our 'auto.master' NIS map.


I would guess -nobrowse is the inverse of --ghost

> Not a show stopper but annoying and not finding much on the web. Any
> suggestions?


HTH

Tim
 
Reply With Quote
 
savvysim@hotmail.com
Guest
Posts: n/a

 
      05-03-2007, 10:16 PM
Thanks Tim! That took care of it!

Aaron

 
Reply With Quote
 
Tim S
Guest
Posts: n/a

 
      05-03-2007, 11:04 PM
(E-Mail Removed) wrote:

> Thanks Tim! That took care of it!
>
> Aaron



No worries

I would add, if yours is a large site (> few hundred clients) beware of
doing this to every client.

Certain "innocent" browsing operations on the parent directory (/vol) in my
example by many GUI filemanagers will cause everything to get mounted,
hammering your server(s).

Rox, for example, does crazy crap like this (from an strace)

lstat64("/vol/wwwsource/.DirIcon" ...
lstat64("/vol/wwwsource/AppRun" ...

I've seen gnome and/or kde do this, probably for similar reasons.

It's OK if the server(s) is/are beefy or client activity is low, but given
the wrong conditions, it can be bad news.

Cheers

Tim
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Client can't see server default shares with Linksys WPC54Gv3.1 J David Ellis Wireless Networks 1 12-16-2006 05:05 AM
route /f and client connectivity to file shares BobbyO Windows Networking 5 01-16-2006 11:29 PM
connecting to netlogon and admin shares from client Jim Kiddoo Windows Networking 4 03-10-2005 10:29 PM
Trouble Installing Linux/Cisco VPN Client Has anyone had trouble compiling the linux cisco vpn client? Here is the output of the install script: # uname -rviosm Linux 2.4.22-1.2188.nptl #1 Wed Apr 21 20:19:18 EDT 2004 x86_64 x86_64 GNU/Linux JSH Linux Networking 4 07-02-2004 01:48 PM
Win 98 Client issues... Slow logins and shares not showing up Windows Networking 1 01-27-2004 05:47 PM



1 2 3 4 5 6 7 8 9 10 11