This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
procedures:pi:mountnas [2022/03/18 11:47] tim created |
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: | ||
| \\ | \\ | ||
| - | sudo mkdir -m777 /mnt/incremental\\ | + | Put synology ' |
| - | Then edit the /etc/fstab file, which tells your system where to pick up filesystems:\\ | + | sudo vi / |
| - | \\ | + | 192.168.254.100 diskstation |
| - | sudo nano / | + | Create the directory for the mountpoint\\ |
| - | Add this line to the end of your /etc/fstab, substituting your share name:\\ | + | |
| - | \\ | + | sudo touch / |
| - | diskstation:/ | + | |
| + | Then edit the /etc/fstab file (which tells your system where to pick up filesystems)\\ | ||
| + | with the following | ||
| + | sudo nano /etc/fstab | ||
| + | diskstation:/ | ||
| 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/\\ | + | |
| 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.\\ | ||
| \\ | \\ | ||
| - | If you're wanting to access these shares from a process starting at boot, please note that the shares won't be available until the network is available.\\ | + | If you're wanting to access these shares from a process starting at boot, please note that the shares won't be available until the network is available.\\ \\ |
| + | [[procedures: | ||