NFS Presentation
NFS Presentation
/etc/rmtab = it is used to save remotely mounted file system /etc/dfs/dfstab = it is used to save the local shared file system it will read when system booting and request coming from client(when run the mount command from client) /etc/dfs/sharetab = it is used to save the share command output /etc/dfs/fstypes = it is used to save the remotely mounted filesystem types.
Mountd daemon service is started by svc: /network/nfs/server Mountd daemon is only required for NFS2/NFS3. NFS uses well known port with port no2049.
Share F nfs o ro /export/home To see mount points of client from server side # dfmounts #rmmounts
dfshares sys44
Snoop
It is used to view the network traffic between two systems. It is networking troubleshooting tools.
Commands
Snoop sys1 sys2 it will display the traffic betweek 2 pcs Snoop d hme0 broadcast To examine the framework for ethernet interface Snoop v d hme0 broadcast to view only broadcast packets on the hme0 interface
Cache FS
It is used to performance the remote file system It allows you to be a client a home directory which is mounted via NFS from an NFS server.
To see deamons of nfs: nfs: # ps ef | grep nfs # share // read the entries from /sharetab # shareall // read the entries from /dfstab When we apply #share, then /sharetab automatically updates. To make read only: # share F nfs o ro /sai # share
Issue 1: If service is disable, it will not share A: check out the services of NFS & #svcs a |grep nfs If network pbm:
# svcadm enable network/nfs/server #share If deamon pbm: Just start the deamon # cd /usr/lib/nfs # file mountd #./mountd To see port num # netstat a | grep i nfs