Skip to content

Mount Volumes

Since I have a NAS in my network I wanted to cover a small page about mounting a network share. Most of the information can be found on the mount man-page.

Manual

I have a NAS in my network that is running in RAID 1, so perfect for backup like this manual.
To do so I use rsync, but before that you need a folder to be mounted to your NAS.
sudo mount -t cifs -o user=usr,vers=1.0 "//<IP-ADDRESS>/SHARE" /home/pi/myfolder

Auto Mount

Manual is all fun and stuff, but automatic is always better which can be done with etc/fstab.

sudo nano /etc/fstab
//<IP-ADDRESS>/SHARE /home/pi/myfolder cifs username=usr,password=pwd,vers=1.0 0 0

vers=1.0

Notice I used ,vers=1.0. Normally you can leave this out, but I’m using an older NAS that is not supporting the newer default.
More information can be found on this Microsoft blog.