Fwd: question about cifs mount timeouts and reconnects

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello list.

I did ask this question in the end of 2012, but nobody seems to ACK
it. So I'm questioning it again. I'm sorry if it's not the right place
for users questions.

I've been observing this behavior on both 2.6.32 kernel and on more
recent 3.2.0-4-amd64 (both are latest stable debian kernels, latter is
from debian 7 wheezy).

Details below:



2012/12/28 spameden <spameden@xxxxxxxxx>
>
> Hi.
>
> I've been using samba/cifs for years and now noticed various hangs
> occuring on reconnection.
>
> Here is an example of situation when it occurs:
>
> 1. host A have shared directory "share", host A is running MS Windows.
> (for example - a laptop)
> 2. host B got directory "share" mounted under /mnt/share, host B is
> running Debian Linux Squeeze with 3.2 backported kernel with latest
> updates installed.
>
> If host A reboots and after successful reboot you'd try to access
> /mnt/share on host B - host B hangs on that dir for 60-300seconds
> (sometimes even longer).
>
> I understand the hang if it could happen in situation where "share" on
> host A is no longer available, but it's available (the only thing -
> host was rebooted!).
>
> What I've tried so far:
>
> 1) I've tried using "soft" option on mount - didnt help at all (I
> believe its set by default, but added anyways to the fstab mounting
> options)
> 2) tried inserting cifs module with echo_retries=1 - didnt help still
> the same thing
> 3) tried on 2.6.32 kernel as well (debian's default kernel) -
> absolutely same behaviour, thought it's fixed in 3.2.0-0.bpo.4-amd64
> backported kernel.
>
> It's very annoying and inconvinient to have this behavior every time
> host reboots.
>
> Please suggest if it's distro specific bug or samba's "by design bug"?
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux