| Summary: | Samba returns STATUS_OBJECT_NAME_NOT_FOUND | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Anderson Kaiser <akaiser> |
| Component: | kernel | Assignee: | Jeff Layton <jlayton> |
| Status: | CLOSED NOTABUG | QA Contact: | Red Hat Kernel QE team <kernel-qe> |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | 5.5 | CC: | akaiser, dpal, gdeschner, prc, steved |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-05-16 16:45:58 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Anderson Kaiser
2011-04-15 20:27:41 UTC
1. Removed samba # yum remove samba samba-common Removed: samba.x86_64 0:3.0.33-3.29.el5_6.2 samba-common.x86_64 0:3.0.33-3.29.el5_6.2 Complete! 2. Installed samba3x # yum install samba3x samba3x-common Installed: samba3x.x86_64 0:3.5.4-0.70.el5_6.1 samba3x-common.x86_64 0:3.5.4-0.70.el5_6.1 Dependency Installed: libtalloc.x86_64 0:2.0.1-11.el5 libtdb.x86_64 0:1.2.1-5.el5 samba3x-winbind.x86_64 0:3.5.4-0.70.el5_6.1 3. Mounted the cifs share # cat /etc/fstab | grep -i cifs //LABAD/C$ /mnt/ cifs nodfs,iocharset=utf8,nounix,noserverino,file_mode=0777,dir_mode=0777,user=Administrator,password=MYpassword,noperms 0 0 # mount -a 4. Active debug # echo 7 > /proc/fs/cifs/cifsFYI 5. Writing and Changing file name: # cd /mnt/Share/ # cp /etc/group . # mv group groups.txt # cd / # umount /mnt # dmesg > /tmp/kern2.txt 6. Content from log /tmp/kern2.txt fs/cifs/inode.c: Revalidate: \Share inode 0xffff8100305ac0d0 count 1 dentry: 0xffff81002e5db9c0 d_time 4297005951 jiffies 4297007854 fs/cifs/inode.c: CIFS VFS: leaving cifs_revalidate (xid = 139) rc = 0 fs/cifs/inode.c: CIFS VFS: in cifs_revalidate as Xid: 140 with uid: 0 fs/cifs/inode.c: Revalidate: \Share inode 0xffff8100305ac0d0 count 1 dentry: 0xffff81002e5db9c0 d_time 4297005951 jiffies 4297007854 fs/cifs/inode.c: CIFS VFS: leaving cifs_revalidate (xid = 140) rc = 0 fs/cifs/inode.c: CIFS VFS: in cifs_revalidate as Xid: 141 with uid: 0 fs/cifs/inode.c: Revalidate: \Share inode 0xffff8100305ac0d0 count 1 dentry: 0xffff81002e5db9c0 d_time 4297005951 jiffies 4297017539 fs/cifs/inode.c: Getting info on \Share fs/cifs/transport.c: For smb_command 50 fs/cifs/transport.c: Sending smb: total_len 90 fs/cifs/connect.c: rfc1002 length 0x94 fs/cifs/inode.c: Old time 4297007854 fs/cifs/inode.c: New time 4297017539 fs/cifs/inode.c: cifs_revalidate - inode unchanged fs/cifs/inode.c: CIFS VFS: leaving cifs_revalidate (xid = 141) rc = 0 fs/cifs/dir.c: CIFS VFS: in cifs_lookup as Xid: 142 with uid: 0 fs/cifs/dir.c: parent inode = 0xffff8100305ac0d0 name is: group and dentry = 0xffff81002e7bd588 fs/cifs/dir.c: NULL inode in lookup fs/cifs/dir.c: Full path: \Share\group inode = 0x0000000000000000 fs/cifs/inode.c: Getting info on \Share\group fs/cifs/transport.c: For smb_command 50 fs/cifs/transport.c: Sending smb: total_len 102 fs/cifs/connect.c: rfc1002 length 0x27 fs/cifs/connect.c: invalid transact2 word count Status code returned 0xc0000034 NT_STATUS_OBJECT_NAME_NOT_FOUND fs/cifs/netmisc.c: Mapping smb error code 2 to POSIX err -2 fs/cifs/cifssmb.c: Send error in QPathInfo = -2 fs/cifs/dir.c: CIFS VFS: leaving cifs_lookup (xid = 142) rc = 0 fs/cifs/dir.c: neg dentry 0xffff81002e7bd588 name = group fs/cifs/dir.c: CIFS VFS: in cifs_create as Xid: 143 with uid: 0 fs/cifs/transport.c: For smb_command 162 fs/cifs/transport.c: Sending smb: total_len 114 fs/cifs/connect.c: rfc1002 length 0x6b fs/cifs/inode.c: Getting info on \Share\group fs/cifs/inode.c: Old time 0 Same behavior with samba3x package. Resetting for 5.8. I don't see us getting this fixed in any fashion in time for 5.7. This seriously looks like NOTABUG. You're cranking up cifsFYI and then are concerned that it prints things that look like errors? That's expected when you turn up debugging info (which is what cifsFYI is). I'll assume that you're not seeing these messages FWIW, that error in this situation is expected. To do a lookup, cifs.ko does a QPathInfo call for the file in question. In this case, the VFS wants to look up the target of the copy. It does that and samba returns an error since that file doesn't exist. I see nothing that indicates anything other than expected behavior, so I'm going to close this as NOTABUG. Please reopen if you want to discuss it further. |