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

Re: CIFS mount hangs



Since the 3.x kernels there is a problem with samba.  In my work environment I have to revert to a 2.6 kernel to be able to mount a Windows share.

Here is a reply on my question I have asked in a cifs-related list in February this year:

"The user you're connecting as doesn't have access to do a lookup on
"/let" at the top level of the share. When the superblock sharing
patches went in a year or two ago, the client started trying to walk
down from the root of the share to the mount root. If you don't have
access to some point in the middle then the mount fails.

This is currently still broken. The only workaround is to allow these
users access on the intermediate directories. I think read access is
sufficient, but I don't recall the specifics."

Regards
Johann





On 23 November 2013 06:49, Scott Ferguson <scott.ferguson.debian.user@gmail.com> wrote:
<gently>
This is why some (me) people dislike top posters and prefer to ignore
them over posters who make the effort to interleave their replies. Not
only does it require extra work to read the post and put it into context
- it 'seems' to also encourages posters to *not* read what they are
replying to. I could be wrong about that - but it coincides with
occasions when I ask for information that is not supplied after asking.
That mouse thing moves the cursor ;)
</gently>

On 23/11/13 01:45, assmann@skygate.de wrote:
> Hi,
>
> so I did some testing with a clone of the machine restored to the
> state before the upgrade to wheezy.
>
> Squeeze:
> - Mount the share
> - Disable the share on windows host
> - Try to access the share with 'ls' results in 'no such device'
> - Enable the share on windows host
> - Try to access the share with 'ls' is successful
>
> Wheezy:
> - Mount the share
> - Disable the share on windows host
> - Try to access the share with 'ls' results in 'Server ... has not
> responded in 300 seconds' .. and an error from ls after well 300
> seconds i would say.

There's your most likely problem (read on).

> Until this the shell hangs and the access can not be interupted with
> CTRL-C.
> - Enable the share on windows host
> - Try to access the share with 'ls' is successful but shows an empty
> dir.
> - Remount brings the content back
> - Connection is lost after some time of inactivity (share is still
> available under squeeze)
>
> This is the behavoiur when I manually disable the share. But in 'real
> life' the share is not diabled by anyone. It is still visible in the
> windows network environment.

Do you mean cifs (e.g. smbclient)? Or Windows(C) environment?  There's a
major difference.
http://www.mail-archive.com/linux-cifs@vger.kernel.org/msg06173.html is
also interesting - though I'd still check the timeout settings on the
samba server/s first (instead of cifs mount).

>
> Will see how this will work out.
>
> Thanks so far!
>
> Tobias
>
>> On 21/11/13 22:39, assmann@skygate.de wrote:
>>> Hi,
>>>

<snipped>

>
>> How does "$ testparm -v" on the new box compare with the same from the
>> box that did work?

??   Did you read that?

>
>>>
>>> Any ideas to debug and understand are welcome.
>
>> The output of:
>> $ testparm -v

?? Did you read that?

I'd suggest you look at the timeout values. Just a thought..... :)

>
>> Plus the settings used on the boxes that host the samba resources might
>> be informative.

Might be informative?
I meant "extremely useful"
Sorry.

>> Do you have any logs from the other boxes?

??

>
>>>
<snipped>

Kind regards


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] 529033F0.7070603@gmail.com" target="_blank">http://lists.debian.org/[🔎] 529033F0.7070603@gmail.com




--
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)

Reply to: