[9932] in Athena Bugs
attach on ds5000/25 7.4G
daemon@ATHENA.MIT.EDU (Joe Harrington)
Sun Sep 27 01:12:30 1992
Date: Sun, 27 Sep 92 01:12:09 -0400
From: Joe Harrington <jh@Athena.MIT.EDU>
To: bugs@Athena.MIT.EDU
Cc: jh@MIT.EDU
Reply-To: jh@MIT.EDU
I frequently attach some lab machines which run straight NFS (no UID
mapping). I have aliases to deal with each:
% alias aa
attach -n -m /astron -e astron:/ -n -e astron:/usr -n -e astron:/u1 -n -e astron:/u2 -n -e astron:/tmp1 -n -e astron:/tmp2 -n -m /pscf -e astron:/u1/pscf
% alias af
attach -n -m /flolab -e flolab:/ -n -e flolab:/usr -n -e flolab:/u1 -n -e flolab:/u2 -n -e flolab:/tmp1 -n -m /fvl -e flolab:/u1/fvl
% alias da
detach -e astron:/u1/pscf -e astron:/usr -e astron:/u1 -e astron:/u2 -e astron:/tmp1 -e astron:/tmp2 -e astron:/
% alias dtf
detach -e flolab:/u1/fvl -e flolab:/usr -e flolab:/u1 -e flolab:/u2 -e flolab:/tmp1 -e flolab:/
If I do aa, I consistently get:
Badly formatted entry in /usr/tmp/attachtab
Operation aborted
for any attach operation which follows it even though aa gave no
(fatal) errors. Detach operations work. I also get:
% attach sipb
sipb: Can't resolve name
though hesinfo says it exists. af does not seem to cause these
problems, despite the fact that it's practically identical. Just for
fun, I removed the /tmp2 attach from astron's command and ran it
explicitly from the command line, not as an alias. It still failed.
No changes have been made to attach.conf. A sample run is below.
Here's attachtab:
A1 0+AFS public-sys localhost /afs/athena.mit.edu/system/@sys/srvd.74 0.0.0.0 0/srvd 0 0 0 n
A1 0+AFS jh localhost /afs/athena.mit.edu/user/j/h/jh 18.71.0.15 0 /mit/jh 0 4419 0 w
A1 1+NFS flolab:/ flolab.MIT.EDU / 18.83.0.170 1 /flolab 0 4419 0 w
A1 1+NFS flolab:/usr flolab.MIT.EDU /usr 18.83.0.170 0 /flolab/usr 0 4419 0 w
A1 1+NFS flolab:/u1 flolab.MIT.EDU /u1 18.83.0.170 0 /flolab/u1 0 4419 0 w
A1 1+NFS flolab:/u2 flolab.MIT.EDU /u2 18.83.0.170 0 /flolab/u2 0 4419 0 w
A1 1+NFS flolab:/tmp1 flolab.MIT.EDU /tmp1 18.83.0.170 0 /flolab/tmp1 0 4419 0 w
A1 1+NFS flolab:/u1/fvl flolab.MIT.EDU /u1/fvl 18.83.0.170 1 /fvl 0 4419 0 w
A1 1+NFS astron:/ astron.MIT.EDU / 18.83.0.101 1 /astron 0 4419 0 w
A1 1+NFS astron:/usr astron.MIT.EDU /usr 18.83.0.101 0 /astron/usr 0 4419 0 w
A1 1+NFS astron:/u1 astron.MIT.EDU /u1 18.83.0.101 0 /astron/u1 0 4419 0 w
A1 1+NFS astron:/u2 astron.MIT.EDU /u2 18.83.0.101 0 /astron/u2 0 4419 0 w
A1 1+NFS astron:/tmp1 astron.MIT.EDU /tmp1 18.83.0.101 0 /astron/tmp1 0 4419 0 w
A1 1+NFS astron:/tmp2 astron.MIT.EDU /tmp2 18.83.0.101 0 /astron/tmp2 0 4419 0 w
A1 1+NFS astron:/u1/pscf astron.MIT.EDU /u1/pscf 18.83.0.101 1 /pscf 0 4419 0 w
--jh--
[venus:~]<jh:ttyp0>
% aa
attach: filesystem astron:/ (astron.MIT.EDU:/) mounted on /astron (read-write)
attach: filesystem astron:/usr (astron.MIT.EDU:/usr) mounted on /astron/usr (read-write)
attach: filesystem astron:/u1 (astron.MIT.EDU:/u1) mounted on /astron/u1 (read-write)
attach: filesystem astron:/u2 (astron.MIT.EDU:/u2) mounted on /astron/u2 (read-write)
attach: filesystem astron:/tmp1 (astron.MIT.EDU:/tmp1) mounted on /astron/tmp1 (read-write)
attach: filesystem astron:/tmp2 (astron.MIT.EDU:/tmp2) mounted on /astron/tmp2 (read-write)
attach: filesystem astron:/u1/pscf (astron.MIT.EDU:/u1/pscf) mounted on /pscf (read-write)
[venus:~]<jh:ttyp0>
% af
Badly formatted entry in /usr/tmp/attachtab
Operation aborted
[venus:~]<jh:ttyp0>
% detach sipb
detach: sipb detached
[venus:~]<jh:ttyp0>
% attach sipb
sipb: Can't resolve name
[venus:~]<jh:ttyp0>
% da
detach: Warning: mount daemon on astron.MIT.EDU doesn't understand UID maps
(filesystem astron:/u1/pscf)
detach: astron:/u1/pscf detached
detach: Warning: mount daemon on astron.MIT.EDU doesn't understand UID maps
(filesystem astron:/usr)
detach: astron:/usr detached
detach: Warning: mount daemon on astron.MIT.EDU doesn't understand UID maps
(filesystem astron:/u1)
detach: astron:/u1 detached
detach: Warning: mount daemon on astron.MIT.EDU doesn't understand UID maps
(filesystem astron:/u2)
detach: astron:/u2 detached
detach: Warning: mount daemon on astron.MIT.EDU doesn't understand UID maps
(filesystem astron:/tmp1)
detach: astron:/tmp1 detached
detach: Warning: mount daemon on astron.MIT.EDU doesn't understand UID maps
(filesystem astron:/tmp2)
detach: astron:/tmp2 detached
detach: Warning: mount daemon on astron.MIT.EDU doesn't understand UID maps
(filesystem astron:/)
detach: astron:/ detached
[venus:~]<jh:ttyp0>
% af
attach: filesystem flolab:/ (flolab.MIT.EDU:/) mounted on /flolab (read-write)
attach: filesystem flolab:/usr (flolab.MIT.EDU:/usr) mounted on /flolab/usr (read-write)
attach: filesystem flolab:/u1 (flolab.MIT.EDU:/u1) mounted on /flolab/u1 (read-write)
attach: filesystem flolab:/u2 (flolab.MIT.EDU:/u2) mounted on /flolab/u2 (read-write)
attach: filesystem flolab:/tmp1 (flolab.MIT.EDU:/tmp1) mounted on /flolab/tmp1 (read-write)
attach: filesystem flolab:/u1/fvl (flolab.MIT.EDU:/u1/fvl) mounted on /fvl (read-write)
[venus:~]<jh:ttyp0>
% attach sipb
attach: /afs/sipb.mit.edu/project/sipb linked to /mit/sipb for filesystem sipb
[venus:~]<jh:ttyp0>
% aa
attach: filesystem astron:/ (astron.MIT.EDU:/) mounted on /astron (read-write)
attach: filesystem astron:/usr (astron.MIT.EDU:/usr) mounted on /astron/usr (read-write)
attach: filesystem astron:/u1 (astron.MIT.EDU:/u1) mounted on /astron/u1 (read-write)
attach: filesystem astron:/u2 (astron.MIT.EDU:/u2) mounted on /astron/u2 (read-write)
attach: filesystem astron:/tmp1 (astron.MIT.EDU:/tmp1) mounted on /astron/tmp1 (read-write)
attach: filesystem astron:/tmp2 (astron.MIT.EDU:/tmp2) mounted on /astron/tmp2 (read-write)
attach: filesystem astron:/u1/pscf (astron.MIT.EDU:/u1/pscf) mounted on /pscf (read-write)
[venus:~]<jh:ttyp0>
% detach sipb
detach: sipb detached
[venus:~]<jh:ttyp0>
% attach sipb
sipb: Can't resolve name
[venus:~]<jh:ttyp0>
% df
Filesystem Total kbytes kbytes %
node kbytes used free used Mounted on
/dev/rz2a 30575 12170 15348 44% /
/dev/rz2e 224671 11463 190741 6% /var
/dev/rz2d 43111 36436 2364 94% /usr/vice/cache
AFS 9000000 0 9000000 0% /afs
flolab.MIT.EDU:/ 15343 8297 5512 60% /flolab
flolab.MIT.EDU:/usr 227079 213392 0 104% /flolab/usr
flolab.MIT.EDU:/u1 755374 578504 161763 78% /flolab/u1
flolab.MIT.EDU:/u2 1312829 583475 729354 44% /flolab/u2
flolab.MIT.EDU:/tmp1 126703 52987 61046 46% /flolab/tmp1
flolab.MIT.EDU:/u1/fvl 755374 578504 161763 78% /fvl
astron.MIT.EDU:/ 15343 9839 3970 71% /astron
astron.MIT.EDU:/usr 227079 203334 1038 99% /astron/usr
astron.MIT.EDU:/u1 323593 178304 112930 61% /astron/u1
astron.MIT.EDU:/u2 945727 923733 3080 100% /astron/u2
astron.MIT.EDU:/tmp1 279234 233807 17504 93% /astron/tmp1
astron.MIT.EDU:/tmp2 279234 198140 53171 79% /astron/tmp2
astron.MIT.EDU:/u1/pscf 323593 178304 112930 61% /pscf
[venus:~]<jh:ttyp0>
% dtf
detach: Warning: mount daemon on flolab.MIT.EDU doesn't understand UID maps
(filesystem flolab:/u1/fvl)
detach: flolab:/u1/fvl detached
detach: Warning: mount daemon on flolab.MIT.EDU doesn't understand UID maps
(filesystem flolab:/usr)
detach: flolab:/usr detached
detach: Warning: mount daemon on flolab.MIT.EDU doesn't understand UID maps
(filesystem flolab:/u1)
detach: flolab:/u1 detached
detach: Warning: mount daemon on flolab.MIT.EDU doesn't understand UID maps
(filesystem flolab:/u2)
detach: flolab:/u2 detached
detach: Warning: mount daemon on flolab.MIT.EDU doesn't understand UID maps
(filesystem flolab:/tmp1)
detach: flolab:/tmp1 detached
detach: Warning: mount daemon on flolab.MIT.EDU doesn't understand UID maps
(filesystem flolab:/)
detach: flolab:/ detached
[venus:~]<jh:ttyp0>
% da
detach: Warning: mount daemon on astron.MIT.EDU doesn't understand UID maps
(filesystem astron:/u1/pscf)
detach: astron:/u1/pscf detached
detach: Warning: mount daemon on astron.MIT.EDU doesn't understand UID maps
(filesystem astron:/usr)
detach: astron:/usr detached
detach: Warning: mount daemon on astron.MIT.EDU doesn't understand UID maps
(filesystem astron:/u1)
detach: astron:/u1 detached
detach: Warning: mount daemon on astron.MIT.EDU doesn't understand UID maps
(filesystem astron:/u2)
detach: astron:/u2 detached
detach: Warning: mount daemon on astron.MIT.EDU doesn't understand UID maps
(filesystem astron:/tmp1)
detach: astron:/tmp1 detached
detach: Warning: mount daemon on astron.MIT.EDU doesn't understand UID maps
(filesystem astron:/tmp2)
detach: astron:/tmp2 detached
detach: Warning: mount daemon on astron.MIT.EDU doesn't understand UID maps
(filesystem astron:/)
detach: astron:/ detached
[venus:~]<jh:ttyp0>
%