I have two different machines each running very recent linux kernel but 
different vintages of redhat / fedora original distribution.     I have set up 
an automount of one of my company's ldap-controlled automounts on each.

On the new distro, it works fine.

On the older distro, it doesn't, although I can manually issue the mount -t nfs 
commands that automount is trying to issue and they are successful.

I've pasted comparison of debug output of each system from automount -d  :  (I 
have replaced host and dir names with ???)  -
it seems that old-distro automount is looking for some characteristic of the 
remote hostname from somewhere and not finding it, and giving up before 
attempting the mjount command even though it has gathered all the mount command 
syntax and could (I guess) try issuing it.    But doesn't.    And as mentioned, 
the mount command succeeds when I type it in. 

if anyone could suggest the cause and remedy for the old-distro failure I'd be 
grateful

John Lumby

new distro  -  successful :
automount -V

Linux automount version 5.0.1-0.rc3.33

debug output:
Nov 17 17:21:04 ?newdst? automount[9061]: mount_mount: mount(nfs): nfs 
options="hard,intr,nfsvers=3,tcp,rsize=65536,wsize=65536,timeo=200,nosuid,", 
nosymlink=1, ro=0
Nov 17 17:21:06 ?newdst? automount[9061]: mount_mount: mount(nfs): calling 
mkdir_path /??topdir??/??subdir??
Nov 17 17:21:06 ?newdst? automount[9061]: mount_mount: mount(nfs): calling 
mount -t nfs -s -o 
hard,intr,nfsvers=3,tcp,rsize=65536,wsize=65536,timeo=200,nosuid, 
??remote_host_ipname??:/??topdir??/??subdir?? /??topdir??/??subdir??
Nov 17 17:21:06 ?newdst? automount[9061]: mount(nfs): mounted 
??remote_host_ipname??:/??topdir??/??subdir?? on /??topdir??/??subdir??



old distro  -  unsuccessful :
automount -V

Linux automount version 5.0.5

debug output
Nov 17 17:15:28 ?olddst? automount[9969]: mount_mount: mount(nfs): nfs 
options="hard,intr,nfsvers=3,tcp,rsize=65536,wsize=65536,timeo=200,nosuid,", 
nosymlink=1, ro=0
Nov 17 17:15:28 ?olddst? automount[9969]: get_nfs_info: called for host 
??remote_host_ipname?? proto udp version 0x30
Nov 17 17:15:29 ?olddst? automount[9969]: st_expire: state 1 path /net
Nov 17 17:15:29 ?olddst? automount[9969]: expire_proc: exp_proc = 3048012688 
path /net
Nov 17 17:15:29 ?olddst? automount[9969]: st_expire: state 1 path /??topdir??
Nov 17 17:15:29 ?olddst? automount[9969]: expire_proc: exp_proc = 3046812560 
path /??topdir??
Nov 17 17:15:29 ?olddst? automount[9969]: expire_cleanup: got thid 3048012688 
path /net stat 0
Nov 17 17:15:29 ?olddst? automount[9969]: expire_cleanup: sigchld: exp 
3048012688 finished, switching from 2 to 1
Nov 17 17:15:29 ?olddst? automount[9969]: st_ready: st_ready(): state = 2 path 
/net
Nov 17 17:15:29 ?olddst? automount[9969]: expire_cleanup: got thid 3046812560 
path /??topdir?? stat 0
Nov 17 17:15:29 ?olddst? automount[9969]: expire_cleanup: sigchld: exp 
3046812560 finished, switching from 2 to 1
Nov 17 17:15:29 ?olddst? automount[9969]: st_ready: st_ready(): state = 2 path 
/??topdir??
Nov 17 17:15:30 ?olddst? automount[9969]: st_expire: state 1 path /misc
Nov 17 17:15:30 ?olddst? automount[9969]: expire_proc: exp_proc = 3046812560 
path /misc
Nov 17 17:15:30 ?olddst? automount[9969]: expire_cleanup: got thid 3046812560 
path /misc stat 0
Nov 17 17:15:30 ?olddst? automount[9969]: expire_cleanup: sigchld: exp 
3046812560 finished, switching from 2 to 1
Nov 17 17:15:30 ?olddst? automount[9969]: st_ready: st_ready(): state = 2 path 
/misc
Nov 17 17:15:34 ?olddst? automount[9969]: get_nfs_info: called for host 
??remote_host_ipname?? proto tcp version 0x30
Nov 17 17:15:34 ?olddst? automount[9969]: get_nfs_info: called for host 
??remote_host_ipname?? proto udp version 0x30
Nov 17 17:15:40 ?olddst? automount[9969]: get_nfs_info: called for host 
??remote_host_ipname?? proto tcp version 0x30
Nov 17 17:15:40 ?olddst? automount[9969]: mount(nfs): no hosts available
Nov 17 17:15:40 ?olddst? automount[9969]: dev_ioctl_send_fail: token = 43
Nov 17 17:15:40 ?olddst? automount[9969]: failed to mount /??topdir??/??subdir??





                                          
_________________________________________________________________
Ready. Set. Get a great deal on Windows 7. See fantastic deals on Windows 7 now
http://go.microsoft.com/?linkid=9691818
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to