Forum
I am a noob, please help me! - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Community (/forum-5.html)
+--- Forum: Uncategorized (/forum-59.html)
+--- Thread: I am a noob, please help me! (/thread-3385.html)

Pages: 1 2


RE: I am a noob, please help me! - Rickt1962 - 30th Nov, 2016 12:54 AM

xbian@xbian ~ $ sudo mount 10.0.0.60:/nfs/XBMC /mnt
mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
mount.nfs: an incorrect mount option was specified


RE: I am a noob, please help me! - Nachteule - 30th Nov, 2016 01:47 AM

Ok, now we come closer to your problem Smile

You have definitely NFS3 and portmap is not running

Please change parameter in file /etc/default/nfs-common as follows:

Code:
# Do you want to start the statd daemon? It is not needed for NFSv4.
NEED_STATD=yes

reboot RPi and try again to mount your share


RE: I am a noob, please help me! - Rickt1962 - 30th Nov, 2016 02:33 AM

(30th Nov, 2016 01:47 AM)Nachteule Wrote:  Ok, now we come closer to your problem Smile

You have definitely NFS3 and portmap is not running

Please change parameter in file /etc/default/nfs-common as follows:

Code:
# Do you want to start the statd daemon? It is not needed for NFSv4.
NEED_STATD=yes

reboot RPi and try again to mount your share

xbian@xbian ~ $ /etc/default/nfs-common
-bash: /etc/default/nfs-common: Permission denied
xbian@xbian ~ $


RE: I am a noob, please help me! - Nachteule - 30th Nov, 2016 02:35 AM

This file has to be edited!

Terminal

sudo nano /etc/default/nfs-common



RE: I am a noob, please help me! - Rickt1962 - 30th Nov, 2016 02:52 AM

OK using WinSCP open the folder edited to yes click save and I get "Permission denied.
Error code: 3
Error message from server: Permission denied


RE: I am a noob, please help me! - Nachteule - 30th Nov, 2016 02:56 AM

I suppose you're logging in as user xbian. You have to have root rights to edit this file

Open a ssh connection to your RPi (putty is your friend) and then run command I posted above


RE: I am a noob, please help me! - Rickt1962 - 30th Nov, 2016 03:19 AM

LOL I was using putty at first but didn't know I had to sudo nano /etc/default/nfs-common........

Ok changed it added =yes rebooted pi then used putty to see if the changes sticked they did ! closed putty rebooted pi for good measures clicked to add video went to nfs shows 10.0.0.60 my cloud but no subfolder Sad

Sorry for being a pain in the a$$$$


RE: I am a noob, please help me! - Nachteule - 30th Nov, 2016 03:27 AM

So back to here

And if mount fails, please run

Terminal

sudo start portmap

and try again mounting the share manually

Btw, what kind of RPi do you have (1, 2 or 3)?


RE: I am a noob, please help me! - Rickt1962 - 30th Nov, 2016 03:41 AM

Getting close !!

xbian@xbian ~ $ sudo mount 10.0.0.60:/nfs/XBMC /mnt
xbian@xbian ~ $ ls -la /mnt/
total 156
drwxrwxrwx+ 15 root xbian 4096 Nov 28 20:08 .
drwxr-xr-x 1 root root 158 Dec 31 1969 ..
drwxrwxr-x 2 nobody xbian 4096 May 17 2016 14 Banned Book Collection
drwxrwxr-x 13 nobody xbian 4096 May 18 2016 Audio Books
drwxrwxr-x 2 nobody xbian 4096 Feb 18 2016 Firmware
drwxrwxr-x 4 nobody xbian 12288 Apr 5 2015 Home Videos
drwxrwxr-x 1677 nobody xbian 69632 May 17 2016 Kindle Books
drwxrwxr-x 26 nobody xbian 4096 Nov 26 18:38 Kodi addons
drwxrwxr-x 4 nobody xbian 4096 May 23 2016 Kodi backup
drwxrwxr-x 14 nobody xbian 4096 Aug 5 17:39 Movies
drwxrwxr-x 3 nobody xbian 24576 Feb 18 2016 Music
drwxrwxr-x 11 nobody xbian 4096 Jun 7 10:50 Pictures
drwxrwxr-x 121 nobody xbian 4096 Jun 10 10:31 TV Shows
drwxrwxr-x 3 root xbian 4096 Feb 23 2015 .wdmc
drwxrwxr-x 3 nobody xbian 4096 Dec 23 2015 XBMC android
xbian@xbian ~ $ sudo umount /mnt
xbian@xbian ~ $

I rebooted pi still not seeing the sub folders


RE: I am a noob, please help me! - Nachteule - 30th Nov, 2016 04:08 AM

Arrrrg

Please show me output of command

Terminal

sudo showmount -e 10.0.0.60

This command shows you all exported folders.


RE: I am a noob, please help me! - Rickt1962 - 30th Nov, 2016 04:39 AM

(30th Nov, 2016 04:08 AM)Nachteule Wrote:  Arrrrg

Please show me output of command

Terminal

sudo showmount -e 10.0.0.60

This command shows you all exported folders.

[sudo] password for xbian:
Export list for 10.0.0.60:
/nfs *
xbian@xbian ~ $


RE: I am a noob, please help me! - Nachteule - 30th Nov, 2016 04:56 AM

... and you see /nfs in Kodi nfs browser but nothing more, right?

So we're back to beginning, you have ACL issues (access rights) and I can not help you anymore, because I do not have such a f...... NAS

I googled and found lot of issues (here, in german), he told about same issus seeing /nfs but nothing below

Mayby this wiki helps or this or here or here

Sorry; I'm out of ideas for now Sad


RE: I am a noob, please help me! - Rickt1962 - 30th Nov, 2016 05:09 AM

(30th Nov, 2016 04:56 AM)Nachteule Wrote:  ... and you see /nfs in Kodi nfs browser but nothing more, right?

So we're back to beginning, you have ACL issues (access rights) and I can not help you anymore, because I do not have such a f...... NAS

I googled and found lot of issues (here, in german), he told about same issus seeing /nfs but nothing below

Mayby this wiki helps or this or here or here

Sorry; I'm out of ideas for now Sad


Openelec and OSMC both work fine on nfs But I like Xbian better ! because my HDhomerun works flawlessly with it Smile I guess I will have to use the slower route of smb to scan in my Movies.

Thank you for trying to help !! Thank you Smile I live in Pennsylvania but my ancestors come from Germany !


RE: I am a noob, please help me! - Nachteule - 30th Nov, 2016 05:22 AM

You already told that OE and OSMC works. I looked into their source code but could not find any nfs patches. So unable to say what's the difference (btw, I found issues on OE and OSMC also)

Yeah, Samba could be a choice

So you still having german blood in you veins Dodgy

Greetings from Bavaria Smile


RE: I am a noob, please help me! - Nachteule - 10th Apr, 2017 11:22 PM

@TheDutypaid
Moved recent posts from here into new thread