I'm trying to mount a windows share (from windows server) on a Debian Squeeze (6.0.4), using Samba (2:3.5.6~dfsg-3squeeze8), but I get the following error message:
It doesn't make any sense, as I'm happily accessing the exact same share from another Debian Squeeze system - and an identical /etc/fstab entry for it.mount error(11): Resource temporarily unavailable
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
I'm suspecting another DFS-fuckup.
Update: After digging myself through a maze of inconsistent "click-each-folder-to-see-the-access-rights" GUI-fun, I've made sure that the access rights were correct..
Still the same error.
Then I googled the error message and found a page on "of-networks.co.uk" where it said:
...and "yes": I did have another share mounted on the same remote machine and the same user.Do you have another cifs share mounted from the same remote machine (and possibly as the same user)
So I did an "ls" on the mounted share, and got an ugly listing, like this:
The instructions on the of-networks page didn't work for me, but it was interesting to see that the other share mounted, and got the first listing correct - and subsequent "ls" brought the broken listing... WTF?drwxrwxr-x 1 root root 0 14. Dez 11:23 .
drwxr-xr-x 6 root root 4096 21. Mai 12:50 ..
d????????? ? ? ? ? ? folder_1
d????????? ? ? ? ? ? folder_2
"dmesg" revealed that there's something not working with forwarding from the main host "storage" to "storage2" (thanks DFS!):
[1047189.066708] CIFS VFS: dns_resolve_server_name_to_ip: unable to resolve: storage2
[1047189.066972] CIFS VFS: cifs_compose_mount_options: Failed to resolve server part of \\storage2\K to IP: -11