Thanks for responding Peter.  
We have autofs v4 compiled into the kernel (2.4.12), and the userspace tools
are autofs-3.1.7-14 which comes with Red Hat 7.1.  Actually this brings up
something I hadn't considered before, do we need a specific version of the
userspace tools to use autofs v4 services in the kernel?  Darrel Hankerson
said that he was using autofs v3 to connect to solaris 8 servers and
suggested that we drop down to autofs version 3.   Maybe that would help,
but since autofs v4 is where the current development is I am hesitant to
move away from it.  From my (user) perspective, it definitely seems to be a
problem with how autofs is passing arguments to the NFS client software,
because I have no problem mounting things directly.  The strangest part is
that I can get autofs talking to Solaris NFS servers, but only if I force
tcp mode.   Mounting NFSv3/udp (default settings) from Solaris servers only
works if I do it manually via 'mount' or /etc/fstab.

Right now we have worked around the problem by forcing autofs to use tcp
mode (which lets us talk to the solaris boxen) and mounting the linux
filesystems through /etc/fstab.  This works but it's a hack, we would like
to use autofs for everything if possible.  Any help you can offer would be
greatly appreciated!

Thanks again,
aaron

p.s.  I checked out your suggestion re: multiple copies of 'mount' but we
only have one... /bin/mount from the 'mount' rpm package that comes with
RH71.  

dw1 ~ % rpm -q autofs
autofs-3.1.7-14
dw1 ~ % rpm -q mount
mount-2.10r-5

> -----Original Message-----
> From: H. Peter Anvin [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, October 25, 2001 10:49 AM
> To:   Ogden, Aaron A.
> Cc:   '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'; Schulte, Rick;
> Waybright, Robert C.
> Subject:      Re: autofs interoperability problems between linux and
> solaris
> 
> Ogden, Aaron A. wrote:
> > Okay, but I can mount these filesystems directly with the 'mount'
> command
> > using either NFSv3 tcp or udp and it works fine.  When I try to mount
> these
> > same partitions through autofs it hangs every time unless I force tcp
> mode.
> > This, of course, breaks autofs w.r.t. linux servers since linux nfsd
> can't
> > do tcp mode yet. 
> > 
> > NFS seems to be working fine in all modes, I am only having a problem
> with
> > autofs.
> > 
> 
> Pardon me for sounding sceptical... autofs does mount NFS via the "mount" 
> command the same way you would off the command line.
> 
> Possibilities:
> 
> a) You have more than one mount(8) installed, and you end using different 
> ones;
> 
> b) NFS does something strange when invoked from autofs.
> 
> What version of autofs (kernel and userspace) are you running?
> 
>       -hpa

Reply via email to