Description of problem: When connecting to one of our netapp filer shares using cifs I can mount successfully and transfer data, but can't get the share to unmount. Version-Release number of selected component (if applicable): samba-3.2.3-0.20.fc9.x86_64 How reproducible: Always Steps to Reproduce: 1.mount -t cifs -o user=me //server/share /mnt/share 2.sudo umount /mnt/share Actual results: The mount succeeds. The initial attempt an unmounting appears to hang indefinitely. Killing this with control+C get a prompt back. Trying to do the umount again gets me: $ sudo umount /mnt/share This utility only unmounts cifs filesystems. This utility only unmounts cifs filesystems. [The message really is repeated twice] Desipte umounts claim, mount says: $ mount //server/share on /mnt/share type cifs (rw,mand) Possibly related is that I can't access this share from the network browser in gnome. Going through the browser shows me no shares when I select the server. Trying to use the 'connect to server' option in gnome and using the samba share option gets me the error: Can't display location "smb:////server/share" File doesn't exist. Additional info: This used to work on this machine when F9 first came out. I haven't used it for a while so I can't be sure when it broke.
I found the following in /var/log/messages which are probably much more informative about the underlying cause of this error; Oct 6 14:18:25 bilin1 kernel: Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE Oct 6 14:18:25 bilin1 kernel: CIFS VFS: Send error in SessSetup = -13 Oct 6 14:18:25 bilin1 kernel: CIFS VFS: cifs_mount failed w/return code = -13 Oct 6 14:18:30 bilin1 kernel: Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE Oct 6 14:18:30 bilin1 kernel: CIFS VFS: Send error in SessSetup = -13 Oct 6 14:18:30 bilin1 kernel: CIFS VFS: cifs_mount failed w/return code = -13 Oct 6 14:21:13 bilin1 kernel: CIFS VFS: RFC1001 size 35 bigger than SMB for Mid=5819 Oct 6 14:21:40 bilin1 kernel: CIFS VFS: server not responding Oct 6 14:21:40 bilin1 kernel: CIFS VFS: No response to cmd 116 mid 5819
This seem a cifs.ko kernel module issue, reassigning.
I'm fairly certain this is actually an ontap bug. Someone opened a case for the same problem a while back and I closed it, but I can't seem to find it at the moment. Some versions of OnTap send malformed SMBLogoff replies. The umount will eventually work, but it can take a few minutes before the call times out. Aside from the long timeout on umounts, the bug is fairly harmless. There's not much we can do about this other than to suggest filing a bug with Netapp. Hopefully more recent ontap versions have fixed this. I'm going to go ahead and close this as NOTABUG. Please reopen if you have questions...
Reported to me by krishnoid If you unmount the share twice in the background: $ sudo umount /mnt/share & $ sudo umount /mnt/share & this will unmount the share immediately.