Consider the example of mount external network storage (NAS) in my filesystem as if it were a hard drive.
I have network file storage on a separate disk. I wanted to mount the drive in a separate folder in your home directory.
My actions are as follows.
1. First I find out the IP address for the network name wdmycloudex2
net lookup wdmycloudex2
2. Then open fstab and write automount at boot.
sudo gedit /etc/fstab
sudo pluma /etc/fstab
//192.168.180.83/public /home/mintguide/MyCloud cifs username=USERNAME,password=PASSWORD,noperm,dir_mode=0777,file_mode=0777,iocharset=utf8,_netdev 0 0
,where
//192.168.180.83/public – the remote folder
/home/mintguide/MyCloud – Local folder (mount point) The path must be without spaces
username=USERNAME,password=PASSWORD – Enter if the access to network storage limited

3. That’s it. After reboot you will find in a local folder to a network folder. Also I recommend to add a Bookmark for easy navigation.
Leave a Reply
Andrew,
hi, try this
another Andrew,
Hi, i can not help you due to i already dont have any network devices and cant check
Assuming your NAS is sharing it's folders via SMB/Cifs, then adding one of the following lines to your /etc/fstab file should work for you. Change the IP and folder names to your own custom values. I've highlighted the values in red that you need to customize. This line connects to a ‘public’ folder that doesn't require a user/pass. But you still need to enter ‘anonymous’ as the username and ‘none’ as the password, otherwise you’ll get a password prompt at bootup.//192.168.1.5/Movies /home/kris/NAS/Movies cifs username=anonymous,password=none,noperm,dir_mode=0777,file_mode=0777,iocharset=utf8,_netdev 0 0 This line connects to a share that requires a user/pass.//192.168.1.5/Business /home/kris/NAS/Business cifs username=kris,password=krispass,noperm,dir_mode=0777,file_mode=0777,iocharset=utf8,_netdev 0… Read more »
my network device has a lot of separate shared folders:
//192.168.1.6/folder1
//192.168.1.6/folder2
//192.168.1.6/folderX
i know i can mount each folder as a drive, but what would be ideal for me is if i could mount the entire NAS as one drive. for certain tools it's very handy if you can search through your entire NAS (finding empty folders, redundant files etc).
would this work if i mount //192.168.1.6/ to say /home/fool/NAS
?
i attempted it once or twice and it didn't work – but as a linuxfool i'm not sure if i simply messed up or if it's not possible.
I've a problem. I see the directory on nautilus, but when I click on it, an error message appears:
mount: only root can mount //192.168.1.130/download/ on /media/NAS/NAS-Download
Any suggestion?