Title: Autofs not unmounting cifs/samba share

Autofs is not unmounting a cifs share after a minute of inactivity per the /etc/auto.master file.

Here is some debug information for autofs when performing a test on the cifs share, and the share does not get unmounted.

If anyone has ideas on how I can fix this, please let me know.


Thanks,

Dan

Running Red Hat ES 4 -   2.6.9-42.0.3.ELsmp
Packages -
autofs-4.1.3-187
samba-3.0.10-1.4E.9
samba-client-3.0.10-1.4E.9
samba-common-3.0.10-1.4E.9


[EMAIL PROTECTED] /]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-lvRoot
                      4.0G  258M  3.5G   7% /
/dev/cciss/c0d0p1     244M   24M  208M  10% /boot
none                 1014M     0 1014M   0% /dev/shm
/dev/mapper/VolGroup00-lvHome
                      4.0G   41M  3.7G   2% /home
/dev/mapper/VolGroup00-lvads
                      496M   11M  460M   3% /home/adsftp
/dev/mapper/VolGroup00-lvOpt
                      7.9G  191M  7.3G   3% /opt
/dev/mapper/VolGroup00-lvTmp
                     1008M   39M  919M   4% /tmp
/dev/mapper/VolGroup00-lvUsr
                      9.9G  2.1G  7.3G  23% /usr
/dev/mapper/VolGroup00-lvVar
                      4.0G  169M  3.6G   5% /var
//ssnetapp1/ltsftp$   2.1T  2.1T  2.9G 100% /ftpmnt/banksftp
[EMAIL PROTECTED] /]# date
Tue Oct 10 07:09:30 EDT 2006

STILL MOUNTED - after minute of inactivity

[EMAIL PROTECTED] /]# date
Tue Oct 10 07:11:27 EDT 2006
[EMAIL PROTECTED] /]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-lvRoot
                      4.0G  258M  3.5G   7% /
/dev/cciss/c0d0p1     244M   24M  208M  10% /boot
none                 1014M     0 1014M   0% /dev/shm
/dev/mapper/VolGroup00-lvHome
                      4.0G   41M  3.7G   2% /home
/dev/mapper/VolGroup00-lvads
                      496M   11M  460M   3% /home/adsftp
/dev/mapper/VolGroup00-lvOpt
                      7.9G  191M  7.3G   3% /opt
/dev/mapper/VolGroup00-lvTmp
                     1008M   39M  919M   4% /tmp
/dev/mapper/VolGroup00-lvUsr
                      9.9G  2.1G  7.3G  23% /usr
/dev/mapper/VolGroup00-lvVar
                      4.0G  169M  3.6G   5% /var
//ssnetapp1/ltsftp$   2.1T  2.1T  2.9G 100% /ftpmnt/banksftp



Oct 10 07:09:23 ftpcl1n1 automount[7756]: map_modified: no changes
Oct 10 07:09:23 ftpcl1n1 automount[7756]: lookup(file): banksftp -> -fstype=cifs,file_mode=0777,dir_mode=0777,rw,credentials=/etc/credentials/cre.banksftp ://ssnetapp1/ltsftp\$

Oct 10 07:09:23 ftpcl1n1 automount[7756]: parse(sun): expanded entry: -fstype=cifs,file_mode=0777,dir_mode=0777,rw,credentials=/etc/credentials/cre.banksftp ://ssnetapp1/ltsftp\$

Oct 10 07:09:23 ftpcl1n1 automount[7756]: parse(sun): dequote("fstype=cifs,file_mode=0777,dir_mode=0777,rw,credentials=/etc/credentials/cre.banksftp") -> fstype=cifs,file_mode=0777,dir_mode=0777,rw,credentials=/etc/credentials/cre.banksftp

Oct 10 07:09:23 ftpcl1n1 automount[7756]: parse(sun): gathered options: fstype=cifs,file_mode=0777,dir_mode=0777,rw,credentials=/etc/credentials/cre.banksftp

Oct 10 07:09:23 ftpcl1n1 automount[7756]: parse(sun): dequote("//ssnetapp1/ltsftp\$") -> //ssnetapp1/ltsftp$
Oct 10 07:09:23 ftpcl1n1 automount[7756]: parse(sun): core of entry: options=fstype=cifs,file_mode=0777,dir_mode=0777,rw,credentials=/etc/credentials/cre.banksftp, loc=//ssnetapp1/ltsftp$

