Meaning of /nfs in exports file

New to Debian (Or Linux in general)? Ask your questions here!

Meaning of /nfs in exports file

Postby epergrem » 2018-12-11 15:44

Recently got a Raspberry Pi and attempting to access a WD My Book Live Duo through My Media. The NAS is accessible through the File Manager, but My Media requires that a path.

I can do all of that and when I issue mount -a, My Media finds the path without issue. The problem is on reboot, the path no longer shows up.

I'm still hitting the Internet, but have a question that isn't related to my above problem. The exports file on the NAS has following line:

# 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,annonuid=500,anongid=1000)

I can figure out the parameters, but can't find any reference on the Internet to what /nfs and * does.

Thanks,
Ernie
epergrem
 
Posts: 3
Joined: 2018-12-11 15:30

Re: Meaning of /nfs in exports file

Postby llivv » 2018-12-11 16:26

probably best to ask WD as trustee

trying to put this in layman terms

it's a mount point

the * means everything else that goes between the mount point and the mounting options that you see in the parenthesis after the *

To make the mount persistent across reboot you have to learn how that is done at raspberrypi unless someone else here knows how.

WD may not support nfs
to the point it may void the warranty if you brick it.
In memory of Ian Ashley Murdock (1973 - 2015) founder of the Debian project.
User avatar
llivv
 
Posts: 5488
Joined: 2007-02-14 18:10
Location: cold storage

Re: Meaning of /nfs in exports file

Postby epergrem » 2018-12-11 18:15

Thanks for the help. Looks like I'm going to do some reading up on mount points. :-)

The text that I posted is from the WD My Book LIve Duo exports file, so I think that I'm okay from that side. The WD contains Debian 5.0 although I probably should skip updating it, because that may brick the NAS.

Ernie
epergrem
 
Posts: 3
Joined: 2018-12-11 15:30

Re: Meaning of /nfs in exports file

Postby kevinthefixer » 2018-12-16 00:44

epergrem wrote:The WD contains Debian 5.0 although I probably should skip updating it, because that may brick the NAS.Ernie

If it's working you should skip updating it, although you might check if WD has released an update. If you're using your RPi with the Foundation's Raspian OS, it handles mount points exactly like Debian Stretch because it is Debian Stretch with their modified version of LXDE.
Code: Select all
man fstab
kevinthefixer
 
Posts: 188
Joined: 2018-05-05 22:30

Re: Meaning of /nfs in exports file

Postby epergrem » 2018-12-16 22:04

Thanks for the advice.

For now it all works, so I'm leaving well enough long. Long range I'll swap out the WD for a newer model or a Synology. The WD I have uses a PPC chip, so it's fairly limited.

Ernie
epergrem
 
Posts: 3
Joined: 2018-12-11 15:30


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 8 guests

fashionable