Thursday, November 1, 2012

cifs / smbfs mount notes

http://www.thatsquality.com/articles/mounting-windows-smb-file-shares-using-cifs

Note:  from above articles writing to present, package install has changed form

apt-get -y install smbfs

to

apt-get -y install cifs-utils

Now, if it worked, you should see your mount right on the desktop. Browse through it, play music from it, watch movies from it (network speed permitting). Here are some common errors:
  • mount error: can not change directory into mount target... - either you didn't create your /media/my_share directory or specified it wrong in your mount command.
  • mount error 13 = Permission denied - your username and password are being rejected. Try some other combinations
  • mount error 6 = No such device or address - the share_name that you specified in your mount command is not being found on the host computer. Browse the network, find that computer, and check to make sure you see the exact share name.

1 comment:

  1. Browse the network, find that computer, and check to make sure you see the exact share name.

    Sometimes, it IS that simple. Had a share of /var/www on a machine, named it web, tried to cifs mount it to //machine/var/www but I had to use //machine/web

    Browsing the network did indeed point me to my error. Thanks !!

    ReplyDelete