Oct 10 07:09:23 ftpcl1n1 automount[7756]: parse(sun): mounting root /ftpmnt, mountpoint banksftp, what //ssnetapp1/ltsftp$, fstype cifs, options file_mode=0777,dir_mode=0777,rw,credentials=/etc/credentials/cre.banksftp

Oct 10 07:09:23 ftpcl1n1 automount[7756]: do_mount //ssnetapp1/ltsftp$ /ftpmnt/banksftp type cifs options file_mode=0777,dir_mode=0777,rw,credentials=/etc/credentials/cre.banksftp using module generic

Oct 10 07:09:23 ftpcl1n1 automount[7756]: mount(generic): calling mkdir_path /ftpmnt/banksftp
Oct 10 07:09:23 ftpcl1n1 automount[7756]: mount(generic): calling mount -t cifs -s -o file_mode=0777,dir_mode=0777,rw,credentials=/etc/credentials/cre.banksftp //ssnetapp1/ltsftp$ /ftpmnt/banksftp

Oct 10 07:09:23 ftpcl1n1 kernel: SELinux: initialized (dev cifs, type cifs), uses genfs_contexts
Oct 10 07:09:23 ftpcl1n1 automount[7756]: mount(generic): mounted //ssnetapp1/ltsftp$ type cifs on /ftpmnt/banksftp
Oct 10 07:09:23 ftpcl1n1 automount[7594]: handle_child: got pid 7756, sig 0 (0), stat 0
Oct 10 07:09:23 ftpcl1n1 automount[7594]: sig_child: found pending iop pid 7756: signalled 0 (sig 0), exit status 0
Oct 10 07:09:23 ftpcl1n1 automount[7594]: send_ready: token=10
Oct 10 07:09:32 ftpcl1n1 automount[7724]: sig 14 switching from 1 to 2
Oct 10 07:09:32 ftpcl1n1 automount[7724]: get_pkt: state 1, next 2
Oct 10 07:09:32 ftpcl1n1 automount[7724]: st_expire(): state = 1
Oct 10 07:09:32 ftpcl1n1 automount[7724]: expire_proc: exp_proc=7765
Oct 10 07:09:32 ftpcl1n1 automount[7724]: handle_child: got pid 7765, sig 0 (0), stat 0
Oct 10 07:09:32 ftpcl1n1 automount[7724]: sigchld: exp 7765 finished, switching from 2 to 1
Oct 10 07:09:32 ftpcl1n1 automount[7724]: get_pkt: state 2, next 1
Oct 10 07:09:32 ftpcl1n1 automount[7724]: st_ready(): state = 2
Oct 10 07:09:34 ftpcl1n1 automount[7711]: sig 14 switching from 1 to 2
Oct 10 07:09:34 ftpcl1n1 automount[7711]: get_pkt: state 1, next 2
Oct 10 07:09:34 ftpcl1n1 automount[7711]: st_expire(): state = 1
Oct 10 07:09:34 ftpcl1n1 automount[7711]: expire_proc: exp_proc=7766
Oct 10 07:09:34 ftpcl1n1 automount[7711]: handle_child: got pid 7766, sig 0 (0), stat 0
Oct 10 07:09:34 ftpcl1n1 automount[7711]: sigchld: exp 7766 finished, switching from 2 to 1
Oct 10 07:09:34 ftpcl1n1 automount[7711]: get_pkt: state 2, next 1
Oct 10 07:09:34 ftpcl1n1 automount[7711]: st_ready(): state = 2
Oct 10 07:09:37 ftpcl1n1 automount[7594]: sig 14 switching from 1 to 2
Oct 10 07:09:37 ftpcl1n1 automount[7594]: get_pkt: state 1, next 2
Oct 10 07:09:37 ftpcl1n1 automount[7594]: st_expire(): state = 1
Oct 10 07:09:37 ftpcl1n1 automount[7594]: expire_proc: exp_proc=7784
Oct 10 07:09:37 ftpcl1n1 automount[7784]: expire_proc: 1 remaining in /ftpmnt
Oct 10 07:09:37 ftpcl1n1 automount[7594]: handle_child: got pid 7784, sig 0 (0), stat 1
Oct 10 07:09:37 ftpcl1n1 automount[7594]: sigchld: exp 7784 finished, switching from 2 to 1
Oct 10 07:09:37 ftpcl1n1 automount[7594]: get_pkt: state 2, next 1
Oct 10 07:09:37 ftpcl1n1 automount[7594]: st_ready(): state = 2
Oct 10 07:09:47 ftpcl1n1 automount[7724]: sig 14 switching from 1 to 2
Oct 10 07:09:47 ftpcl1n1 automount[7724]: get_pkt: state 1, next 2
Oct 10 07:09:47 ftpcl1n1 automount[7724]: st_expire(): state = 1
Oct 10 07:09:47 ftpcl1n1 automount[7724]: expire_proc: exp_proc=7790
Oct 10 07:09:47 ftpcl1n1 automount[7724]: handle_child: got pid 7790, sig 0 (0), stat 0
Oct 10 07:09:47 ftpcl1n1 automount[7724]: sigchld: exp 7790 finished, switching from 2 to 1
Oct 10 07:09:47 ftpcl1n1 automount[7724]: get_pkt: state 2, next 1
Oct 10 07:09:47 ftpcl1n1 automount[7724]: st_ready(): state = 2
Oct 10 07:09:49 ftpcl1n1 automount[7711]: sig 14 switching from 1 to 2
Oct 10 07:09:49 ftpcl1n1 automount[7711]: get_pkt: state 1, next 2
Oct 10 07:09:49 ftpcl1n1 automount[7711]: st_expire(): state = 1
Oct 10 07:09:49 ftpcl1n1 automount[7711]: expire_proc: exp_proc=7791
Oct 10 07:09:49 ftpcl1n1 automount[7711]: handle_child: got pid 7791, sig 0 (0), stat 0
Oct 10 07:09:49 ftpcl1n1 automount[7711]: sigchld: exp 7791 finished, switching from 2 to 1
Oct 10 07:09:49 ftpcl1n1 automount[7711]: get_pkt: state 2, next 1
Oct 10 07:09:49 ftpcl1n1 automount[7711]: st_ready(): state = 2
Oct 10 07:09:52 ftpcl1n1 automount[7594]: sig 14 switching from 1 to 2
Oct 10 07:09:52 ftpcl1n1 automount[7594]: get_pkt: state 1, next 2
Oct 10 07:09:52 ftpcl1n1 automount[7594]: st_expire(): state = 1
Oct 10 07:09:52 ftpcl1n1 automount[7594]: expire_proc: exp_proc=7792
Oct 10 07:09:52 ftpcl1n1 automount[7792]: expire_proc: 1 remaining in /ftpmnt
Oct 10 07:09:52 ftpcl1n1 automount[7594]: handle_child: got pid 7792, sig 0 (0), stat 1
Oct 10 07:09:52 ftpcl1n1 automount[7594]: sigchld: exp 7792 finished, switching from 2 to 1
Oct 10 07:09:52 ftpcl1n1 automount[7594]: get_pkt: state 2, next 1
Oct 10 07:09:52 ftpcl1n1 automount[7594]: st_ready(): state = 2
Oct 10 07:10:01 ftpcl1n1 crond[7795]: (root) CMD (/usr/lib/sa/sa1 1 1)
Oct 10 07:10:02 ftpcl1n1 automount[7724]: sig 14 switching from 1 to 2
Oct 10 07:10:02 ftpcl1n1 automount[7724]: get_pkt: state 1, next 2
Oct 10 07:10:02 ftpcl1n1 automount[7724]: st_expire(): state = 1
Oct 10 07:10:02 ftpcl1n1 automount[7724]: expire_proc: exp_proc=7797
Oct 10 07:10:02 ftpcl1n1 automount[7724]: handle_child: got pid 7797, sig 0 (0), stat 0
Oct 10 07:10:02 ftpcl1n1 automount[7724]: sigchld: exp 7797 finished, switching from 2 to 1
Oct 10 07:10:02 ftpcl1n1 automount[7724]: get_pkt: state 2, next 1
Oct 10 07:10:02 ftpcl1n1 automount[7724]: st_ready(): state = 2
Oct 10 07:10:04 ftpcl1n1 automount[7711]: sig 14 switching from 1 to 2
Oct 10 07:10:04 ftpcl1n1 automount[7711]: get_pkt: state 1, next 2
Oct 10 07:10:04 ftpcl1n1 automount[7711]: st_expire(): state = 1
Oct 10 07:10:04 ftpcl1n1 automount[7711]: expire_proc: exp_proc=7798
Oct 10 07:10:04 ftpcl1n1 automount[7711]: handle_child: got pid 7798, sig 0 (0), stat 0
Oct 10 07:10:04 ftpcl1n1 automount[7711]: sigchld: exp 7798 finished, switching from 2 to 1
Oct 10 07:10:04 ftpcl1n1 automount[7711]: get_pkt: state 2, next 1
Oct 10 07:10:04 ftpcl1n1 automount[7711]: st_ready(): state = 2
Oct 10 07:10:07 ftpcl1n1 automount[7594]: sig 14 switching from 1 to 2
Oct 10 07:10:07 ftpcl1n1 automount[7594]: get_pkt: state 1, next 2
Oct 10 07:10:07 ftpcl1n1 automount[7594]: st_expire(): state = 1
Oct 10 07:10:07 ftpcl1n1 automount[7594]: expire_proc: exp_proc=7799
Oct 10 07:10:07 ftpcl1n1 automount[7799]: expire_proc: 1 remaining in /ftpmnt
Oct 10 07:10:07 ftpcl1n1 automount[7594]: handle_child: got pid 7799, sig 0 (0), stat 1
Oct 10 07:10:07 ftpcl1n1 automount[7594]: sigchld: exp 7799 finished, switching from 2 to 1
Oct 10 07:10:07 ftpcl1n1 automount[7594]: get_pkt: state 2, next 1
Oct 10 07:10:07 ftpcl1n1 automount[7594]: st_ready(): state = 2
Oct 10 07:10:17 ftpcl1n1 automount[7724]: sig 14 switching from 1 to 2
Oct 10 07:10:17 ftpcl1n1 automount[7724]: get_pkt: state 1, next 2
Oct 10 07:10:17 ftpcl1n1 automount[7724]: st_expire(): state = 1
Oct 10 07:10:17 ftpcl1n1 automount[7724]: expire_proc: exp_proc=7821
Oct 10 07:10:17 ftpcl1n1 automount[7724]: handle_child: got pid 7821, sig 0 (0), stat 0
Oct 10 07:10:17 ftpcl1n1 automount[7724]: sigchld: exp 7821 finished, switching from 2 to 1
Oct 10 07:10:17 ftpcl1n1 automount[7724]: get_pkt: state 2, next 1
Oct 10 07:10:17 ftpcl1n1 automount[7724]: st_ready(): state = 2
Oct 10 07:10:19 ftpcl1n1 automount[7711]: sig 14 switching from 1 to 2
Oct 10 07:10:19 ftpcl1n1 automount[7711]: get_pkt: state 1, next 2
Oct 10 07:10:19 ftpcl1n1 automount[7711]: st_expire(): state = 1
Oct 10 07:10:19 ftpcl1n1 automount[7711]: expire_proc: exp_proc=7822
Oct 10 07:10:19 ftpcl1n1 automount[7711]: handle_child: got pid 7822, sig 0 (0), stat 0
Oct 10 07:10:19 ftpcl1n1 automount[7711]: sigchld: exp 7822 finished, switching from 2 to 1
Oct 10 07:10:19 ftpcl1n1 automount[7711]: get_pkt: state 2, next 1
Oct 10 07:10:19 ftpcl1n1 automount[7711]: st_ready(): state = 2
Oct 10 07:10:22 ftpcl1n1 automount[7594]: sig 14 switching from 1 to 2
Oct 10 07:10:22 ftpcl1n1 automount[7594]: get_pkt: state 1, next 2
Oct 10 07:10:22 ftpcl1n1 automount[7594]: st_expire(): state = 1
Oct 10 07:10:22 ftpcl1n1 automount[7594]: expire_proc: exp_proc=7823
Oct 10 07:10:22 ftpcl1n1 automount[7823]: expire_proc: 1 remaining in /ftpmnt
Oct 10 07:10:22 ftpcl1n1 automount[7594]: handle_child: got pid 7823, sig 0 (0), stat 1
Oct 10 07:10:22 ftpcl1n1 automount[7594]: sigchld: exp 7823 finished, switching from 2 to 1
Oct 10 07:10:22 ftpcl1n1 automount[7594]: get_pkt: state 2, next 1
Oct 10 07:10:22 ftpcl1n1 automount[7594]: st_ready(): state = 2
Oct 10 07:10:32 ftpcl1n1 automount[7724]: sig 14 switching from 1 to 2
Oct 10 07:10:32 ftpcl1n1 automount[7724]: get_pkt: state 1, next 2

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to