Trouble mounting NAS to Libreelec

524 views
Skip to first unread message

Alex Gilbert

unread,
Feb 19, 2018, 9:35:59 AM2/19/18
to Alt-F

Hi,

I have a DNS 320L running ALT-F 1.0.

My wish is to record live TV to my NAS from a RPI2 running Kodi via TVHeadend.

I have tried to mount the share from the Libreelec command line but with no joy, It appears to mount when I run a mount script but when I run the command "systemctl status storage-recordings.mount" I get this output:


● storage-recordings.mount - test nfs mount script
   Loaded: loaded (/storage/.config/system.d/storage-recordings.mount; enabled;
vendor preset: disabled)
   Active: failed (Result: exit-code) since Thu 2017-11-16 09:13:14 GMT; 3 month
● storage-recordings.mount - test nfs mount script
   Loaded: loaded (/storage/.config/system.d/storage-recordings.mount; enabled;
vendor preset: disabled)
● storage-recordings.mount - test nfs mount script
   Loaded: loaded (/storage/.config/system.d/storage-recordings.mount; enabled;
vendor preset: disabled)
   Active: failed (Result: exit-code) since Thu 2017-11-16 09:13:14 GMT; 3 month
s 3 days ago
    Where: /storage/recordings
     What: //192.168.1.92/mnt/md1/Users/AlexGilbert/Media/Videos
  Process: 574 ExecMount=/usr/bin/mount //192.168.1.92/mnt/md1/Users/AlexGilbert
/Media/Videos /storage/recordings -t nfs -o rw,vers=1.0 (code=exited, status=255
)

Warning: Journal has been rotated since unit was started. Log output is incomple
te or unavailable.

I do not know what this means and neither does google! I can only presume that I need to configure an NFS share via the ALT-F Gui, I know where to do that, but not how.

Please help a very frustrated noob

João Cardoso

unread,
Feb 19, 2018, 2:21:16 PM2/19/18
to Alt-F


On Monday, 19 February 2018 14:35:59 UTC, Alex Gilbert wrote:

Hi,

I have a DNS 320L running ALT-F 1.0.

My wish is to record live TV to my NAS from a RPI2 running Kodi via TVHeadend.

I have tried to mount the share from the Libreelec command line but with no joy, It appears to mount when I run a mount script but when I run the command "systemctl status storage-recordings.mount" I get this output:


● storage-recordings.mount - test nfs mount script
   Loaded: loaded (/storage/.config/system.d/storage-recordings.mount; enabled;
vendor preset: disabled)
   Active: failed (Result: exit-code) since Thu 2017-11-16 09:13:14 GMT; 3 month
● storage-recordings.mount - test nfs mount script
   Loaded: loaded (/storage/.config/system.d/storage-recordings.mount; enabled;
vendor preset: disabled)
● storage-recordings.mount - test nfs mount script
   Loaded: loaded (/storage/.config/system.d/storage-recordings.mount; enabled;
vendor preset: disabled)
   Active: failed (Result: exit-code) since Thu 2017-11-16 09:13:14 GMT; 3 month
s 3 days ago
    Where: /storage/recordings
     What: //192.168.1.92/mnt/md1/Users/AlexGilbert/Media/Videos
  Process: 574 ExecMount=/usr/bin/mount //192.168.1.92/mnt/md1/Users/AlexGilbert
/Media/Videos /storage/recordings -t nfs -o rw,vers=1.0 (code=exited, status=255
)

vers=1.0? If that is the nfs version specified to the nfs mount command then is wrong, Alt-F supports version 2 and 3 (not 4)
Other then that, I'm afraid that I can't help.


Warning: Journal has been rotated since unit was started. Log output is incomple
te or unavailable.

I do not know what this means and neither does google! I can only presume that I need to configure an NFS share via the ALT-F Gui, I know where to do that, but not how.

If you start the NFS service it creates by default NFS shares comprising all filesystems.

Alex Gilbert

unread,
Feb 20, 2018, 10:01:33 AM2/20/18
to Alt-F
Thanks Joao,

I wasn't convinced it was an issue with my nas, I'll keep trying!


On Monday, 19 February 2018 14:35:59 UTC, Alex Gilbert wrote:

João Cardoso

unread,
Feb 20, 2018, 3:00:02 PM2/20/18
to Alt-F


On Tuesday, 20 February 2018 15:01:33 UTC, Alex Gilbert wrote:
Thanks Joao,

I wasn't convinced it was an issue with my nas, I'll keep trying!

As you are using the command line on the Libreelec, you can try mounting it directly from the nas

 /usr/bin/mount -t nfs -o rw //192.168.1.92/mnt/md1/Users/AlexGilbert/Media/Videos /storage/recordings 

Alex Gilbert

unread,
Mar 4, 2018, 2:52:08 PM3/4/18
to Alt-F
Hello again, I tried that, here is the output:

mount: mounting //192.168.1.92/mnt/md1/Users/AlexGilbert/Media/Videos on /storage/recordings failed: Invalid argument

Rolf Pedersen

unread,
Mar 4, 2018, 3:46:46 PM3/4/18
to 'Alex Gilbert' via Alt-F


On 03/04/2018 11:52 AM, 'Alex Gilbert' via Alt-F wrote:
Hello again, I tried that, here is the output:

mount: mounting //192.168.1.92/mnt/md1/Users/AlexGilbert/Media/Videos on /storage/recordings failed: Invalid argument

Here, I am not using the preceding slashes // so I suggest take them out, start with 192....
Rolf

--
You received this message because you are subscribed to the Google Groups "Alt-F" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alt-f+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/alt-f.
For more options, visit https://groups.google.com/d/optout.

Rolf Pedersen

unread,
Mar 4, 2018, 3:51:39 PM3/4/18
to al...@googlegroups.com


On 03/04/2018 11:52 AM, 'Alex Gilbert' via Alt-F wrote:
Hello again, I tried that, here is the output:

mount: mounting //192.168.1.92/mnt/md1/Users/AlexGilbert/Media/Videos on /storage/recordings failed: Invalid argument

Here, I am not using the preceding slashes // so I suggest take them out, start with 192....
Also, the syntax that works for me includes a colon, so start with 192.168.1.92:/mnt/...
is what I would try.
Rolf

--

Alex Gilbert

unread,
Mar 5, 2018, 7:26:19 AM3/5/18
to Alt-F
Hi Rolf,

Thanks for your advice!

"/usr/bin/mount -t nfs -o rw 192.168.1.92:/mnt/md1/Users/AlexGilbert/Media/Videos /storage/recordings" works for me.

Thank you very much.
Reply all
Reply to author
Forward
0 new messages