Hi all, I have come across the following problem with the following versions of autofs: autofs-5.0.1-0.rc2.42 (available with RHEL5 GA) autofs-4.1.3-187 (available with RHEL4 u4)
I have the following scenario: 1. nfs client (called "rhel5") which can access an nfs server (called "meydele"). 2. this are the shares on the nfs server: [EMAIL PROTECTED]:~# cat /etc/exports /home 172.16.2.129(rw,async,no_subtree_check) /var 172.16.2.129(rw,async,no_subtree_check) /bin 172.16.2.129(rw,async,no_subtree_check) 3. I have a process which keeps /net/meydele used (for example bash process with current directory "/net/meydele/home/noam"). 4. I add a new share to the nfs-server (for example: /tmp 172.16.2.129(rw,async,no_subtree_check) ) 5. the nfs client will not be able to see the new share /net/meydele until all mounts under it will be umounted. 6. This is what I see in syslog when I turn debugging (-d) on: Oct 17 19:10:58 rhel5 automount[4573]: mount(nfs): mounted meydele:/home on /net/meydele/home Oct 17 19:10:58 rhel5 automount[4573]: mounted /net/meydele/home Oct 17 19:11:01 rhel5 automount[4573]: mount still busy /net Oct 17 19:11:13 rhel5 automount[4573]: attempting to mount entry /net/meydele/tmp Oct 17 19:11:13 rhel5 automount[4573]: failed to mount /net/meydele/tmp Oct 17 19:11:13 rhel5 automount[4573]: attempting to mount entry /net/meydele/tmp Oct 17 19:11:13 rhel5 automount[4573]: failed to mount /net/meydele/tmp Oct 17 19:11:13 rhel5 automount[4573]: attempting to mount entry /net/meydele/tmp Oct 17 19:11:13 rhel5 automount[4573]: failed to mount /net/meydele/tmp Is there any way to work around this problem? I suspect that the problem is because automount calls /etc/auto.net for /net/meydele only when there are nothing mounted there, otherwise it calls a cached map in the memory. (but maybe I'm wrong, I haven't read the source code) Best regards, Noam Meltzer _______________________________________________ autofs mailing list [email protected] http://linux.kernel.org/mailman/listinfo/autofs
