NFS
On the server you want to export the filesystem/directory (more than likely the Satellite server)
# vi /etc/exports
To allow complete access to e.g. /var/satellite/installs add the following line
/var/satellite/installs *(rw,no_root_squash)
save the file
# exportfs
NFS may not be running so it will need to be setup as follows
# /sbin/portmap
# rpcinfo –p [check portmapper is running]
# /etc/init.d/nfs start
# exportfs
Fom the client
Ensure nfs is running
# rpcinfo –p
if the response looks like this
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
then start nfs services
# /etc/init.d/nfs start
Try rpcinfo –p again to ensure all serveices have started.
# mount –t nfs 10.245.203.169:/installs /mnt
a symbolic link has been created on the satellite server called installs which points to /var/satellite/installs
http://nfs.sourceforge.net/nfs-howto/ar01s03.html
No comments:
Post a Comment