[11966] in Athena Bugs
attach'ing NFS filesystems on solaris machines
daemon@ATHENA.MIT.EDU (yandros@MIT.EDU)
Sat Apr 16 23:55:12 1994
From: yandros@MIT.EDU
Date: Sat, 16 Apr 94 23:55:08 EDT
To: bugs@MIT.EDU
What were you trying to do?
I wanted to attach bitbucket
What went wrong?
; attach -h -n bitbucket
attach: Filesystem "bitbucket" is already attached
; detach bitbucket
detach: server JASON.MIT.EDU not responding (for filesystem bitbucket)
detach: Warning: couldn't unmap filesystem bitbucket/host JASON.MIT.EDU
umount: warning: /mit/bitbucket not in mnttab
umount: /mit/bitbucket not mounted
; attach -h -n bitbucket
attach: Filesystem "bitbucket" is already attached
; detach -verbose -debug -force -override bitbucket
Locking attachtab....Setting lock on /tmp/attach_bitbucket: 5
Unlocking attachtab
nfsid operation on 18.179.0.32, op = 8
Getting RPC handle for 18.179.0.32
Adding cache entry with FD = 4
Couldn't allocate a reserved port!
bind: No such file or directory
detach: server JASON.MIT.EDU not responding (for filesystem bitbucket)
detach: Warning: couldn't unmap filesystem bitbucket/host JASON.MIT.EDU
umount: warning: /mit/bitbucket not in mnttab
umount: /mit/bitbucket not mounted
Locking attachtab....Removing lock on /tmp/attach_bitbucket
Unlocking attachtab
; head -1 /usr/tmp/attachtab
A1 0+NFS bitbucket JASON.MIT.EDU /u1/bitbucket 18.179.0.32 0 /mit/bitbucket 1 12264 0 w
; cat /etc/mnttab
/dev/dsk/c0t3d0s0 / ufs rw,suid 766480548
/dev/dsk/c0t3d0s5 /usr ufs rw,suid 766480548
/proc /proc proc rw,suid 766480548
/dev/dsk/c0t3d0s6 /var ufs rw,suid 766480548
/dev/dsk/c0t3d0s3 /var/usr/vice ufs suid,rw,dev=80001b 766480555infocalypse:(pid115) /net nfs ro,ignore,map=-hosts,indirect,dev=21c0000 766480572
infocalypse:(pid115) /home nfs ro,ignore,map=auto_home,indirect,dev=21c0001 766480573
AFS /afs xx rw 766480588
What should have happened?
Dettach should decide whether the locker is attached or not (not)
and detach it. Detach correctly determined that the filesystem
wasn't mounted; it should then remove it from attachtab.