bugged.be

"Think outside the [B0X]"
Icon

Mount smb to a local directory

To mount a samba network share to a local directory is useful for example, most linux backup software don’t support smb directly. I use this in combination with areca.

First install:

sudo apt-get install smbfs

Create directories to mount to:

sudo mkdir /media/blahblah

Then mount smb:

sudo mount -t smbfs //xxx.xxx.xxx.xxx/smbshare /media/blahblah -o username=guest,password=

replace xxx.xxx.xxx.xxx with ip or name of server.

To unmount:

sudo umount /media/blahblah

Category: Linux

Tagged: