[opensuse] Slow CIFS mount
Hi, i'm seeing 1 to 3 minutes delay mounting on OS 11.2 a CIFS share from a Windows XP machine. Once it's mounted, everything is fine. Anybody sees something like this? Regards, -- Ciro Iriarte http://cyruspy.wordpress.com -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wed, Jan 06, 2010 at 12:20:56PM -0300, Ciro Iriarte wrote:
Hi, i'm seeing 1 to 3 minutes delay mounting on OS 11.2 a CIFS share from a Windows XP machine. Once it's mounted, everything is fine. Anybody sees something like this?
Please report such Linux kernel cifs issues via bugzilla. See http://en.openSUSE.org/Bugs/Samba section "Debugging cifs vfs client". Why there and nore here? Suresh is on the linux-kernel-cifs lists but very, very likely not on this one. Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany
2010/1/19 Lars Müller
On Wed, Jan 06, 2010 at 12:20:56PM -0300, Ciro Iriarte wrote:
Hi, i'm seeing 1 to 3 minutes delay mounting on OS 11.2 a CIFS share from a Windows XP machine. Once it's mounted, everything is fine. Anybody sees something like this?
Please report such Linux kernel cifs issues via bugzilla. See http://en.openSUSE.org/Bugs/Samba section "Debugging cifs vfs client".
Why there and nore here?
Suresh is on the linux-kernel-cifs lists but very, very likely not on this one.
Lars --
I just wanted to check if other people is seeing the same issue... There's already a bug report. Ref: https://bugzilla.novell.com/show_bug.cgi?id=569384 Regards, -- Ciro Iriarte http://cyruspy.wordpress.com -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 01/06/2010 09:20 AM, Ciro Iriarte wrote:
Hi, i'm seeing 1 to 3 minutes delay mounting on OS 11.2 a CIFS share from a Windows XP machine. Once it's mounted, everything is fine. Anybody sees something like this?
Regards,
I have also seen cifs weirdness lately with mounted smb/cifs share disconnecting after being mounted for 20-30 minutes or so. The shares mount fine just like they always have, but when I try to access something 30 minutes later, the mounts are gone. Dunno what's going on, this same setup has work fine for years. I'll file a report after collecting some additional information... -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wednesday 06 January 2010 16:20:56 Ciro Iriarte wrote:
Hi, i'm seeing 1 to 3 minutes delay mounting on OS 11.2 a CIFS share from a Windows XP machine. Once it's mounted, everything is fine. Anybody sees something like this?
Regards,
-- Ciro Iriarte http://cyruspy.wordpress.com --
Hi Ciro, I don't think that this is a bug. I have a samba share residing on a OpenSUSE 11.2 machine. Mounting this share on a Windows XP machine poses no speed problem at all (at least when you accept the usual Windows speeds). However, mounting this share on another OpenSUSE 11.2 machine takes a couple of minutes. I am using the command: /sbin/mount.cifs //[ip address server]/[share name] /[mount point] \ -o user=[user name],password=[password],rw Once mounted after a delay, the share is accessible with very acceptable speeds. When you look in man 8 mount.cifs the explanation of the "port=" parameter reads: "If the CIFS server is not listening on this port or if it is not specified, the default ports will be tried i.e. port 445 is tried and if no response then port 139 is tried." Indeed, when using the following mount command: /sbin/mount.cifs //[ip address server]/[share name] /[mount point] \ -o user=[user name],password=[password],rw,port=139 the share is mounted instantaneously. This would suggest that the delay results from contacting the server first at port 445 and only after that at port 139. Samba servers are listening to ports 445 and 139 by default. However, most authors recommend to keep firewall port 445 closed, e.g. http://en.opensuse.org/Firewall_on_simple_samba_LAN. Opening this port in the server firewall, or specifying port=139 in the mount.cifs command on the client, does the trick in my situation. I have added a comment to https://bugzilla.novell.com/show_bug.cgi?id=569384 as well. Best regards, Paul. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, Jan 28, 2010 at 01:47:14PM +0100, PaulFransen wrote: [ 8< ]
Samba servers are listening to ports 445 and 139 by default. However, most authors recommend to keep firewall port 445 closed, e.g. http://en.opensuse.org/Firewall_on_simple_samba_LAN. Opening this port in the server firewall, or specifying port=139 in the mount.cifs command on the client, does the trick in my situation.
See /etc/sysconfig/SuSEfirewall2.d/services/samba-server and I'm happy to say SuSEfirewall uses decent and right defaults. What do we need to make the use of SuSEfirewall easier? The article at en.openSUSE.org offers a lot of input and details but I fear for most users this is not an easy way to use it. Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany
participants (4)
-
Ciro Iriarte
-
David C. Rankin
-
Lars Müller
-
PaulFransen