I found bug 4736 which says: this is a duplicate of bug #4784, which has been fixed in 3.0.27a. I have checked out the current ctdb version of samba, Version 3.0.26pre1-SVN-build-UNKNOWN Is there a workaround for me or do I appply the source code fix as documented in the referred bug, 4784? /usr/samba-ctdb/bin/umount.cifs //127.0.0.1/share02 This utility only unmounts cifs filesystems.
Added bug dependency: 4784
The error line from umount is misleading: This utility only unmounts cifs filesystems. I added strerror debug logic to that error branch and found out if failed because I provided the share name, not the actual mount point, to umount, since the real error is: No such file or directory I recommend changing the code accordingly in umount.cifs.c. On a side note, please explain to me why I provide the share name when calling umount after a mount -t cifs but provide the actual mount point to umount if using mount.cifs
Created attachment 3912 [details] cannonicalize argument provided to umount.cifs I attached a patch under bug 4370, which should fix this problem also. Attaching the attachment here as well.
Patch went into master branch in February. Closing case.