[Bug 569384] New: "mount -t cifs" hangs for about 2 minutes
http://bugzilla.novell.com/show_bug.cgi?id=569384 http://bugzilla.novell.com/show_bug.cgi?id=569384#c0 Summary: "mount -t cifs" hangs for about 2 minutes Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: x86-64 OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: Samba AssignedTo: samba-maintainers@SuSE.de ReportedBy: ciriarte@personal.net.py QAContact: samba-maintainers@SuSE.de Found By: --- Blocker: --- Created an attachment (id=335707) --> (http://bugzilla.novell.com/attachment.cgi?id=335707) Strace of the mount process User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-AR; rv:1.9.0.16) Gecko/2009120208 Firefox/2.0.0.1 MEGAUPLOAD 1.0 (.NET CLR 3.5.30729) Mounting a cifs share by hand or using automount hangs for about 2 minutes, once it's mounted everything works fine (I can read and write without noticeable speed issues) Reproducible: Always Steps to Reproduce: 1.mount -t cifs -o rw,uid=1000,username=DOM\\user,password=pass //machine/c\$ /mnt 2. 3. Actual Results: The share is mounted, but only after 1 or 2 minutes. Using autofs with this share makes dolphin unresponsive until mount returns... Expected Results: The share should be mounted, without the long delay. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=569384
http://bugzilla.novell.com/show_bug.cgi?id=569384#c1
Lars Müller
http://bugzilla.novell.com/show_bug.cgi?id=569384
http://bugzilla.novell.com/show_bug.cgi?id=569384#c2
--- Comment #2 from Suresh Jayaraman
http://bugzilla.novell.com/show_bug.cgi?id=569384
http://bugzilla.novell.com/show_bug.cgi?id=569384#c3
--- Comment #3 from Ciro Iriarte
http://bugzilla.novell.com/show_bug.cgi?id=569384
http://bugzilla.novell.com/show_bug.cgi?id=569384#c4
Ciro Iriarte
http://bugzilla.novell.com/show_bug.cgi?id=569384
http://bugzilla.novell.com/show_bug.cgi?id=569384#c5
--- Comment #5 from Ciro Iriarte
http://bugzilla.novell.com/show_bug.cgi?id=569384
http://bugzilla.novell.com/show_bug.cgi?id=569384#c
Ciro Iriarte
http://bugzilla.novell.com/show_bug.cgi?id=569384
http://bugzilla.novell.com/show_bug.cgi?id=569384#c6
--- Comment #6 from Ciro Iriarte
http://bugzilla.novell.com/show_bug.cgi?id=569384
http://bugzilla.novell.com/show_bug.cgi?id=569384#c7
--- Comment #7 from Ciro Iriarte
http://bugzilla.novell.com/show_bug.cgi?id=569384
http://bugzilla.novell.com/show_bug.cgi?id=569384#c8
--- Comment #8 from Ciro Iriarte
http://bugzilla.novell.com/show_bug.cgi?id=569384
http://bugzilla.novell.com/show_bug.cgi?id=569384#c9
Suresh Jayaraman
http://bugzilla.novell.com/show_bug.cgi?id=569384
http://bugzilla.novell.com/show_bug.cgi?id=569384#c10
Ciro Iriarte
I don't see anything obviously wrong from the logs. I couldn't reproduce this issue on openSUSE 11.2.
Can you try adding dns entries to the AD server and CIFS server in /etc/hosts and see whether this problem go away. This will tell us whether the delay has anything to do with the DNS or not.
DNS resolution is instantaneous, I've added the 2 DCs and the XP machine to /etc/hosts anyway, same outcome.
Also try mounting as guest by doing mount -t cifs -o guest //server/share /path_to/mount
The above will tell us whether the delay is introduced in looking up user in AD or not.
Tried the guest mount, but even that was slow to fail. roamer:~ # time mount -t cifs -o guest //pcsissto-asu03/c\$ /mnt mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) real 3m9.094s user 0m0.002s sys 0m0.004s -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=569384
http://bugzilla.novell.com/show_bug.cgi?id=569384#c11
Suresh Jayaraman
http://bugzilla.novell.com/show_bug.cgi?id=569384
http://bugzilla.novell.com/show_bug.cgi?id=569384#c
Suresh Jayaraman
http://bugzilla.novell.com/show_bug.cgi?id=569384
http://bugzilla.novell.com/show_bug.cgi?id=569384#c12
Ciro Iriarte
http://bugzilla.novell.com/show_bug.cgi?id=569384
http://bugzilla.novell.com/show_bug.cgi?id=569384#c13
--- Comment #13 from Ciro Iriarte
http://bugzilla.novell.com/show_bug.cgi?id=569384
http://bugzilla.novell.com/show_bug.cgi?id=569384#c14
--- Comment #14 from Ciro Iriarte
1. Windows XP SP2
2. Added
3. Output from command:
roamer:~ # mount -v -t cifs -o rw,uid=1000,username=TPPY\\iriartec,password=magaasu23 //pcsissto-asu03/c\$ /mnt
mount.cifs kernel mount options: unc=//pcsissto-asu03\c$,domain=TPPY,ver=1,rw,username=iriartec,,,,,,uid=1000,ip=10.129.5.214,pass=******** roamer:~ #
Just to correct number 1, it's WinXP SP3 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=569384
http://bugzilla.novell.com/show_bug.cgi?id=569384#c15
Suresh Jayaraman
http://bugzilla.novell.com/show_bug.cgi?id=569384
http://bugzilla.novell.com/show_bug.cgi?id=569384#c16
Ciro Iriarte
http://bugzilla.novell.com/show_bug.cgi?id=569384
http://bugzilla.novell.com/show_bug.cgi?id=569384#c17
--- Comment #17 from Lars Müller
http://bugzilla.novell.com/show_bug.cgi?id=569384
http://bugzilla.novell.com/show_bug.cgi?id=569384#c18
Suresh Jayaraman
http://bugzilla.novell.com/show_bug.cgi?id=569384
http://bugzilla.novell.com/show_bug.cgi?id=569384#c19
Ciro Iriarte
You might try
nmblookup -M -- -
This is the output with time taken to conclude. ciro@roamer:~> time nmblookup -M -- - querying __MSBROWSE__ on 172.16.100.255 querying __MSBROWSE__ on 192.168.56.255 querying __MSBROWSE__ on 10.129.7.255 10.129.7.39 __MSBROWSE__<01> 10.129.7.68 __MSBROWSE__<01> 10.129.6.147 __MSBROWSE__<01> 10.129.6.25 __MSBROWSE__<01> 10.129.6.165 __MSBROWSE__<01> 10.129.6.61 __MSBROWSE__<01> 10.129.6.78 __MSBROWSE__<01> 10.129.6.214 __MSBROWSE__<01> 10.129.4.176 __MSBROWSE__<01> 10.129.4.175 __MSBROWSE__<01> 10.129.4.199 __MSBROWSE__<01> 10.129.4.166 __MSBROWSE__<01> 10.129.5.139 __MSBROWSE__<01> 10.129.4.144 __MSBROWSE__<01> 10.129.4.88 __MSBROWSE__<01> 10.129.4.68 __MSBROWSE__<01> 192.168.1.1 __MSBROWSE__<01> real 0m1.910s user 0m0.004s sys 0m0.007s -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=569384
http://bugzilla.novell.com/show_bug.cgi?id=569384#c20
--- Comment #20 from Ciro Iriarte
It might also be worth trying to mount with "-vvvv" (more verbose mode) before -o and see whether we could get some pointers about the delay.
roamer:~ # time mount -t cifs -vvvv -o rw,uid=1000,username=TPPY\\iriartec,password=magaasu23 //pcsissto-asu03/c\$ /mnt mount: fstab path: "/etc/fstab" mount: mtab path: "/etc/mtab" mount: lock path: "/etc/mtab~" mount: temp path: "/etc/mtab.tmp" mount: UID: 0 mount: eUID: 0 mount: spec: "//pcsissto-asu03/c$" mount: node: "/mnt" mount: types: "cifs" mount: opts: "rw,uid=1000,username=TPPY\iriartec,password=magaasu23" mount: external mount: argv[0] = "/sbin/mount.cifs" mount: external mount: argv[1] = "//pcsissto-asu03/c$" mount: external mount: argv[2] = "/mnt" mount: external mount: argv[3] = "-v" mount: external mount: argv[4] = "-o" mount: external mount: argv[5] = "rw,uid=1000,username=TPPY\iriartec,password=replaced" mount.cifs kernel mount options: unc=//pcsissto-asu03\c$,domain=TPPY,ver=1,rw,username=iriartec,,,,,,uid=1000,ip=10.129.5.214,pass=******** real 3m9.018s user 0m0.001s -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=569384
http://bugzilla.novell.com/show_bug.cgi?id=569384#c21
--- Comment #21 from James McDonough
http://bugzilla.novell.com/show_bug.cgi?id=569384
http://bugzilla.novell.com/show_bug.cgi?id=569384#c22
Paul Fransen
http://bugzilla.novell.com/show_bug.cgi?id=569384
http://bugzilla.novell.com/show_bug.cgi?id=569384#c23
--- Comment #23 from Ciro Iriarte
http://bugzilla.novell.com/show_bug.cgi?id=569384
http://bugzilla.novell.com/show_bug.cgi?id=569384#c24
Suresh Jayaraman
participants (1)
-
bugzilla_noreply@novell.com