Christoph Jahn

Site Menu

 

Links

Recent Comments

Social Links

Site search

Recent Posts

Categories

Tags

Architecture BibTeX Book BPM BPM and SOA C-64 CentOS CIFS Commodore Communication Directory EA ESB Fedora Git gitosis Java LaTeX LDAP Lifecycle Management Linux Management NAS New York OpenSolaris Palm Pilot Password Pattern Performance Perl Pictures Podcast RedHat Review RHEL Samba SMB SOA Software Subversion SVN Travel VCS Washington Web Service

Mount Windows Share with Fedora 12

The file system type for the mount command has been changed from smbfs to cifs. So using “-t smbfs” will not work any more. Instead you need to enter something like this:

mount -t cifs -o username=user[,uid=500,gid=500] //machine/share[/path] /mountpoint

There seems to be a documentation bug in the man pages, because they still mention smbfs.

Comments

Comment from Paul Dasalla posting from United States United States
Time January 26, 2010 at 4:06 am

Thank you for posting this info, I have just upgrade to FC12 and it has been almost 4 days looking for answer why “mount -t cifs -o username=user,passwrod=password //server/shared /mountpoint stop working. Replacing with “uid” and gid” solved my problem. I had to revert back back to fc11 since I am using amanda for backup and mount command is incorrectly printed. I know this was a free OS but something like this simple should not be over look.
Again I cant say thank you enough for taking your time looking this over.

Comment from John Reeve posting from United States United States
Time February 5, 2010 at 3:32 pm

I have tried mounting a shared in fedora using the above example, of course with my own preference and I got this error message “CIFS VFS: cifs_mount failed w/return code = -22″.

Any ideas?

Comment from Christoph Jahn posting from Germany Germany
Time February 5, 2010 at 5:02 pm

Have you checked the respective log entries on the CIFS server? They should give you some idea about what’s going on.

Write a comment