Ubuntu mount smb drive

HOWTO persistent
HOWTO manual

sudo apt-get install smbfs

Example:

create .smbcredentials file with:
username=
password=
domain=

chmod 600 .smbcredentials

In fstab create and entry like:

#rochester nas
//roc-nas.foo.com/pathname /media/roc-nas cifs credentials=/home/username/.smbcredentials,dirmode=0777,file_mode=0777,iocharset=utf8,codepage=cp850,unicode 0 0


To mount:
sudo mount /media/mount-name
or
sudo mount -a

To unmount:
sudo umount /media/mount-name
or
sudo umount -a

Comments

Popular posts from this blog

Sites, Newsletters, and Blogs

Oracle JDBC ReadTimeout QueryTimeout

Locks held on Oracle for hours after sessions abnormally terminated by node failure