[comp.sys.sgi] automount sun filesys on sgi

torda@igc.ethz.ch (Andrew Torda ) (04/14/91)

I have been happily using the automounter from sun to sun, but
can't get an iris to automount a disk from a sun (ordinary nfs
mounts do work).

Now, I have an entry in auto.direct like
/disk1           -rw        sun1:/disk1

Now, the automounter makes a link from /disk1 to /tmp_mnt/disk1
no problems. It says
lrwxrwxrwx   1 root     sys         20 Apr 14 18:31 disk1@ -> /tmp_mnt/disk1

If I try to cd /disk1, the sgi says 
     /disk1: Not a directory
and looking in /tmp_mnt, there is nothing there.
Obviously cd'ing into /tmp_mnt/disk1 also fails.

Now, if I
  ls -l /
I can see from the trace option that the automounter makes an nfs
request and, remarkably, disk1 is mounted.
Note, that I have not moved into the mount point itself.
Now, I try to
  cd /disk1
and it again says
  /disk1: Not a directory
despite the fact that the link is in place as in the extract from ls
above.

When the mount happens, it is working. I can go into /tmp_mnt/disk1
and look around, so it is not a problem with mountd on the sun side.

To finish this, I have now often tried to killall -15 automount.
This leads to further disasters. Now, with the automounter turned off,
any attempt to access /disk1 seems to hang.
Furthermore, there is nothing in /usr/adm/SYSLOG to suggest why it is
hanging.

All this happens with Irix 3.3.2 and SunOs 4.1
As a final experiment, I can make the sgi an exporter and successfully
automount its file system to a sun client. Just won't work the
other way round.

Thanks in advance for any suggestions.

--
Andrew Torda, ETH, Zurich

ken@ag.msc.edu (Ken Chin-Purcell) (04/16/91)

Andrew Torda writes:
....I have been happily using the automounter from sun to sun, but
....can't get an iris to automount ...
....
....Now, I have an entry in auto.direct like ...
                            ^^^^^^^^^^^
I had similar problems with direct mounts.  The 3.3.2 update release
notes mention direct mounts as an existing bug in automount.

My workaround was to put all of the mounts as indirect mounts in /rmnt, 
then place a symbolic link in the file system:

/disk1 -> /rmnt/disk1

Be sure also to merge SGI's /etc/rpc file into your NIS server,
so that sgi_mount is in the rpc NIS map.

-- 
--  Ken Chin-Purcell, Graphics, AHPCRC, Minnesota Supercomputer Ctr.
--  also known as ken@msc.edu and 612-626-8090