[Samba] Re: How does the UNIX end work?

This is a discussion on [Samba] Re: How does the UNIX end work? within the Samba forums, part of the Networking and Network Related category; > Andrew Edmondson [your-copy@uk2.net] wrote: >> >> I've been trying to find something on ...


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-07-2005
Andrew Edmondson
 
Posts: n/a
Default [Samba] Re: How does the UNIX end work?

> Andrew Edmondson [your-copy@uk2.net] wrote:
>>
>> I've been trying to find something on this in the docs but have failed
>> so
>> far - perhaps I'm just looking in the wrong place and if so please feel
>> free to reply with a link.
>>
>> My issue is that files create on a samba share in windows are fine. The
>> file is created and is accessible by everyone straight away.
>>
>> But, if I have a unix script create a file on the samba share at the
>> server end it seems to take some time (varies up to a minute) to become
>> available to the windows clients.

>
> The question is: how does Windows work ? ;-)))
>
> And the answer - it caches. The view of the underlying drive is
> cached on the Windows side and it takes a few seconds it notices a
> change.
>
>> This has led me to think that there is a list of files which is updated
>> either at the request of smbd (due to access by a windows machine) or
>> after a periodic (every 1 minute?) scan of the files at the UNIX end. Is
>> there a way to shrink or remove this refresh time at all?

>
> I don't think so.
>


Figured this out in the end - it was a combination of 2 things. One, I had
the files on one server and [nfs] mounted to the box running samba which
then served the files out to the windows network. This introduced a delay
of about 20 seconds so I had to move some data to the server running
samba. The second thing was the 'change notify timeout' needed to be
changed from its default 60 seconds. Works great now, cheers for the
input Michal.


> --
> Michal Kurowski
> <mkur@gazeta.pl>
>
>


--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:54 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0