Addition: In another occurrence of the problem we are seeing a different error in the logs: 17345015 2015-01-02T10:55:58.828146-08:00 dcplvrs005 kernel: [8072345.824251] /home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/cifss mb.c: In QFSAttributeInfo 17345016 2015-01-02T10:55:58.828147-08:00 dcplvrs005 kernel: [8072345.824253] /home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/trans port.c: For smb_command 50 17345017 2015-01-02T10:55:58.828148-08:00 dcplvrs005 kernel: [8072345.824255] /home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/trans port.c: Sending smb: smb_len=68 17345018 2015-01-02T10:55:58.828149-08:00 dcplvrs005 kernel: [8072345.824342] /home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/conne ct.c: RFC1002 header 0x4c 17345019 2015-01-02T10:55:58.828151-08:00 dcplvrs005 kernel: [8072345.824346] /home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/misc. c: checkSMB Length: 0x50, smb_buf_length: 0x4c 17345020 2015-01-02T10:55:58.828152-08:00 dcplvrs005 kernel: [8072345.824369] /home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/trans port.c: cifs_sync_mid_result: cmd=50 mid=60892 state=4 17345021 2015-01-02T10:55:58.828153-08:00 dcplvrs005 kernel: [8072345.824376] /home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/conne ct.c: build_unc_path_to_root: full_path=\\172.16.107.135\ImageRoot5 17345022 2015-01-02T10:55:58.828154-08:00 dcplvrs005 kernel: [8072345.824380] /home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/cifss mb.c: In GetDFSRefer the path \172.16.107.135\ImageRoot5 17345023 2015-01-02T10:55:58.828156-08:00 dcplvrs005 kernel: [8072345.824385] /home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/trans port.c: For smb_command 50 17345024 2015-01-02T10:55:58.828157-08:00 dcplvrs005 kernel: [8072345.824388] /home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/trans port.c: Sending smb: smb_len=124 17345025 2015-01-02T10:55:58.828158-08:00 dcplvrs005 kernel: [8072345.824477] /home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/conne ct.c: RFC1002 header 0x23 17345026 2015-01-02T10:55:58.828159-08:00 dcplvrs005 kernel: [8072345.824485] /home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/misc. c: checkSMB Length: 0x27, smb_buf_length: 0x23 17345027 2015-01-02T10:55:58.828159-08:00 dcplvrs005 kernel: [8072345.824488] /home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/smb1o ps.c: invalid transact2 word count 17345028 2015-01-02T10:55:58.828160-08:00 dcplvrs005 kernel: [8072345.824497] /home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/trans port.c: cifs_sync_mid_result: cmd=50 mid=60893 state=4 17345029 2015-01-02T10:55:58.828161-08:00 dcplvrs005 kernel: [8072345.824506] Status code returned 0xc000019c NT_STATUS_FS_DRIVER_REQUIRED 17345030 2015-01-02T10:55:58.828174-08:00 dcplvrs005 kernel: [8072345.824512] /home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/netmi sc.c: Mapping smb error code 0xc000019c to POSIX err -5 17345031 2015-01-02T10:55:58.828175-08:00 dcplvrs005 kernel: [8072345.824516] /home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/cifss mb.c: Send error in GetDFSRefer = -5 17345032 2015-01-02T10:55:58.828176-08:00 dcplvrs005 kernel: [8072345.824523] /home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/trans port.c: For smb_command 50 17345033 2015-01-02T10:55:58.828177-08:00 dcplvrs005 kernel: [8072345.824525] /home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/trans port.c: Sending smb: smb_len=74 17345034 2015-01-02T10:55:58.828178-08:00 dcplvrs005 kernel: [8072345.824680] /home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/conne ct.c: RFC1002 header 0x9c 17345035 2015-01-02T10:55:58.828180-08:00 dcplvrs005 kernel: [8072345.824691] /home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/misc. c: checkSMB Length: 0xa0, smb_buf_length: 0x9c Malte On 02/01/15 15:39, "Malte Westerhoff" <MWesterhoff@xxxxxxxxxxxxxxxxx> wrote: >Hi, >I hope that this is the right list to post this to. Apologies if not – >but >any hints would be appreciated. > >We are seeing intermittent issues accessing shares that are exported by a >Windows 2008R2 server and mounted on a Linux client OpenSuse 13.1 (kernel >3.11.10-21-desktop, samba-client-4.1.11-3.26.1.x86_64). >The application level symptom is that files can neither be read nor >written on a particular share. We have set cifsFYI=3 and we see a >NT_STATUS_OBJECT_NAME_NOT_FOUND >in /var/log/messages when it happens (excerpt below). >Normally the issue self-repairs within one minute. >We have six linux clients accessing the same windows server – and when >one >of them has the issue, the others do not – so it looks like a client-side >issue. >We are seeing this issue in two separate data centers (with identical >server configuration), so it is not likely to be hardware or network. >The server exports approx 20 shares – and typically only one of them is >affected at a time (but not always the same one). >The network connection is a local 10GBit Ethernet connection. >Across six clients, accessing ~20 shares (each), the issue occurs >approximately 2-5 times per 24 hours (total across all servers and >shares). >The shares are mounted using autofs, but we have seen the same issue with >static mounts. > >Here is the output of mount for one of them: >//10.168.172.51/ImageRootFolder1 on >/Storage/WINSERVER001/ImageRootFolder1 >type cifs >(rw,relatime,vers=1.0,cache=strict,username=xxx_username,domain=10.168.172 >. >51,uid=50000,forceuid,gid=100,forcegid,addr=10.168.172.51,file_mode=0755,d >i >r_mode=0770,nounix,serverino,rsize=61440,wsize=65536,actimeo=1) > >We have added test code where the clients attempt to write and then read >a >test file onto each of the shares once per minute. If that fails the >clients retry 20 times with 100ms pause. We found that if this fails, > it continues to fail all 20 times. > >Below is /var/log/messages for two such failed attempts (file >WRITE_0422.TEST) when the problem occurred: > > >2015-01-02T03:20:09.125669-08:00 linclnt003 kernel: [2649336.134098] >/home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/dir. >c >: name: \WRITE_0422.TEST >2015-01-02T03:20:09.125671-08:00 linclnt003 kernel: [2649336.134107] >/home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/tran >s >port.c: For smb_command > 6 >2015-01-02T03:20:09.125672-08:00 linclnt003 kernel: [2649336.134110] >/home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/tran >s >port.c: Sending > smb: smb_len=72 >2015-01-02T03:20:09.317001-08:00 linclnt003 kernel: [2649336.325820] >/home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/conn >e >ct.c: RFC1002 > header 0x23 >2015-01-02T03:20:09.317020-08:00 linclnt003 kernel: [2649336.325830] >/home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/misc >. >c: checkSMB Length: > 0x27, smb_buf_length: 0x23 >2015-01-02T03:20:09.317024-08:00 linclnt003 kernel: [2649336.325880] >/home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/tran >s >port.c: cifs_sync_mid_result: > cmd=6 mid=50171 state=4 >2015-01-02T03:20:09.317025-08:00 linclnt003 kernel: [2649336.325889] >Status code returned 0xc0000034 NT_STATUS_OBJECT_NAME_NOT_FOUND >2015-01-02T03:20:09.317026-08:00 linclnt003 kernel: [2649336.325895] >/home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/netm >i >sc.c: Mapping > smb error code 0xc0000034 to POSIX err -2 >2015-01-02T03:20:09.317028-08:00 linclnt003 kernel: [2649336.325900] >/home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/cifs >s >mb.c: Error in > RMFile = -2 >2015-01-02T03:20:09.317029-08:00 linclnt003 kernel: [2649336.325905] >/home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/inod >e >.c: CIFS VFS: > leaving cifs_unlink (xid = 1254639) rc = -2 >2015-01-02T03:20:09.417642-08:00 linclnt003 kernel: [2649336.426227] >/home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/dir. >c >: CIFS VFS: in > cifs_lookup as Xid: 1254640 with uid: 50000 >2015-01-02T03:20:09.417660-08:00 linclnt003 kernel: [2649336.426234] >/home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/dir. >c >: parent inode > = 0xffff881fdf56fb80 name is: WRITE_0422.TEST and dentry = >0xffff881faa406600 >2015-01-02T03:20:09.417662-08:00 linclnt003 kernel: [2649336.426239] >/home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/dir. >c >: name: \WRITE_0422.TEST >2015-01-02T03:20:09.417664-08:00 linclnt003 kernel: [2649336.426242] >/home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/dir. >c >: NULL inode > in lookup >2015-01-02T03:20:09.417665-08:00 linclnt003 kernel: [2649336.426244] >/home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/dir. >c >: Full path: > \WRITE_0422.TEST inode = 0x (null) >2015-01-02T03:20:09.417666-08:00 linclnt003 kernel: [2649336.426247] >/home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/inod >e >.c: Getting info > on \WRITE_0422.TEST >2015-01-02T03:20:09.417668-08:00 linclnt003 kernel: [2649336.426254] >/home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/tran >s >port.c: For smb_command > 50 >2015-01-02T03:20:09.417669-08:00 linclnt003 kernel: [2649336.426257] >/home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/tran >s >port.c: Sending > smb: smb_len=106 >2015-01-02T03:20:09.417670-08:00 linclnt003 kernel: [2649336.426683] >/home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/conn >e >ct.c: RFC1002 > header 0x23 >2015-01-02T03:20:09.417678-08:00 linclnt003 kernel: [2649336.426705] >/home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/misc >. >c: checkSMB Length: > 0x27, smb_buf_length: 0x23 >2015-01-02T03:20:09.417680-08:00 linclnt003 kernel: [2649336.426709] >/home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/smb1 >o >ps.c: invalid > transact2 word count >2015-01-02T03:20:09.418654-08:00 linclnt003 kernel: [2649336.426760] >/home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/tran >s >port.c: cifs_sync_mid_result: > cmd=50 mid=50172 state=4 >2015-01-02T03:20:09.418673-08:00 linclnt003 kernel: [2649336.426768] >Status code returned 0xc0000034 NT_STATUS_OBJECT_NAME_NOT_FOUND >2015-01-02T03:20:09.418675-08:00 linclnt003 kernel: [2649336.426773] >/home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/netm >i >sc.c: Mapping > smb error code 0xc0000034 to POSIX err -2 >2015-01-02T03:20:09.418677-08:00 linclnt003 kernel: [2649336.426778] >/home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/cifs >s >mb.c: Send error > in QPathInfo = -2 >2015-01-02T03:20:09.418678-08:00 linclnt003 kernel: [2649336.426785] >/home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/dir. >c >: CIFS VFS: leaving > cifs_lookup (xid = 1254640) rc = 0 >2015-01-02T03:20:09.518641-08:00 linclnt003 kernel: [2649336.527067] >/home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/dir. >c >: CIFS VFS: in > cifs_lookup as Xid: 1254641 with uid: 50000 >2015-01-02T03:20:09.518658-08:00 linclnt003 kernel: [2649336.527073] >/home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/dir. >c >: parent inode > = 0xffff881fdf56fb80 name is: WRITE_0422.TEST and dentry = >0xffff881ee12f5c00 >2015-01-02T03:20:09.518660-08:00 linclnt003 kernel: [2649336.527078] >/home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/dir. >c >: name: \WRITE_0422.TEST >2015-01-02T03:20:09.518662-08:00 linclnt003 kernel: [2649336.527080] >/home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/dir. >c >: NULL inode > in lookup >2015-01-02T03:20:09.518664-08:00 linclnt003 kernel: [2649336.527083] >/home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/dir. >c >: Full path: > \WRITE_0422.TEST inode = 0x (null) >2015-01-02T03:20:09.518665-08:00 linclnt003 kernel: [2649336.527085] >/home/abuild/rpmbuild/BUILD/kernel-desktop-3.11.10/linux-3.11/fs/cifs/inod >e >.c: Getting info > on \WRITE_0422.TEST > > >The respective section of cifs/DebugData is this: > >Display Internal CIFS Data Structures for Debugging >--------------------------------------------------- >CIFS Version 2.01 >Features: dfs fscache lanman posix spnego xattr acl >Active VFS Requests: 0 >Servers: >1) entry for 172.16.107.135 not fully displayed > TCP status: 1 > Local Users To Server: 1 SecMode: 0x3 Req On Wire: 0 In Send: 0 >In >MaxReq Wait: 0 > Shares: > 1) \\172.16.107.135\FileInterface Mounts: 1 Type: NTFS DevInfo: >0x20 Attributes: 0xc500ef > PathComponentMax: 255 Status: 0x1 type: DISK > >… > 11) \\172.16.107.135\ImageRoot1 Mounts: 1 Type: NTFS DevInfo: >0x20 >Attributes: 0xc500ff > PathComponentMax: 255 Status: 0x1 type: DISK > >… >(share 11 is the the one having the error this time). > > >Thanks >Malte > > ��.n��������+%������w��{.n�����{�����ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f