cifs mount failing

View: New views
4 Messages — Rating Filter:   Alert me  

cifs mount failing

by BJ Taylor :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have 2 opensuse 11.1 machines that have a mounted folder that's connected to an opensuse 10.3 samba server.  The folder is fairly consistently.  However, every few days, the folder will stop responding.  Doing a 'ls' on the folder (not inside the folder) I get an error saying that the host server is not responding.  However, I have at least 4 other servers that are connected to the same share and do not ever get this problem.  Once the machine gets this problem, the only way I know to fix it is to reboot the machine.  umount -l and umount -f both crash the machine (ie, it is unresponsive to all network traffic and even from the monitor and keyboard plugged into it, and will stay that way for days).  Searching the logs has been futile.  I either do not know where to look or nothing is being recorded.  Using netstat I can see the samba link from both machines, but killing the processes on the client that are using the service doesn't seem to kill the connection. 

Are there any known bugs that would cause this?  Would updating the samba server to opensuse 11.1 fix the problem by any chance?  Any advice on how I can further debug this and get some meaningful output?

Thanks,

BJ Taylor
Property Solutions International, Inc.
btaylor@...


_______________________________________________
linux-cifs-client mailing list
linux-cifs-client@...
https://lists.samba.org/mailman/listinfo/linux-cifs-client

Re: cifs mount failing

by Suresh Jayaraman-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

BJ Taylor wrote:
> I have 2 opensuse 11.1 machines that have a mounted folder that's
> connected to an opensuse 10.3 samba server.� The folder is fairly
> consistently.� However, every few days, the folder will stop
> responding.� Doing a 'ls' on the folder (not inside the folder) I get an
> error saying that the host server is not responding.� However, I have at
> least 4 other servers that are connected to the same share and do not

What is the kernel version being used (uname -r) and the Samba server
version? Are you running up-to-date openSUSE 10.3 and 11.1 boxes?

> ever get this problem.� Once the machine gets this problem, the only way
> I know to fix it is to reboot the machine.� umount -l and umount -f both
> crash the machine (ie, it is unresponsive to all network traffic and
> even from the monitor and keyboard plugged into it, and will stay that
> way for days).� Searching the logs has been futile.� I either do not
> know where to look or nothing is being recorded.� Using netstat I can

Do you find any CIFS related/Oops message in /var/log/messages?

> Are there any known bugs that would cause this?� Would updating the
> samba server to opensuse 11.1 fix the problem by any chance?� Any advice
> on how I can further debug this and get some meaningful output?
>

Doesn't sound like a known issue to me. But, there is no harm in
updating systems (both client and server) and see whether the problem is
still reproducible or not. Do you suspend/hibernate the box with cifs
mounted?

Also, please report the bug here:
https://bugzilla.novell.com/enter_bug.cgi?product=openSUSE+11.1&format=guided


Thanks,

--
Suresh Jayaraman
_______________________________________________
linux-cifs-client mailing list
linux-cifs-client@...
https://lists.samba.org/mailman/listinfo/linux-cifs-client

Re: cifs mount failing

by BJ Taylor :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

kernel version for the server is: 2.6.22.19-0.2-bigsmp
kernel version for the client is: 2.6.27.19-3.2-default

The servers were each updated about 4 months ago.  So not extremely current, but not bad either.

I didn't see any messages in /var/log/messages that were related.

I realized that when I said that these mounted drive saw moderate use, that may not be quite accurate.  Compared to how a lot of systems use mounted drives, these use them fairly heavily.  These are web servers that server a fair number of clients, and each request to the web server makes at least one file read over the cifs mounted folder.  These systems never use hibernate or anything like that, but they do use the drive folder fairly heavily.

I will update the systems again this week, and if we can still reproduce the issue, I will report it in the bugzilla. 

Is there any way to increase the verbosity of the client logging?  I don't even know which service is the most directly related to cifs folders, or is this just part of the kernel itself?  I wish I had more concrete information to put in bugzilla so that it won't just be dismissed as 'not reproducable'.  Any suggestions on that?

BJ Taylor
Property Solutions International, Inc.
btaylor@...



On Thu, Jul 9, 2009 at 10:13 PM, Suresh Jayaraman <sjayaraman@...> wrote:
BJ Taylor wrote:
> I have 2 opensuse 11.1 machines that have a mounted folder that's
> connected to an opensuse 10.3 samba server.� The folder is fairly
> consistently.� However, every few days, the folder will stop
> responding.� Doing a 'ls' on the folder (not inside the folder) I get an
> error saying that the host server is not responding.� However, I have at
> least 4 other servers that are connected to the same share and do not

What is the kernel version being used (uname -r) and the Samba server
version? Are you running up-to-date openSUSE 10.3 and 11.1 boxes?

> ever get this problem.� Once the machine gets this problem, the only way
> I know to fix it is to reboot the machine.� umount -l and umount -f both
> crash the machine (ie, it is unresponsive to all network traffic and
> even from the monitor and keyboard plugged into it, and will stay that
> way for days).� Searching the logs has been futile.� I either do not
> know where to look or nothing is being recorded.� Using netstat I can

Do you find any CIFS related/Oops message in /var/log/messages?

> Are there any known bugs that would cause this?� Would updating the
> samba server to opensuse 11.1 fix the problem by any chance?� Any advice
> on how I can further debug this and get some meaningful output?
>

Doesn't sound like a known issue to me. But, there is no harm in
updating systems (both client and server) and see whether the problem is
still reproducible or not. Do you suspend/hibernate the box with cifs
mounted?

Also, please report the bug here:
https://bugzilla.novell.com/enter_bug.cgi?product=openSUSE+11.1&format=guided


Thanks,

--
Suresh Jayaraman


_______________________________________________
linux-cifs-client mailing list
linux-cifs-client@...
https://lists.samba.org/mailman/listinfo/linux-cifs-client

Re: cifs mount failing

by Suresh Jayaraman-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

BJ Taylor wrote:

>
> I didn't see any messages in /var/log/messages that were related.

Strange!

> I will update the systems again this week, and if we can still reproduce
> the issue, I will report it in the bugzilla.
>
> Is there any way to increase the verbosity of the client logging?  I

There is a client-side mechanism which could be enabled for debugging.

echo 3 > /proc/fs/cifs/cifsFYI
(the values can be 1 (info) or 3 (rc) or 7 (timer) )

But this is for code-level debugging and not logging.

> don't even know which service is the most directly related to cifs
> folders, or is this just part of the kernel itself?  I wish I had more

cifs kernel module is the one.

> concrete information to put in bugzilla so that it won't just be
> dismissed as 'not reproducable'.  Any suggestions on that?

http://en.opensuse.org/Bugs/Samba#Debugging_cifs_vfs_client

might help.

Thanks,


--
Suresh Jayaraman
_______________________________________________
linux-cifs-client mailing list
linux-cifs-client@...
https://lists.samba.org/mailman/listinfo/linux-cifs-client