Leo_H
1
All I want to do is export the user files on my WDMyCloudEX4 to an Ubuntu system. All systems are connected on our local network. Just read only.
I have enabled NFS on the WDCloud via the web interface.
I logged on via sshd to the WDCloud and created /etc/exports:
/mnt/HD/HD_a2 -ro -alldirs -network 192.168.1.0 -mask 255.255.255.0
Ran /usr/sbin/exportfs
Ran showmount -e 192.168.1.101 from the ubuntu system, but get nothing.
From the ubuntu system:
$ sudo mount -t nfs -o proto=tcp,port=2049 WDMyCloudEX4:/mnt/HD/HD_a2 /mnt
mount.nfs: access denied by server while mounting WDMyCloudEX4:/mnt/HD/HD_a2
Tried using the IP address of WDMyCloudEX4:
$ sudo mount -t nfs -o proto=tcp,port=2049 192.168.1.101:/mnt/HD/HD_a2 /mnt
mount.nfs: access denied by server while mounting 192.168.1.101:/mnt/HD/HD_a2
I’m sure I’m making some stupid mistake, but I don’t see it.
Leo_H wrote:
All I want to do is export the user files on my WDMyCloudEX4 to an Ubuntu system.
You’re in the My Cloud forum, not the My Cloud EX4 forum. That’s here:
http://community.wd.com/t5/WD-My-Cloud-EX4/bd-p/mycloud_ex4
But to get to your question:
What’s the output of
/usr/sbin/exportfs
…without any options say?
Leo_H
3
Sorry for the wrong forum.
I solved the problem on my own.
I didn’t know I had to enable nfs on the individual shares. I did this, and the correct commands were generated in
/etc/exports for each individual share. I was able to mount these shares on my ubuntu system.
Well, I (and the manual) could have told you that, but… you said you wanted to export a different (non-“Share”) path, not specific shares.
The user interface does not allow for enabling it, so I wasn’t heading that direction. ;)