More > JRiver Media Center 27 for Linux

Quick Start Guide for Installing JRiver Mediacenter 27 on an rPi4 2-4-8GB

<< < (5/14) > >>

HaWi:
oh boy, thank you so much.

Wheaten:
shouldn't this "//192.168.7.224/volume1/music" be "192.168.7.224:/volume1/music" when using NFS?
Or stick to mwillems example and replace NFS by cifs

HaWi:

--- Quote from: Wheaten on February 14, 2021, 03:32:29 pm ---shouldn't this "//192.168.7.224/volume1/music" be "192.168.7.224:/volume1/music" when using NFS?
Or stick to mwillems example and replace NFS by cifs

--- End quote ---
Thanks Wheaten, I went back to my original

--- Code: ---192.168.7.224:/volume1/music /mnt/music nfs auto 0 0
--- End code ---
but

--- Code: ---//192.168.7.224:/volume1/music /mnt/music nfs noauto,x-systemd.automount,x-systemd.idle-timeout=5min,_netdev,uid=1000,gid=1000  0  0
--- End code ---
works too

erviv:
mwillems ; I tried using your suggestion for the /etc/fstab file and unfortunatley it locks up my system on boot.  So I have had to go into emergency mode to allow me to comment out the line in /etc/fstab/
I don't see the error in the line however.
This is the line that works to manually mount my NAS.
sudo mount -t cifs -o rw,vers=1.0,credentials=/home/pi/.credentials //192.168.1.1/"all folders"/"MUSIC - router" /mnt/music
This is the line in /etc/fstab/, now commented out,  that is causing the issues. (sorry I don't know how you post code lines in this forum).
I tried it with and without uid and gid to no avail. Adding nofail also didn’t prevent the lockout. I would have thought the problem would only occur when I tried to access the mount as it has noauto.


#//192.168.1.1/"all folders"/"MUSIC - router" /mnt/music cifs noauto,x-systemd.automount,x-systemd.idle-timeout=5min,_netdev,credentials=/home/pi/.credentials,uid=1000,gid=1000,vers=1.0  0  0


Wheaten:
I don't think you're allowed to use quotes and spaces in a fstab line.
You should write it like (not tested):

--- Code: ---//192.168.1.1/all\040folders/MUSIC\040-\040router /mnt/music cifs noauto,x-systemd.automount,x-systemd.idle-timeout=5min,_netdev,credentials=/home/pi/.credentials,uid=1000,gid=1000,vers=1.0  0  0
--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version