Mounting Linkstation NFS share
Tue 26 November 2024
I have a buffalo linkstation network drive on my home system. Fairly simple to setup with their tools for Windows to share it. The drive is shared across my windows desktop/laptop and Grace's computer/laptop.
We mostly use the the share for system (windows) backup and a central repository for our photos (lavafalls/family_photo_album) and music (Music). Backups of windows folders are put in mount for share
On the network, the Buffalo is 192.168.10.66. Although this is DNS via the router it doesn't appear to change. Additionally, most of the computers on the system seem to be mostly static.
hammer is my development linux box and is 192.168.10.68 moist is the tv streaming computer and is 192.168.10.69
I added lavafalls in the /etc/hosts for the buffalo server. On the Buffalo device I have 4 share points: share, Music, Photos and family_photo_albums
On the development box (hammer) I created two mount points /srv/share and under the digikam default folder of /srv/webfolder
** The /srv/webfolder was a bit of mistake: tech debt rename the digikam **
Back to the cifs mounting. The command line
LSIP = IP address of your Linkstation
SHARE = Share name (case sensitive)
LSUSER = Linkstation share username.
LSPASS = Linkstation share password.
USER = Your Linux account username.
sudo mount -t cifs //LSIP/share /srv/share -o username=LSUSER,password=LSPASS,uid=USER,file_mode=0644,vers=1.0
and for fstab:
//LSIP/share /srv/share cifs username=LSUSER,password=LSPASS,uid=USER,file_mode=0644,vers=1.0
This will work as long as lavafalls in the hosts file correctly points to the LSIP of the Buffalo Linkstation.
Finally to reload the edits to the fstab use systemctl daemon-reload.