Setting NFS Server on Solaris 9 part2


In order to run the NFS client:
# /etc/init.d/nfs.client start

you can verify that the NFS daemons have started correctly:
# ps -aef | egrep 'statd|lockd'
daemon 211 1 0 May 16 ? 0:04 /usr/lib/nfs/statd
root 213 1 0 May 16 ? 0:03 /usr/lib/nfs/lockd

if we want to mount a volume that has been shared from an NFS server, we use the mount command:
# mount -F nfs server1:/opt/app /opt/app

You should add line above to /etc/vfstab
# vi /etc/vfstab
server1:/opt/app /opt/app nfs defaults 0 0

One of the best methods for determining how NFS is performing, from both a client and server perspective, is to use the nfsstat command to gather performance statistics over a period of weeks or months. In particular, counting the number of calls and bad calls can show the proportion of successful to unsuccessful requests, respectively, to the server
# nfsstat -s
...
Server nfs:
calls badcalls
575637455 3433
...
Here, we can see that the proportion of bad calls to the total number of calls is 3433 ¸ 575637455, which is much less than 1 percent. After gathering statistics for each interval, the counters can be reset to zero by using the following command:
# nfsstat -z

Popular posts from this blog

Howto configure boot device order on ILOM

SAN Switch Config Command

Howto cstm on HP-UX