Autofs macht keinen NFS umount
Hallo,
habe jetzt hier den automounter so aufgesetzt, dass er nach /net/<Host>
Solaris-like alle von <Host> exportierten Verzeichnisse einhängt. So weit, so
gut.
Automount ist auf einen Timeout von 5 Min gestellt (default), hängt das
Verzeichnis aber nicht wieder aus:
/etc/network:1> uname -a
Linux Astor 2.6.5astor #1 SMP Sun May 9 00:10:19 CEST 2004 i686 GNU/Linux
~:1> date; mount
Wed May 12 16:20:02 CEST 2004
/dev/hda5 on / type ext2 (rw,errors=remount-ro)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/hda7 on /home type ext2 (rw)
/dev/hda8 on /export type ext2 (rw)
usbfs on /proc/bus/usb type usbfs (rw)
automount(pid1529) on /net type autofs (rw,fd=5,pgrp=1529,minproto=2,maxproto=4)
automount(pid1524) on /var/autofs/misc type autofs (rw,fd=5,pgrp=1524,minproto=2,maxproto=4)
pegasus:/export on /net/pegasus/export type nfs (rw,nosuid,nodev,hard,intr,addr=129.157.133.196)
pegasus:/tmp on /net/pegasus/tmp type nfs (rw,nosuid,nodev,hard,intr,addr=129.157.133.196)
Der Automounter läuft wie folgt:
~:1> ps uawwwx | grep automount | grep -v grep
root 1524 0.0 0.1 1632 640 ? S 16:18 0:00 /usr/sbin/automount --pid-file=/var/run/autofs/_:var_:autofs_:misc.pid --timeout=300 /var/autofs/misc file /etc/auto.misc
root 1529 0.0 0.1 1632 644 ? S 16:18 0:00 /usr/sbin/automount --pid-file=/var/run/autofs/_:net.pid --timeout=200 /net program /etc/auto.net
Aber:
~:1> date; mount
Wed May 12 16:25:30 CEST 2004
/dev/hda5 on / type ext2 (rw,errors=remount-ro)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/hda7 on /home type ext2 (rw)
/dev/hda8 on /export type ext2 (rw)
usbfs on /proc/bus/usb type usbfs (rw)
automount(pid1529) on /net type autofs (rw,fd=5,pgrp=1529,minproto=2,maxproto=4)
automount(pid1524) on /var/autofs/misc type autofs (rw,fd=5,pgrp=1524,minproto=2,maxproto=4)
pegasus:/export on /net/pegasus/export type nfs (rw,nosuid,nodev,hard,intr,addr=129.157.133.196)
pegasus:/tmp on /net/pegasus/tmp type nfs (rw,nosuid,nodev,hard,intr,addr=129.157.133.196)
Any ideas??
Peter
--
Peter Weiss / Peter.Weiss@germany.sun.com
Sun Microsystems GmbH / Sonnenallee 1, D-85551 Kirchheim-Heimstetten
(+49 89) 46008 2947 / mobil 0177/ 60 40 121
Reply to: