Silly question about MYCloud

I have a MyCloud 4tb model wdbcctl10040
My home net work is Windows 7 pro with gig Ethernet with several Raspberry Pi- 3 using OpenElec and OSMC and have no trouble connecting to MYcloud through nfs.

I am now using Xbian on a Raspberry and it see’s the nfs drive but none of the folders. The Xbian forum wants to know am I using NFS4 or NFS3 ? Which I do not know the answer. Any help please

I wouldn’t swear to it, but I’m pretty sure it’s V3.

So V3 stands for nfs3 ?

Alright I just tried to use SSH can someone explain this :

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

Does WD Mycloud really support nfs fully ? Or is it half baked ?

Don’t you want to add something to that /mnt root? /mnt/nfs for instance?

I’ve never done it, but it ‘looks wrong’; a gut feeling…

Here what has been done:

sudo mount 10.0.0.60:/nfs/XBMC /mnt

ls -la /mnt/

sudo umount /mnt

it returned this:

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

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

Do you want to start the statd daemon? It is not needed for NFSv4.

NEED_STATD=yes

After changing it to =yes it returned this

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 ~ $

Still cant see all the folder under nfs so ran this:

sudo showmount -e 10.0.0.60

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

So we’re back to beginning, you have ACL issues (access rights)

Well, the export list is correct. That’s telling it to export everything in the /nfs path to all IP addresses.

What are you expecting to see?

On the Raspberry Pi when I go to files I see 10.0.0.60/nfs and when I click on it I do not see any of the folders

I must be missing something… In your post 3 up, you’ve mounted it and the “ls” command shows LOTS of folders.

I’m confused, too; after the ls, he did an unmount (sudo umount /mnt). Not sure why…

I was using my PC with Putty and SSH into the Raspberry Pi That’s How I was able to see the folders. But when changes where made Raspberry Pi still cant see past 10.0.0.60/nfs

I think what you’re expecting to happen is for you to be able to see the MyCloud NFS server (IP address 10.0.0.60:/nfs) without any further action on the Xbian RPi. Is that correct?

And, in order to test access to the NFS server, you have explicitly mounted a MyCloud NFS sub-folder (/nfs/XBMC) on the RPi, and can see folders on the mounted disk. Is that correct?

And, on other devices, or running a different OS on the RPi, you can see the NFS file server as 10.0.0.60:/nfs without having to mount it. Is that correct?

We don’t have ACL issues; we’re not WD…

Talking of access rights, I assume XBMC is a top-level Share on the MyCloud. Does it have Public access enabled? If not, how are you providing user credentials to give access to it?

Where does /nfs point to in the MyCloud file structure? Is it the /DataVolume root? I’m not sure what the ownership is of the top level shares; you could SSH into the MyCloud and compare the ownership/group settings of the top-level Shares and folders under the top-level Shares.

Yes public share is on and to access the drive and folder is 10.0.0.60:/nfs/XBMC

I worked with the developer of Xbian aka Kodi and he you saw the post 6# And he told me it was WD issue

You’d better speak to WD then.

Hehehe… don’t get confused. Xbian is NOT Kodi. Xbian is a lightweight linux distro on which Kodi runs. The developers aren’t the same, though there’s certainly lots of interaction between the two.

I’m a Kodi developer, but have never touched Xbian. :slight_smile:

Just for giggles, try using LibreELEC or OpenELEC on the Pi3. If it works there, it’s an Xbian vs WD issue.

No doubt you’re having issues with NFS, but just a question: Why use NFS at all? It’s so eccentric and unnecessarily complicated for use with a media player. Why not just use Samba?

My first post shows me using OpenElec with pi-3 But HDhomerun sound drops off.

nfs streams a lot faster then smb

So after bouncing around all the builds I settled on OSMC Krypton nightly build and HDhomerun works flawlessly .

So scanning in my Library will take 2 days :frowning:

Thank you for trying to help …giving up on Xbian to bad Xbian has a great shell when you ss putty into it !

Agreed, NFS is faster due to lower overhead, but there’s no content in the world that needs that performance margin. Even native BD (including 3DBD) content streams fine over SMB in my experience…

Most of my Kodis are running on Intel-based Chromeboxes… but I’ve got a Pi3 out in the garage that’s WiFi connected to my network of 28TB of Video via SMB just fine… :slight_smile:

28TB !!! Holy Chit !! How long does it take you to rescan all of that ?
I might being doing everything wrong on my setup !! I use ember media manager so the nfo, art are stored with each video.

I would love to run some boxes ! So I could use Pseudo Live … but all my TV’s are wall mounted and the pi’s don’t need a box I just tape them to the back. beside love the CEC support using the same TV remote