CIFS / SMB Shares
Mounting SMB Shares
About
I have a couple SMB shares setup separately on my network and I mount those shares onto the server so I'd be able to manipulate and access those files without much effort and this is how I do that using /etc/fstab
.
Mounting
Install cifs-utils
to be able to support SMB shares, the above package needs to be installed on the ubuntu machine.
Mkdir
Make a directory that you'd like to mount your files into.
Edit /etc/fstab
Here's the entry that I add to my /etc/fstab
Mount all
This command mounts all drives in the fstab file.
Verify
Running tree
on the mounted directory will yield all files on the SMB share. You can use this to verify if the files are there.
Last updated