Hello,
i currently have this problem: i have a samba server acting as a fileshare.
One share contain a file "test.txt".

My problem :
1) on the linux client: i mount the share using mount.cifs

2) on the linux client: the file can be seen:
[client:root] > ls -l /mnt/test.txt
-rw-r--r--  1 root root 0 Sep 21 13:54 /mnt/test.txt

3) on the samba server: i delete the file

4) on the linux client: the file can't be seen anymore => ok

[client:root] > ls -l /mnt/test.txt
ls: /mnt/test.txt: No such file or directory

5) on the samba server: i create the same file
[master:root] >  touch test.txt

6) on the linux client: the file still can't be found:
[client:root] > ls -l /mnt/test.txt
ls: /mnt/test.txt: No such file or directory

Is this normal ? I this related to a inode cache table ? If yes, how
can i make this to work ?

7) on the linux client: doing a 'ls' on the mount point show me the file
[client:root] > ls -l /mnt/
-rw-r--r--  1 root root 0 Sep 21 13:54 /mnt/test.txt
...

8) now the 'ls' on the file is correct
[client:root] > ls -l /mnt/test.txt
-rw-r--r--  1 root root 0 Sep 21 13:54 /mnt/test.txt

Any suggestions ?

NB: using smbfs don't show this problem

Thanks !
-- 
Jérôme
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to