User Tools

Site Tools


procedures:pi:mountnas

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
procedures:pi:mountnas [2022/03/18 12:14]
tim
procedures:pi:mountnas [2022/05/27 17:19] (current)
tim
Line 1: Line 1:
 === Mount Synology NAS from the Pi === === Mount Synology NAS from the Pi ===
 [[procedures:pi|Back to Raspberry Pi index]]\\ [[procedures:pi|Back to Raspberry Pi index]]\\
-  sudo mkdir -m777 /mnt/incremental +\\ 
-Then edit the /etc/fstab filewhich tells your system where to pick up filesystems:\\+Put synology 'diskstation' in /etc/hosts\\ 
 +  sudo vi /etc/hosts 
 +    192.168.254.100 diskstation 
 +Create the directory for the mountpoint\\ 
 +  sudo mkdir -m777 /mnt/nas 
 +  sudo touch /mnt/nas/This_Mount_Pt_is_NOT_MOUNTED 
 + 
 +Then edit the /etc/fstab file (which tells your system where to pick up filesystems)\\ 
 +with the following line to the end of your /etc/fstab (substituting your share name):\\
   sudo nano /etc/fstab   sudo nano /etc/fstab
-Add this line to the end of your /etc/fstab, substituting your share name:\\ +    diskstation:/volume1/share /mnt/nas nfs defaults 0 0
-  diskstation:/volume1/incremental /mnt/incremental nfs defaults,_netdev,nfsvers=3 0 0+
 Save and exit \\ Save and exit \\
 You can now mount this filesystem, again substituting your share name:\\ You can now mount this filesystem, again substituting your share name:\\
-  sudo mount /mnt/incremental/+  sudo mount /mnt/nas/
 This share will automount on boot forever after. If you want to make it manual mount add noauto, after defaults, in the fstab line.\\ This share will automount on boot forever after. If you want to make it manual mount add noauto, after defaults, in the fstab line.\\
 \\ \\
procedures/pi/mountnas.1647623658.txt.gz · Last modified: 2022/03/18 12:14 by tim