Automount between Linux and Tru64 4.0f

From: Charles Knox <knox_at_grendel.astr.cwru.edu>
Date: Tue, 26 Sep 2000 17:38:08 -0400 (EDT)

Hi Folks,
     I have a relatively mysterious problem between my Tru64 4.0f boxes and a
RedHat Linux box running a linux-2.4.0-test4 kernel. Basicly the problem is
that while I can mount disks exported from the linux box to my 4.0f boxes
manually, e.g. mount -t nfs disk_at_linuxbox.cwru.edu, when I add this same disk to
my automount configuration, the mount fails. I have the same thing happen with
a solaris host trying to mount the linux box via automount, but a second linux
box works just fine. If I invoke automount with the trace option I get:


# /usr/sbin/automount -v -T -f /etc/auto.master &
[1] 6620
# GETATTR call(fh=[6620, 969915054, 13](/Tru64_40f_share))
GETATTR return(stat=OK, type=5, mode=120777, nlink=1, uid=0, gid=0,size=20, blocksize=512,
 rdev=0, blocks=1, fsid=0, fileid=13, atime=Mon Sep 25 16:50:55 2000, mtime=Mon
Sep 25 16:
50:55 2000, ctime=Mon Sep 25 16:50:55 2000)
STATFS call(fh=[6620, 969915054, 13](/Tru64_40f_share))
STATFS return(stat=OK, tsize=512, bsize=512, blocks=0, bfree=0, bavail=0)
.
.
.
GETATTR call(fh=[6620, 969915054, 20](/Solaris7_share))
GETATTR return(stat=OK, type=5, mode=120777, nlink=1, uid=0, gid=0,size=20, blocksize=512,
 rdev=0, blocks=1, fsid=0, fileid=20, atime=Mon Sep 25 16:50:55 2000, mtime=Mon
Sep 25 16:
50:55 2000, ctime=Mon Sep 25 16:50:55 2000)
STATFS call(fh=[6620, 969915054, 20](/Solaris7_share))
STATFS return(stat=OK, tsize=512, bsize=512, blocks=0, bfree=0, bavail=0)
.
.
.
GETATTR call(fh=[6620, 969915054, 23](/linux_share))
GETATTR return(stat=OK, type=5, mode=120777, nlink=1, uid=0, gid=0,size=20, blocksize=512,
 rdev=0, blocks=1, fsid=0, fileid=23, atime=Mon Sep 25 16:50:55 2000, mtime=Mon
Sep 25 16:
50:55 2000, ctime=Mon Sep 25 16:50:55 2000)
STATFS call(fh=[6620, 969915054, 23](/linux_share))
STATFS return(stat=OK, tsize=512, bsize=512, blocks=0, bfree=0, bavail=0)
.
.
.

[1] Done /usr/sbin/automount -v -T -f /etc/auto.master

# cd /Tru64_40f_share
READLINK call(fh=[6620, 969915054, 13](/Tru64_40f_share))
READLINK return(stat=OK, data=/tmp_mnt/Tru64_40f_share)
# cd /Solaris7_share
READLINK call(fh=[6620, 969915054, 20](/Solaris7_share))
READLINK return(stat=OK, data=/tmp_mnt/Solaris7_share)
# cd /linux_share
READLINK call(fh=[6620, 969915054, 23](/linux_share))
READLINK return(stat=NOENT)
/linux_share: No such file or directory

Note that as automount starts up it sees the linux_share disk just fine, but
when I go to use that disk I end up with an error!

My /etc/auto.master is
________________________________________________________________________
#key Map Mount options
/- /etc/auto.grendel -rw,intr,bg,soft,nfsv3,proto=tcp
________________________________________________________________________

My file /etc/auto.grendel is
________________________________________________________________________
#key mount_options location
/Tru64_40f_share -rw,soft Tru64_40f:/share
/Solaris7_share -rw,soft Solaris7:/share
/linux_share -rw,soft linux:/share

________________________________________________________________________

Any clues would be appreciated, I hate to put nfs mounts into the fstab
if I can help it.

Thanks
Charley Knox
Dept. of Astronomy
Case Western Reserve University
knox_at_grendel.astr.cwru.edu
Received on Tue Sep 26 2000 - 21:39:39 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT