Hi Rick,

I apologize in advance if you've already received an answer to your
question.  I couldn't seem to find any list archives for the autofs mailing
list.

Rick Richardson <[EMAIL PROTECTED]> writes:
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, June 21, 1999 7:24 AM
> To: [EMAIL PROTECTED]
> Subject: Autofs and Network Appliance
> 
> With "amd", we had no trouble automounting our Network Appliance NFS
> server on Redhat 5.2.  Here is our "amd.conf" file:
> 
>       /defaults fs:=${autodir}/${rhost}/root/${rfs};opts:=nosuid,nodev
>       *       rhost:=${key};type:=host;rfs:=/

                              ^^^^^^^^^^
                              ||||||||||

This amd configuration is using a "host" mount, meaning that it will browse
the NFS server's export list and possibly do multiple NFS mounts under a
single automount point.  (I don't believe that autofs supports this yet --
autofs experts: please correct me if I'm wrong!)


> But with "autofs" on RH 6.0, we cannot get it to automount the Network
> Appliance NFS server.  Manual NFS mounts of the appliance work.
> Autofs will automount other Linux boxes and Solaris boxes.
> 
> Here is /etc/auto.master:
>       /net    /etc/auto.net   --timeout 60
> and here is /etc/auto.net:
>       *       &:/

                ^^^
                |||

This autofs configuration will only try to mount the root directory of the
NFS server, which I believe is not being exported by your NetApp filer (see
below).


> Here is a demo of what happens:
> 
> [rick@pepper /etc]$ ls /net/fs1/local
> ls: /net/fs1/local: No such file or directory
> [rick@pepper /etc]$ ls /net/fs1/
> ls: /net/fs1: No such file or directory
> [rick@pepper /etc]$ root mount -tnfs fs1:/local /mnt

                                       ^^^^^^^^^^
                                       ||||||||||

This isn't the root directory on the filer.  Of course, I can't see the
full export list, but from your example I'm assuming that the root
directory isn't exported.


> Does anybody have any idea how to make "autofs" work as well as "amd"
> did with the Network Appliance?

This problem doesn't look like it's specific to NetApp filers.  (Whew! :-)
If reconfiguring autofs to mount the specific export from the filer doesn't
work, please feel free to mail me and I'll see about escalating this as a
bug.

Regards,
Jason

Reply via email to