[linux-cifs-client] multiple cifs mounts cause lock after IP adress change

Geert Fannes Geert.Fannes at ikanconsulting.com
Thu Mar 31 09:04:02 GMT 2005


Hello,

we have a Dell PowerVault (elephant.nexim.com) at work that we use as
file server. I connect from my linux box (ivon) to this machine to mount
3 different shares. Everything went well until our sysadmins decided to
give our machines new IP addresses (because we switched from internet
provider). From then on, I get a "resource temporarily unavailable"
error when I try to mount the third share. If I try mounting again, it
works fine. First, I thought there was a problem with the third share,
but reversing the mount order results in the same strange behaviour that
was not present before the IP move. 

 

What is worse, after a few hours, these shares seem to get locked (an
"ls" command does not return, "df" does not return, but the rest of the
machine still works fine). Hereunder, you can find first the mount
commands I use, indicating the mount errors. Next is a part of
/var/log/syslog when these shares got stuck.

 

Do you have any idea what is causing these errors or how I can prevent
them. Currently, I am running kernel 2.6.10-rc2 (I am compiling 2.6.11.6
at the moment of writing), mount.cifs 1.5 and samba 3.0.4 on a slackware
10.0 32-bit box.

Greetings,

Geert Fannes.

 

**mount commands**

root at ivon elephant $ cifsmount //elephant.nexim.com/gfannes home -o
user=gfannes

Password:

root at ivon elephant $ cifsmount //elephant.nexim.com/Projects projects -o
user=gfannes

Password:

root at ivon elephant $ cifsmount //elephant.nexim.com/transfer transfer -o
user=gfannes

Password:

mount error 11 = Resource temporarily unavailable

Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

root at ivon elephant $ cifsmount //elephant.nexim.com/transfer transfer -o
user=gfannes

Password:

root at ivon elephant $ umount home

root at ivon elephant $ umount projects

root at ivon elephant $ umount transfer

root at ivon elephant $ cifsmount //elephant.nexim.com/transfer transfer -o
user=gfannes

Password:

root at ivon elephant $ cifsmount //elephant.nexim.com/Projects projects -o
user=gfannes

Password:

root at ivon elephant $ cifsmount //elephant.nexim.com/gfannes home -o
user=gfannes

Password:

mount error 11 = Resource temporarily unavailable

Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

root at ivon elephant $ cifsmount //elephant.nexim.com/gfannes home -o
user=gfannes

Password:

root at ivon elephant $

 

**part from /var/log/syslog***

Mar 30 11:10:31 ivon kernel:  CIFS VFS: Zero length receive when
expecting 15573

Mar 30 11:10:31 ivon kernel:  CIFS VFS: No response buffer

Mar 30 11:11:00 ivon smbd[5725]: [2005/03/30 11:11:00, 0]
lib/util_sock.c:get_peer_addr(978)

Mar 30 11:11:00 ivon smbd[5726]: [2005/03/30 11:11:00, 0]
lib/access.c:check_access(328)

Mar 30 11:11:00 ivon smbd[5726]:   Denied connection from
(192.168.240.9)

Mar 30 11:11:00 ivon smbd[5725]:   getpeername failed. Error was
Transport endpoint is not connected

Mar 30 11:11:00 ivon smbd[5725]: [2005/03/30 11:11:00, 0]
lib/util_sock.c:get_peer_addr(978)

Mar 30 11:11:00 ivon smbd[5725]:   getpeername failed. Error was
Transport endpoint is not connected

Mar 30 11:11:00 ivon smbd[5725]: [2005/03/30 11:11:00, 0]
lib/access.c:check_access(328)

Mar 30 11:11:00 ivon smbd[5725]: [2005/03/30 11:11:00, 0]
lib/util_sock.c:get_peer_addr(978)

Mar 30 11:11:00 ivon smbd[5725]:   getpeername failed. Error was
Transport endpoint is not connected

Mar 30 11:11:00 ivon smbd[5725]:   Denied connection from  (0.0.0.0)

Mar 30 11:11:00 ivon smbd[5725]: [2005/03/30 11:11:00, 0]
lib/util_sock.c:get_peer_addr(978)

Mar 30 11:11:00 ivon smbd[5725]:   getpeername failed. Error was
Transport endpoint is not connected

Mar 30 11:11:00 ivon smbd[5725]:   Connection denied from 0.0.0.0

Mar 30 11:11:00 ivon smbd[5725]: [2005/03/30 11:11:00, 0]
lib/util_sock.c:write_socket_data(413)

Mar 30 11:11:00 ivon smbd[5725]:   write_socket_data: write failure.
Error = Connection reset by peer

Mar 30 11:11:00 ivon smbd[5725]: [2005/03/30 11:11:00, 0]
lib/util_sock.c:write_socket(438)

Mar 30 11:11:00 ivon smbd[5725]:   write_socket: Error writing 5 bytes
to socket 5: ERRNO = Connection reset by peer

Mar 30 11:11:00 ivon smbd[5725]: [2005/03/30 11:11:00, 0]
lib/util_sock.c:send_smb(630)

Mar 30 11:11:00 ivon smbd[5725]:   Error writing 5 bytes to client. -1.
(Connection reset by peer)

Mar 30 11:13:31 ivon kernel:  CIFS VFS: Zero length receive when
expecting 15841

Mar 30 11:13:31 ivon kernel:  CIFS VFS: No response buffer

Mar 30 11:16:31 ivon kernel:  CIFS VFS: Zero length receive when
expecting 16109

Mar 30 11:16:31 ivon kernel:  CIFS VFS: No response buffer

Mar 30 11:16:31 ivon kernel:  CIFS VFS: Error 0xffffff90 or on
cifs_get_inode_info in lookup

Mar 30 11:19:31 ivon kernel:  CIFS VFS: Zero length receive when
expecting 16377

Mar 30 11:19:31 ivon kernel:  CIFS VFS: No response buffer

Mar 30 11:21:30 ivon kernel:  CIFS VFS: No task to wake, unknown frame
rcvd!

Mar 30 11:21:30 ivon kernel:

Mar 30 11:22:31 ivon kernel:  CIFS VFS: No response buffer

Mar 30 11:22:31 ivon kernel:  CIFS VFS: Error 0xffffff90 or on
cifs_get_inode_info in lookup

-------------- next part --------------
HTML attachment scrubbed and removed


More information about the linux-cifs-client mailing list