NFS Support for MyBookLive

Status: Implemented
by on ‎03-07-2011 12:05 PM

I would like to have NFS support in MyBookLive. NFS4 is preferred.

So why do I want to have that? Because I have a Linux Workstation and some "other" PCs. NFS is native for my box as well as for the Linux running on MyBookLive. More speed. File attributes. File types.

 

The other options for me are slower or more expensive NAS boxes. With more power consumption.

Or I build my own server. Which is more expensive and has more power consumption, too.

 

What do you think?

Status: Implemented
NFS support is already in the My Book Live. The path to the NFS share on the My Book Live is mybooklive:/nfs/[share name]. For example, if your unit still has the default device name the path to the Public share would be “mybooklive:/nfs/Public”. Note also that NFS access is only available for public shares. Private shares requiring a username and password are accessible on the My Book Live using NFS.
Comments
by Staff on ‎03-18-2011 12:23 PM
Status changed to: Implemented
NFS support is already in the My Book Live. The path to the NFS share on the My Book Live is mybooklive:/nfs/[share name]. For example, if your unit still has the default device name the path to the Public share would be “mybooklive:/nfs/Public”. Note also that NFS access is only available for public shares. Private shares requiring a username and password are accessible on the My Book Live using NFS.
by on ‎04-18-2011 05:22 AM

O.K., I can access my MyBook live from my Ubuntu workstation via NFS.  But strangely enough, this NFS connection is way slower than the SMB connection, even if I use udp instead of tcp. How can this be? In any other environment I know, NFS is much faster than Samba.

 

Any idea?

by on ‎10-05-2011 07:06 AM

How do you access the private shares? I input the user name and the password for that private share but it is still not accessible. 

 

I'm trying to access it using my media player. I have no problem accessing the public shares

by ‎02-04-2012 03:03 AM - edited ‎02-04-2012 03:08 AM

Create nfs user, setup the access to private shares for it.

Gain ssh access: http://community.wdc.com/t5/My-Book-Live/Telnet-or-ssh-my-book-live/td-p/87065 (http://mybooklive/UI/ssh)

Enter the device using ssh (putty)

type "id <nfs-user-name>"

you will see nfs uid

wd:/# id nfs
uid=1002(nfs) gid=1000(share) groups=1000(share),33(www-data)
wd:/# 

 then edit /etc/exports file

you will see something like "anonuid=500,anongid=1000" there. Change "anonuid=500" to "anonuid=<nfs-uid>" (1002 in my case)

wd:/# cat /etc/exports
# Use guest user (uid 500) for nfs guest.  This is restricted from private
# shares by trustees.
#
/nfs *(rw,all_squash,sync,no_subtree_check,insecure,anonuid=500,anongid=1000)
wd:/# sed 's/anonuid=500/anonuid=1002/' -i.bak /etc/exports
wd:/# cat /etc/exports
# Use guest user (uid 500) for nfs guest.  This is restricted from private
# shares by trustees.
#
/nfs *(rw,all_squash,sync,no_subtree_check,insecure,anonuid=1002,anongid=1000)
wd:/# 

 then restart nfs-server

wd:/# invoke-rc.d nfs-kernel-server restart
Stopping NFS kernel daemon: mountd nfsd.
Unexporting directories for NFS kernel daemon....
Exporting directories for NFS kernel daemon....
Starting NFS kernel daemon: nfsd mountd.

 

 now you should have access to private shares via nfs

Announcements
Please click on News and Announcements for the latest announcements.

For a list of our Idea Exchanges, please click here.

Idea Statuses explained here.
Idea Statuses
Top Kudoed Authors
User Kudos Count
1
1
1
1
1
Forums | Ideas | News and Announcements | Register | Sign in | Help | Forum Guidelines
Copyright © 2001 - 2010 Western Digital Corporation, All rights reserved. | Trademarks | Privacy | Terms of Service | Terms of Use | Copyright | Contact WD