Hi there,
I hope this is the right place to post a issue we experience with autofs on Linux Redhat 4.6. We are using indirect mount to mount different directories from the same host at different depth level. Each directory is a separate file system on the file server. File server is a Sun Solaris 8. Here my auto.master entry: cat auto.master: /data/gqssan1 /etc/auto.gqssan1 --ghost --timeout=60 I assume that I can specify a relative path name as "key" within my mapfile: key For indirect mounts this is the part of the pathname between the mount- point and the path into the filesystem mounted. Usually you can think about the key as a subdirectory name below the mountpoint. here is my mapfile entry: cat auto.gqssan1 1 -rw,soft,intr stargeo:/data/gqssan1/1 ... 30 -rw,soft,intr stargeo:/data/gqssan1/30 GEOS/1 -rw,soft,intr stargeo:/data/gqssan1/GEOS/1 GEOS/2 -rw,soft,intr stargeo:/data/gqssan1/GEOS/2 GEOS/3 -rw,soft,intr stargeo:/data/gqssan1/GEOS/3 GEOS/4 -rw,soft,intr stargeo:/data/gqssan1/GEOS/4 At the very beginning everything seems to be fine. After about 10 minutes time, I see another mount point with the same name within the very first one: [r...@ensv16im gqssan1]# cd /data/gqssan1/GEOS/ [r...@ensv16im GEOS]# ls -tlr total 0 dr-xr-xr-x 6 root root 0 Apr 8 00:03 GEOS dr-xr-xr-x 2 root root 0 Apr 8 00:03 4 dr-xr-xr-x 2 root root 0 Apr 8 00:03 3 dr-xr-xr-x 2 root root 0 Apr 8 00:03 2 dr-xr-xr-x 2 root root 0 Apr 8 00:03 1 I cd to both mount points and I see my file system mounte twice. [r...@ensv16im GEOS]# df -h Filesystem Size Used Avail Use% Mounted on /dev/vg00/rootvol 7.8G 3.3G 4.2G 44% / /dev/sda1 99M 33M 61M 36% /boot none 989M 0 989M 0% /dev/shm siful4:/vol/siful4_base/3RD 170G 166G 5.0G 98% /sw/3rd /dev/vg01/owdata 72G 33M 69G 1% /data stargeo:/data/gqssan1/1 172G 131G 41G 77% /data/gqssan1/GEOS/1 stargeo:/data/gqssan1/GEOS/1 506G 149G 355G 30% /data/gqssan1/GEOS/GEOS/1 Am I correctly assuming that the "key" value may be a relative path as well as a simple directory? Please help. Best regards, Stefano Mazzocchi tel 02.99964140 ts-as-unix EDS - via Medici del vascello mailto:stefano.mazzocc...@eds.com
_______________________________________________ autofs mailing list autofs@linux.kernel.org http://linux.kernel.org/mailman/listinfo/autofs