Friday, May 11, 2007

Configuring Network File Server

Service Profile:
Daemon : nfsd,rpc.mountd,rpc.rquotad,rpc.statd
Type : Standalone
Script : nfs
Port : assigned by portmap (NFS is an RPC so portmap is required)
Configuration File : /etc/exports ---Contains shared Directory list
Log File : /var/log/messages

Pakages:

nfs-utils
portmap
autofs

Configuration
#mkdir -p /test/{students,faculty,all,local}
#vi /etc/exports
//format shared_dir_path allowed_hosts(options)
/test/students 192.168.0.0/255.255.255.0(ro) 192.168.0.1(rw,sync)/test/faculty server.test.com(rw,sync)/test/loal *.abc.com(ro)/test/all *(ro)
Save & Exit the file
#cd /test

#ls -ld faculty
#chmod o+w faculty
#service portmap start

No comments:

web counter