Description of problem: Unable to mount to samba server using mount -t cifs //192.168.0.111/thedir /mnt/dir1 -o user=myname. I am able to access the shared drive from xwindows-gnome "connect to server" without any problem as well as accessing the server from other linux & windows machines. It is important to be able to mount the drive to access via /mnt/dir1 I have turned off the firewall and set Selinux to permissive mode Version-Release number of selected component (if applicable): Cifs version 1.40 Samba server V2.2.1 How reproducible: Every time Steps to Reproduce: 1.# mount -t cifs //192.168.0.111/dir /mnt/dir1 -o user=myname Password: 2. 3. Actual results: mount error 6 = No such device or address Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) /var/log/messages includes: kernel: CIFS VFS: cifs_mount failed w/return code = -6 Expected results: no response and the ability to access the files as I do with FC3 under /mnt/dir1 Additional info: I have searched online and the only mount error 6 messages relate to people having incorrectly specified the directory
Same results with FC6 using mount -t cifs or mount.cifs
Is the server configured for share level security? Is the share name on the server capitalized (DIR rather than dir) (note that mount.cifs retries with upper case share name unless you have an old mount.cifs)? You might try turning on debugging to isolate this (mount is not able to return all of the possible error conditions): 1) turn on debugging ("echo 7 > /proc/fs/cifs/cifsFYI") 2) clear the message log ("dmesg -c") 3) try the mount 4) turn off debugging ("echo 0 > /proc/fs/cifs/cifsFYI") 5) save the log ("dmesg > savefile") 6) change any sensitive information (your servername) from your savefile if desired 7) attach the savefile (or alternatively send it to me and the redhat contact)
No answer to request in a year, as we release several new versions of the cifs client I'll consider this fixed, reopen if not.