celozzi@sparky.bwi.wec.com (Dominic J Celozzi) (07/03/90)
We are using AMD version 5.1.1.6 (Rel5.1c) with map support for: root, yp, file, error. We seem to have two problems with its usage, the first error is most likely usage, as it is a problem on all our platforms (Sun3, Sun4 and Vax). (Since the problem is so easily descibed, only a brief explanation is given below.) The second problem is only seen on the Vax, hence a problem with this port. Sorry to be so verbose with the description of the problem, but I assume the more data given the easier it will be to address it. All comments are appreciated. I will attempt to summarize all errors below: **************************************************************************** I. type:=ufs This never works, on any architecture (Sun 3 - OS4.0.3, Sun 4 - OS 4.0.3c, Vax 11/780 - Ultrix 3.1 Rev 9) All report the same error: "Mount device busy" This is both with and without invoking amd with the "-r" option. **************************************************************************** II. type:=link This works wonderfully on the Suns, but gets extremely confused on the Ultrix machine. Using the map file a_tron (shown below): /defaults opts:=rw,intr,grpid,nosuid # # Partitions for machine tron - Vax 11/780 running Ultrix tron type:=auto;fs:=${map};pref:=${key}/ tron/wusers host!=tron;type:=nfs;rhost:=tron;rfs:=/usr/users \ host==tron;type:=link;fs:=/usr/users tron/var host!=tron;type:=nfs;rhost:=tron;rfs:=/var \ host==tron;type:=link;fs:=/var tron/aux host!=tron;type:=nfs;rhost:=tron;rfs:=/aux \ host==tron;type:=link;fs:=/aux tron/usr type:=auto;fs:=${map};pref:=${key}/ tron/usr/adm -sublink:=adm \ host!=tron;type:=nfs;rhost:=tron;rfs:=/var \ host==tron;type:=link;fs:=/var tron/usr/local -sublink:=local \ host!=tron;type:=nfs;rhost:=tron;rfs:=/var \ host==tron;type:=link;fs:=/var tron/usr/cad host!=tron;type:=nfs;rhost:=tron;rfs:=/usr/cad \ host==tron;type:=link;fs:=/usr/cad tron/usr/dump host!=tron;type:=nfs;rhost:=tron;rfs:=/usr/dump \ host==tron;type:=link;fs:=/usr/dump tron/usr/users host!=tron;type:=nfs;rhost:=tron;rfs:=/usr/users \ host==tron;type:=link;fs:=/usr/users I invoke amd as follows: "amd -l log /rmt a_tron" it works some of the time, but the times it does not I get errors such as: [0.38]tron.bwi.wec.com-/var/adm/amd>cd /rmt/tron/ **** Here it sees the contents of usr/adm, but complains they don't exist! *** [0.39]tron.bwi.wec.com-/rmt/tron>ls usr/adm usr/adm@ [0.40]tron.bwi.wec.com-/rmt/tron>ls usr/adm/ usr/adm/lastlog: No such file or directory usr/adm/lpd-errs: No such file or directory usr/adm/newsyslog: No such file or directory usr/adm/shutdownlog: No such file or directory usr/adm/fverifylog: No such file or directory usr/adm/bin: No such file or directory usr/adm/crash: No such file or directory usr/adm/snap: No such file or directory usr/adm/syserr: No such file or directory usr/adm/acct: No such file or directory usr/adm/wtmp: No such file or directory usr/adm/aculog: No such file or directory usr/adm/ris: No such file or directory usr/adm/install.FS.log: No such file or directory usr/adm/install.DEV.log: No such file or directory usr/adm/install.log: No such file or directory usr/adm/elcsdlog: No such file or directory usr/adm/eventlock: No such file or directory usr/adm/usracct: No such file or directory usr/adm/savacct: No such file or directory usr/adm/sulog: No such file or directory usr/adm/ja: No such file or directory usr/adm/lpacct: No such file or directory usr/adm/acct.tmp: No such file or directory usr/adm/wtmp.tmp: No such file or directory usr/adm/printcap.log: No such file or directory usr/adm/lperr: No such file or directory usr/adm/lpsecerr: No such file or directory usr/adm/amd: No such file or directory [0.41]tron.bwi.wec.com-/rmt/tron>ls -l usr total 2 lrwxrwxrwx 1 root 8 May 30 12:32 adm@ -> /var/adm lrwxrwxrwx 1 root 10 May 30 12:32 local@ -> /var/local lrwxrwxrwx 1 root 10 May 30 12:32 users@ -> /usr/users [0.42]tron.bwi.wec.com-/rmt/tron>ls -l /var/adm total 1483 -rw-r--r-- 1 root 90508 May 30 12:36 acct -rw-r--r-- 1 root 216216 May 30 00:00 acct.tmp -rw--w---- 1 uucp 11903 Apr 30 10:47 aculog drwxrwxr-x 2 root 512 May 30 12:32 amd/ drwxrwxr-x 2 root 512 Aug 14 1989 bin/ drwxrwxr-x 2 root 512 Feb 20 17:31 crash/ -rw-rw-r-- 1 root 173 May 30 11:21 elcsdlog -rw--w---- 1 root 0 Aug 14 1989 eventlock -rw-rw-r-- 1 root 12706 Mar 2 16:18 fverifylog -rw-rw-r-- 1 root 573 Aug 14 1989 install.DEV.log -rw-rw-r-- 1 root 1057 Aug 14 1989 install.FS.log -rw-rw-r-- 1 root 17874 Aug 14 1989 install.log drwxrwxr-x 2 root 10240 May 30 00:25 ja/ -rw-rw-r-- 1 root 28000 May 30 12:14 lastlog -rw-r--r-- 1 daemon 0 Mar 2 16:19 lpacct -rw-rw-r-- 1 root 0 Oct 19 1988 lpd-errs -rw-r--r-- 1 daemon 26564 May 18 17:56 lperr -rw-r----- 1 daemon 573 Apr 12 19:21 lpsecerr -rwxrwxr-x 1 daemon 434 Oct 19 1988 newsyslog* -rw-r--r-- 1 root 441 Apr 12 12:13 printcap.log drwxrwxr-x 4 ris 512 Aug 14 1989 ris/ -rw-rw-r-- 1 root 19152 May 30 04:30 savacct -rw-rw-r-- 1 root 7881 May 30 11:13 shutdownlog drwxrwxr-x 2 root 512 Aug 14 1989 snap/ -rw-rw-r-- 1 root 20328 May 30 12:05 sulog drwxrwxr-x 2 root 512 May 10 10:29 syserr/ -rw-rw-r-- 1 root 23100 May 30 04:30 usracct -rw-rw-r-- 1 root 990468 May 30 12:22 wtmp -rw-r--r-- 1 root 3708 May 30 00:00 wtmp.tmp [0.43]tron.bwi.wec.com-/rmt/tron>amq / auto "root" tron:(pid1165) /rmt auto a_tron /rmt /rmt/tron auto a_tron /rmt/tron /rmt/tron/aux link . /aux /rmt/tron/var link . /var /rmt/tron/wusers link . /usr/users /rmt/tron/usr auto a_tron /rmt/tron/usr /rmt/tron/usr/adm link . /var/adm /rmt/tron/usr/users link . /usr/users /rmt/tron/usr/local link . /var/local ****** Here the link to wusers changes!!!! ********** [0.44]tron.bwi.wec.com-/rmt/tron>ls wusers adm/ dump/ lib/ new/ sys/ bin/ etc/ local/ preserve/ tmp/ cad/ examples/ lost+found/ pub/ ucb/ dict/ field/ man/ skel/ users/ diskless/ hosts/ mdec/ spool/ var/ doc/ include/ msgs/ src/ [0.45]tron.bwi.wec.com-/rmt/tron>ls -l total 2 lrwxrwxrwx 1 root 4 May 30 12:46 aux@ -> /aux dr-xr-xr-x 2 root 512 May 30 12:32 usr/ lrwxrwxrwx 1 root 4 May 30 12:46 var@ -> /var lrwxrwxrwx 1 root 10 May 30 12:46 wusers@ -> /usr/users [0.46]tron.bwi.wec.com-/rmt/tron>ls wusers lost+found/ mips.students/ support/ mcc/ students/ wec/ Enough of the examples. What I see happening, as I examine the symbolic link, many it will appear to point in the right place, but the number of characters the file actually contains indicate it must be pointing somewhere else! This occurs much more prevelantly when I mount the /vol map... o If I attempt to change the a_tron map above to never perform a check if localhost, then I again see problems, this time sublink is not being examined. Assuming the file a_tron now contains: /defaults opts:=rw,intr,grpid,nosuid # Partitions for machine tron - Vax 11/780 running Ultrix tron type:=auto;fs:=${map};pref:=${key}/ tron/var type:=nfs;rhost:=tron;rfs:=/var tron/aux type:=nfs;rhost:=tron;rfs:=/aux tron/usr type:=nfs;rhost:=tron;rfs:=/usr tron/usr/cad type:=nfs;rhost:=tron;rfs:=/usr/cad tron/usr/dump type:=nfs;rhost:=tron;rfs:=/usr/dump tron/usr/users type:=nfs;rhost:=tron;rfs:=/usr/users tron/wusers type:=nfs;rhost:=tron;rfs:=/usr/users We see the following behavior: [0.63]tron.bwi.wec.com-/rmt/tron>amq / auto "root" tron:(pid1165) /rmt auto a_tron /rmt /rmt/tron auto a_tron /rmt/tron [0.64]tron.bwi.wec.com-/rmt/tron>ls var adm/ gnu/ lost+found/ spool/ yp/ diskless/ ja/ mop/ tmp/ dnet/ local/ preserve/ uucp/ [0.65]tron.bwi.wec.com-/rmt/tron>ls usr usr: Permission denied [0.66]tron.bwi.wec.com-/rmt/tron>ls var adm/ gnu/ lost+found/ spool/ yp/ diskless/ ja/ mop/ tmp/ dnet/ local/ preserve/ uucp/ [0.67]tron.bwi.wec.com-/rmt/tron>ls usr/users usr/users: Permission denied [0.68]tron.bwi.wec.com-/rmt/tron>ls aux aux: Stale NFS file handle [0.69]tron.bwi.wec.com-/rmt/tron>ls -l total 1 lrwxrwxrwx 1 root 11 May 30 12:54 var@ -> /a/tron/var [0.70]tron.bwi.wec.com-/rmt/tron>amq / auto "root" tron:(pid1165) /rmt auto a_tron /rmt /rmt/tron auto a_tron /rmt/tron /rmt/tron/aux nfs tron:/aux /a/tron/aux /rmt/tron/usr nfs tron:/usr /a/tron/usr /rmt/tron/var nfs tron:/var /a/tron/var [0.71]tron.bwi.wec.com-/rmt/tron> ****** End of examples ************ Simply put, Ultrix has a difficult time finding any local partitions. I have tried setting type:={ufs,link,nfs} and all seem to have problems. The problems seen with link do not ocurr on the suns. (I never attempted to access a local partition via nfs on the suns since link performs well.) I also attempted to create the mount point directly on a local ufs partition, as described in Section 6.2 of the TeX document, but was never successful in getting it to mount an nfs directory when the ${key} was not local. This too would be a satisfactory solution, if only we could get it to work. Thanks again for all you time and effort. I have not posted this message to the usenet as it is quite large and did not want to overwhelm the net with such a huge message. I do appreciate your taking the time to look into this. If you do not have a Vax running Ultrix, could you please let me know of anyone who has had success. Thanks again for you response. Please forward all responses to the address below. --------- Dominic J Celozzi Internet: celozzi@tron.bwi.WEC.COM Westinghouse Electronic Systems Group P.O. Box 746, Baltimore, MD 21203 BWI-MS 5240 WEC WIN: 285-7780 AT&T: (301)765-7780 total 2 lrwxrwxrwx 1 root 8 May 30 12:32 adm@ -> /var/adm lrwxrwxrwx 1 root 10 May 30 12:32 local@ -> /var/local lrwxrwxrwx 1 root 10 May 30 12:32 users@ -> /usr/users [0.42]tron.bwi.wec.com-/rmt/tron>ls -l /var/adm total 1483 -rw-r--r-- 1 root 90508 May 30 12:36 acct -rw-r--r-- 1 root 216216 May 30 00:00 acct.tmp -rw--w---- 1 uucp 11903 Apr 30 10:47 aculog drwxrwxr-x 2 root 512 May 30 12:32 amd/ drwxrwxr-x 2 root 512 Aug 14 1989 bin/ drwxrwxr-x 2 root 512 Feb 20 17:31 crash/ -rw-rw-r-- 1 root 173 May 30 11:21 elcsdlog -rw--w---- 1 root 0 Aug 14 1989 eventlock -rw-rw-r-- 1 root 12706 Mar 2 16:18 fverifylog -rw-rw-r-- 1 root 573 Aug 14 1989 install.DEV.log -rw-rw-r-- 1 root 1057 Aug 14 1989 install.FS.log -rw-rw-r-- 1 root 17874 Aug 14 1989 install.log drwxrwxr-x 2 root 10240 May 30 00:25 ja/ -rw-rw-r-- 1 root 28000 May 30 12:14 lastlog -rw-r--r-- 1 daemon 0 Mar 2 16:19 lpacct -rw-rw-r-- 1 root 0 Oct 19 1988 lpd-errs -rw-r--r-- 1 daemon 26564 May 18 17:56 lperr -rw-r----- 1 daemon 573 Apr 12 19:21 lpsecerr -rwxrwxr-x 1 daemon 434 Oct 19 1988 newsyslog* -rw-r--r-- 1 root 441 Apr 12 12:13 printcap.log drwxrwxr-x 4 ris 512 Aug 14 1989 ris/ -rw-rw-r-- 1 root 19152 May 30 04:30 savacct -rw-rw-r-- 1 root 7881 May 30 11:13 shutdownlog drwxrwxr-x 2 root 512 Aug 14 1989 snap/ -rw-rw-r-- 1 root 20328 May 30 12:05 sulog drwxrwxr-x 2 root 512 May 10 10:29 syserr/ -rw-rw-r-- 1 root 23100 May 30 04:30 usracct -rw-rw-r-- 1 root 990468 May 30 12:22 wtmp -rw-r--r-- 1 root 3708 May 30 00:00 wtmp.tmp [0.43]tron.bwi.wec.com-/rmt/tron>amq / auto "root" tron:(pid1165) /rmt auto a_tron /rmt /rmt/tron auto a_tron /rmt/tron /rmt/tron/aux link . /aux /rmt/tron/var link . /var /rmt/tron/wusers link . /usr/users /rmt/tron/usr auto a_tron /rmt/tron/usr /rmt/tron/usr/adm link . /var/adm /rmt/tron/usr/users link . /usr/users /rmt/tron/usr/local link . /var/local ****** Here the link to wusers changes!!!! ********** [0.44]tron.bwi.wec.com-/rmt/tron>ls wusers adm/ dump/ lib/ new/ sys/ bin/ etc/ local/ preserve/ tmp/ cad/ examples/ lost+found/ pub/ ucb/ dict/ field/ man/ skel/ users/ diskless/ hosts/ mdec/ spool/ var/ doc/ include/ msgs/ src/ [0.45]tron.bwi.wec.com-/rmt/tron>ls -l total 2 lrwxrwxrwx 1 root 4 May 30 12:46 aux@ -> /aux dr-xr-xr-x 2 root 512 May 30 12:32 usr/ lrwxrwxrwx 1 root 4 May 30 12:46 var@ -> /var lrwxrwxrwx 1 root 10 May 30 12:46 wusers@ -> /usr/users [0.46]tron.bwi.wec.com-/rmt/tron>ls wusers lost+found/ mips.students/ support/ mcc/ students/ wec/ Enough of the examples. What I see happening, as I examine the symbolic link, many it will appear to point in the right place, but the number of characters the file actually contains indicate it must be pointing somewhere else! This occurs much more prevelantly when I mount the /vol map... o If I attempt to change the a_tron map above to never perform a check if localhost, then I again see problems, this time sublink is not being examined. Assuming the file a_tron now contains: /defaults opts:=rw,intr,grpid,nosuid # Partitions for machine tron - Vax 11/780 running Ultrix tron type:=auto;fs:=${map};pref:=${key}/ tron/var type:=nfs;rhost:=tron;rfs:=/var tron/aux type:=nfs;rhost:=tron;rfs:=/aux tron/usr type:=nfs;rhost:=tron;rfs:=/usr tron/usr/cad type:=nfs;rhost:=tron;rfs:=/usr/cad tron/usr/dump type:=nfs;rhost:=tron;rfs:=/usr/dump tron/usr/users type:=nfs;rhost:=tron;rfs:=/usr/users tron/wusers type:=nfs;rhost:=tron;rfs:=/usr/users We see the following behavior: [0.63]tron.bwi.wec.com-/rmt/tron>amq / auto "root" tron:(pid1165) /rmt auto a_tron /rmt /rmt/tron auto a_tron /rmt/tron [0.64]tron.bwi.wec.com-/rmt/tron>ls var adm/ gnu/ lost+found/ spool/ yp/ diskless/ ja/ mop/ tmp/ dnet/ local/ preserve/ uucp/ [0.65]tron.bwi.wec.com-/rmt/tron>ls usr usr: Permission denied [0.66]tron.bwi.wec.com-/rmt/tron>ls var adm/ gnu/ lost+found/ spool/ yp/ diskless/ ja/ mop/ tmp/ dnet/ local/ preserve/ uucp/ [0.67]tron.bwi.wec.com-/rmt/tron>ls usr/users usr/users: Permission denied [0.68]tron.bwi.wec.com-/rmt/tron>ls aux aux: Stale NFS file handle [0.69]tron.bwi.wec.com-/rmt/tron>ls -l total 1 lrwxrwxrwx 1 root 11 May 30 12:54 var@ -> /a/tron/var [0.70]tron.bwi.wec.com-/rmt/tron>amq / auto "root" tron:(pid1165) /rmt auto a_tron /rmt /rmt/tron auto a_tron /rmt/tron /rmt/tron/aux nfs tron:/aux /a/tron/aux /rmt/tron/usr nfs tron:/usr /a/tron/usr /rmt/tron/var nfs tron:/var /a/tron/var [0.71]tron.bwi.wec.com-/rmt/tron> ****** End of examples ************ Simply put, Ultrix has a difficult time finding any local partitions. I have tried setting type:={ufs,link,nfs} and all seem to have problems. The problems seen with link do not ocurr on the suns. (I never attempted to access a local partition via nfs on the suns since link performs well.) I also attempted to create the mount point directly on a local ufs partition, as described in Section 6.2 of the TeX document, but was never successful in getting it to mount an nfs directory when the ${key} was not local. This too would be a satisfactory solution, if only we could get it to work. Thanks again for all you time and effort. I have not posted this message to the usenet as it is quite large and did not want to overwhelm the net with such a huge message. I do appreciate your taking the time to look into this. If you do not have a Vax running Ultrix, could you please let me know of anyone who has had success. Thanks again for you response. Please forward all responses to the address below. --------- Dominic J Celozzi Internet: celozzi@tron.bwi.WEC.COM Westinghouse Electronic Systems Group P.O. Box 746, Baltimore, MD 21203 BWI-MS 5240 WEC WIN: 285-7780 AT&T: (301)765-7780