From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <97000421029383.tru64-unix-managers.marc@archive.invalid> From: Charles Knox Date: Tue, 26 Sep 2000 21:38:08 +0000 To: tru64-unix-managers Subject: Automount between Linux and Tru64 4.0f X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=97000421029383 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@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@grendel.astr.cwru.edu