You are not logged in.
Pages: 1
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
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
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
Thanks morellik & tomk ... I managed to get it working manually, it was the server name (persons host name) that I did not enter !!!
Offline
Pages: 1