[Samba] Notification changes sometimes works, sometimes no - Samba
This is a discussion on [Samba] Notification changes sometimes works, sometimes no - Samba ; Hi.
I have compiled samba 3.0.28 and 3.0.30 under both ARM and x86.
I have enabled inotify into the kernel.
I use kernel 2.6.20.4 for both ARM and x86.
I see a strange problem about notification changes. Sometimes
automatic notify ...
-
[Samba] Notification changes sometimes works, sometimes no
Hi.
I have compiled samba 3.0.28 and 3.0.30 under both ARM and x86.
I have enabled inotify into the kernel.
I use kernel 2.6.20.4 for both ARM and x86.
I see a strange problem about notification changes. Sometimes
automatic notify works,
sometimes not.
Now I will show who reproduce the error I see.
I have installed SAMBA on 10.0.0.61.
*******
PHASE 1
*******
I open an explorer window and I insert "\\10.0.0.61".
A window with USER and PASSWORD appears.
I insert user and password, and my share called "RootDisk" apperars.
A click on "RootDisk", and I can use my share. It works OK, and also the
notification is OK. I can create files and remove then, and I have the
automatic update.
*******
PHASE 2
*******
Now I close my explorer window.
I open a new explorer windows.
I enter "\\10.0.0.61".
I click on "RootDisk".
Now, If I create or remove files, then notification does NOT works !
I have to press F5 key.
*******
PHASE 3
*******
Now I close the explorer window.
I open a new explorer window.
I enter "\\10.0.0.61\RootDisk".
Now I create and remove files, and the notification works OK.
------------------------------------------------------------------
I underline that I exec PHASE1, then PHASE2, then PHASE3 in this order.
PHASE1 and PHASE3 works OK, PHASE2 does not work OK.
I have tried to insert some debug messages in source/smbd/notify_inotify.c but
I have not understood the difference when notification works OK and
when there is the notification problem.
Inotify support is OK (I have added debug messages and I see them). I
think there is something strange in the communication
client-server.
I think my smbd.conf is very simple.
I have tried to add some config option
-> socket options = TCP_NODELAY
but this does not solve my problem.
Is this a known error ? or do I make some error ? or is my config incomplete ?
Thanks in advance
Paolo Minazzi
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
-
Re: [Samba] Notification changes sometimes works, sometimes no
On Mon, Jun 16, 2008 at 11:44:12AM +0200, Paolo Minazzi wrote:
> Hi.
> I have compiled samba 3.0.28 and 3.0.30 under both ARM and x86.
> I have enabled inotify into the kernel.
> I use kernel 2.6.20.4 for both ARM and x86.
> I see a strange problem about notification changes. Sometimes
> automatic notify works,
> sometimes not.
>
> Now I will show who reproduce the error I see.
> I have installed SAMBA on 10.0.0.61.
>
> *******
> PHASE 1
> *******
> I open an explorer window and I insert "\\10.0.0.61".
> A window with USER and PASSWORD appears.
> I insert user and password, and my share called "RootDisk" apperars.
> A click on "RootDisk", and I can use my share. It works OK, and also the
> notification is OK. I can create files and remove then, and I have the
> automatic update.
>
> *******
> PHASE 2
> *******
> Now I close my explorer window.
> I open a new explorer windows.
> I enter "\\10.0.0.61".
> I click on "RootDisk".
> Now, If I create or remove files, then notification does NOT works !
> I have to press F5 key.
Please file a bug at https://bugzilla.samba.org and upload
your smb.conf and a debug level 10 log of smbd.
Volker
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFIVjpMUzqjrWwMRl0RAoOsAJ4iHZAsGjrXg0XyylVvoX XhP7Z2VgCdGuBy
BMVWvlR9TUR+WqQwyDFP1Zs=
=EsVW
-----END PGP SIGNATURE-----
-
Re: [Samba] Notification changes sometimes works, sometimes no
Hi Volker,
thanks for your fast replay.
I have the log. It is large.
zipped is 160KB, unzipped more than 3MB
Where can I post it ? I don't think the mailing list is the right
place .... it is too big !
I already insert the bug in https://bugzilla.samba.org
Some details :
CLIENT arch = WIN XP
SERVER arch = LINUX ARM 2.6.20.4
I attach
-smb.conf
-configure parameter
Thanks
Paolo
On Mon, Jun 16, 2008 at 12:02 PM, Volker Lendecke
wrote:
> On Mon, Jun 16, 2008 at 11:44:12AM +0200, Paolo Minazzi wrote:
>> Hi.
>> I have compiled samba 3.0.28 and 3.0.30 under both ARM and x86.
>> I have enabled inotify into the kernel.
>> I use kernel 2.6.20.4 for both ARM and x86.
>> I see a strange problem about notification changes. Sometimes
>> automatic notify works,
>> sometimes not.
>>
>> Now I will show who reproduce the error I see.
>> I have installed SAMBA on 10.0.0.61.
>>
>> *******
>> PHASE 1
>> *******
>> I open an explorer window and I insert "\\10.0.0.61".
>> A window with USER and PASSWORD appears.
>> I insert user and password, and my share called "RootDisk" apperars.
>> A click on "RootDisk", and I can use my share. It works OK, and also the
>> notification is OK. I can create files and remove then, and I have the
>> automatic update.
>>
>> *******
>> PHASE 2
>> *******
>> Now I close my explorer window.
>> I open a new explorer windows.
>> I enter "\\10.0.0.61".
>> I click on "RootDisk".
>> Now, If I create or remove files, then notification does NOT works !
>> I have to press F5 key.
>
> Please file a bug at https://bugzilla.samba.org and upload
> your smb.conf and a debug level 10 log of smbd.
>
> Volker
>
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
-
Re: [Samba] Notification changes sometimes works, sometimes no
On Mon, Jun 16, 2008 at 02:08:32PM +0200, Paolo Minazzi wrote:
> Hi Volker,
> thanks for your fast replay.
>
> I have the log. It is large.
> zipped is 160KB, unzipped more than 3MB
160kb okay to just send it to me :-)
> Where can I post it ? I don't think the mailing list is the right
> place .... it is too big !
>
> I already insert the bug in https://bugzilla.samba.org
Oh, which bug number?
Volker
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFIVlk0UzqjrWwMRl0RAsuCAKCeI72Taa52F8edqe1F/E8yr8PYTQCgh2Nz
QigdlefUTJHxjALGG/kjcww=
=NP4i
-----END PGP SIGNATURE-----