You are not logged in.

#1 2007-06-20 13:41:14

Aerodyne
Member
Registered: 2005-07-25
Posts: 43

[SOLVED] NFS client setup help?

Hi all,

I'm trying to connect to an NFS share (LAN based)... so I assume all I have to do is follow the client section here http://wiki.archlinux.org/index.php/Nfs … the_client ?

I've installed nfs-utils ... and started portmap

/etc/rc.d/portmap start

now I need to connect to "/stuff-dept/jondoe/public_html/Alpha/Beta/bin" what do I need to do to have access to this?

Added portmap, nfslock and nfsd to rc.conf daemons ... I don't need to mount this share on boot just have access to it when needed.
The part where I'm lost on is the fstab settings!!!


Thanks all.

Last edited by Aerodyne (2007-06-20 14:24:14)

Offline

#2 2007-06-20 13:55:06

morellik
Member
From: Italy
Registered: 2007-04-05
Posts: 43

Re: [SOLVED] NFS client setup help?

HOST:/stuff-dept/jondoe/public_html/Alpha/Beta/bin    /WHERE     nfs     noauto,rsize=8192,wsize=8192,intr,hard,nolock

This is an example of fstab entry. You have to change HOST  and /WHERE to reflect your local configuration.

But for what you want I think that the best solution is autofs that mount the shared resources only when you access to its.

Offline

#3 2007-06-20 14:06:24

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED] NFS client setup help?

Try it manually first - generic example:

mount -t nfs* -o your_options server:/shared/dir /your/mountpoint

For this you will need the name or ip address of the server hosting the share - you haven't given it, so if you don't have it, ask whoever runs the server. Options are up to you - check man pages for nfs, mount, and fstab for more details.

Assuming that works, the equivalent fstab entry will be:

server:/shared/dir   /your/mountpoint   nfs*   your_options   0   0

*If the server is running nfs v4, use nfs4 as the fs type, instead of nfs.

Last edited by tomk (2007-06-20 14:07:12)

Offline

#4 2007-06-20 14:23:50

Aerodyne
Member
Registered: 2005-07-25
Posts: 43

Re: [SOLVED] NFS client setup help?

Thanks morellik & tomk ... I managed to get it working manually, it was the server name (persons host name) that I did not enter !!!

Offline

Board footer

Powered by FluxBB