Saturday 30 July 2011

9. NFS (Network File System) - Real Time



                                    9. NFS (network file system)
1. # cat /etc/dfs/fstype
2. # cat /etc/dfs/sharetab         (like mnttab)
3. # cat /etc/dfs/dfstab                        (like vfstab)

To see deamons of 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

No comments:

Post a Comment