[linux-cifs-client] Problems with rename to open file and open/unlink/create

Wilhelm Meier wilhelm.meier at fh-kl.de
Mon Apr 6 15:18:30 GMT 2009


Hi all,

we use a cifs-1.56 (the backported sources from Steve French) together 
with a 2.6.27-kernel. As we encounter some weired problems with 
kmail, I took my cifs-test-programs (see attchements) and I got 
strange results.

1) t_byterangelocking: all fine

2) t_rename: test ok, but leaves around cifsXXXX-files

3) t_openunlinkclose: test ok, but leaves also around cifsXXX-files

Below you find the /proc/mounts and DebugData.

I think the cifsXXXX files are the cause of problems to kmail.
Do you have any ideas?

Thx,

Wilhelm

//kmux-svc/kmux.admin /home/kmux.admin cifs 
rw,unc=\\kmux-svc\kmux.admin,username=kmux.admin,domain=kmux,addr=192.168.32.12,uid=999,gid=999,posixpaths,serverino,nobrl,acl,rsize=16384,wsize=57344 
0 0

kmux.admin at rich00018061EBDD:~$ cat /proc/fs/cifs/DebugData
Display Internal CIFS Data Structures for Debugging
---------------------------------------------------
CIFS Version 1.56
Active VFS Requests: 0
Servers:
1) Name: 192.168.32.12  Domain: KMUX Uses: 4 OS: Unix
        NOS: Samba 3.0.28a      Capability: 0x80e3fd
        SMB session status: 1   TCP status: 1
        Local Users To Server: 1 SecMode: 0x3 Req On Wire: 0
        Shares:
        1) \\kmux-svc\signature Mounts: 1 Type: NTFS DevInfo: 0x0 
Attributes: 0x2f
PathComponentMax: 255 Status: 0x1 type: 0

        2) \\kmux-svc\groups Mounts: 1 Type: NTFS DevInfo: 0x0 
Attributes: 0x2f
PathComponentMax: 255 Status: 0x1 type: 0

        3) \\kmux-svc\public Mounts: 1 Type: NTFS DevInfo: 0x0 
Attributes: 0x2f
PathComponentMax: 255 Status: 0x1 type: 0

        4) \\kmux-svc\kmux.admin Mounts: 1 Type: NTFS DevInfo: 0x0 
Attributes: 0x2f
PathComponentMax: 255 Status: 0x1 type: 0

        MIDs:

kmux.admin at rich00018061EBDD:~$ uname -a
Linux rich00018061EBDD 2.6.27.9-1-kmux-client #1 SMP Wed Feb 25 
13:10:43 CET 2009 i686 GNU/Linux
kmux.admin at rich00018061EBDD:~$                                                        



-- 
Wilhelm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t_byterangelocking.c
Type: text/x-csrc
Size: 1009 bytes
Desc: not available
Url : http://lists.samba.org/archive/linux-cifs-client/attachments/20090406/d784cc4a/t_byterangelocking.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t_openunlinkclose.c
Type: text/x-csrc
Size: 1879 bytes
Desc: not available
Url : http://lists.samba.org/archive/linux-cifs-client/attachments/20090406/d784cc4a/t_openunlinkclose.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t_rename.c
Type: text/x-csrc
Size: 862 bytes
Desc: not available
Url : http://lists.samba.org/archive/linux-cifs-client/attachments/20090406/d784cc4a/t_rename.bin


More information about the linux-cifs-client mailing list