home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.ultrix
- Path: sparky!uunet!utcsri!torn!watserv2.uwaterloo.ca!watmath!watcgl!idallen
- From: idallen@watcgl.uwaterloo.ca (Ian! D. Allen [CGL])
- Subject: Re: Summary: AMD for Risc Ultrix?
- Message-ID: <BxHBB9.Krn@watcgl.uwaterloo.ca>
- Reply-To: idallen@watcgl.uwaterloo.ca (Ian! D. Allen [CGL])
- Organization: Computer Graphics Lab, University of Waterloo, Ontario, CANADA
- References: <BvtIF8.2K6@umassd.edu> <Bw852o.4Iz@umassd.edu>
- Date: Tue, 10 Nov 1992 02:37:56 GMT
- Lines: 67
-
- We played a bit with amd. We have a Lab of some 40 Unix machines, and we
- want to permit complete cross-mounting of all file systems on all
- machines, so our /etc/exports files are large. A sample:
-
- 282 1205 18326 /etc/exports
-
- The Ultrix /etc/mountd can't handle the "show me your exported file
- systems" RPC call that AMD uses for "host"-type mounts. Our Ultrix
- /etc/mountd kept dying, even on Ultrix 4.2 (RISC):
-
- ULTRIX V4.2 (Rev. 96)
-
- I posted this bug last year. It's still there. At the time, I
- thought it was a problem with the automounter. Now I realize it's a
- problem with /etc/mountd on every version of Ultrix up to the present.
-
- |Newsgroups: comp.unix.ultrix
- |Date: Mon, 21 Oct 1991 23:05:50 GMT
- |From: "Ian! D. Allen [CGL]" <idallen@watcgl.waterloo.edu>
- |Subject: 4.1 automount or RPC can't handle big /etc/exports files
- |
- |ULTRIX V4.1 (Rev. 52) has problems with large exports files.
- |
- |We have ones like this:
- |
- | 225 977 14886 /etc/exports
- |
- |that do this:
- |
- |------------------
- |myhost# automount -v -T /path -hosts -ro,intr,soft
- |myhost# ls /path/xxx
- |GETATTR call(fh=[325, 688082717, 4])
- |GETATTR return(stat=NFS_OK, type=2, mode=40555, nlink=1, uid=0, gid=0,size=512,
- |blocksize=512, rdev=0, blocks=1, fsid=0, fileid=4, atime=Mon Oct 21 18:05:17 199
- |1, mtime=Mon Oct 21 18:05:17 1991, ctime=Mon Oct 21 18:05:17 1991)
- |LOOKUP call(fh=[325, 688082717, 4], name=xxx)
- |rpc timed outLOOKUP return(stat=NFSERR_NOENT)
- |/path/xxx: No such file or directory
- |------------------
- |
- |The simplest example I could come up with to reproduce the bug is to
- |make xxx:/etc/exports contain 600 lines of the form:
- |
- | / myhost
- | / myhost
- | / myhost
- | / myhost
- | [...for 600 lines or so...]
- |
- |Then you'll get the above automount failure when trying to automount
- |from host "xxx" onto host "myhost". If you trim xxx:/etc/exports down
- |to, say, 400 lines -- the automount succeeds.
- |
- |In all cases a direct "mkdir /tmp/foo && mount xxx:/ /tmp/foo" succeeds.
- |
- |I've tried various things and the problem seems to be related to the size
- |in bytes of the exports file. The number of entries isn't as relevant; a
- |few huge entries are as bad as the above case of a zillion small ones.
- |
- |Obviously a big /etc/exports file is messing up some DEC Ultrix 4.1
- |RPC program with a small buffer size in it.
-
- #include <dec/spr.h>
- --
- -IAN! (Ian! D. Allen) idallen@watcgl.uwaterloo.ca [129.97.140.64]
- Computer Graphics Lab/University of Waterloo/Ontario/Canada (519)888-4534
-