solaris NFS file server
1.How to Start and Stop NFS server
  #/etc/init.d/nfs.server start
  #/etc/init.d/nfs.server stop
2.開機自動分享nfs的檔案系統
修改
/etc/dfs/dfstab檔案
#vi /etc/dfs/dfstab
會看到以下畫面,#是註解

#    Place share(1M) commands here for automatic execution
#    on entering init state 3.
#
#    Issue the command 'svcadm enable network/nfs/server' to
#    run the NFS daemon processes and the share commands, after adding
#    the very first entry to this file.
#
#    share [-F fstype] [ -o options] [-d "<text>"] <pathname> [resource]
#    .e.g,
#    share  -F nfs  -o rw=engineering  -d "home dirs"  /export/home2
#   上面有簡單的說明,以下兩行是自己設定的
share -F nfs -o rw,anon=0 -d "nfs_share" /export/home/nfs
share -F nfs -o ro,anon=0 -d "mp3_share" /export/home/samba

3.開機後手動分享檔案的方法
#share -F nfs -o rw,anon=0 -d "nfs_share" /export/home/nfs
#shareall
這樣就可以將檔案分享出去了

4.mount 已經分享的NFS檔案系統
#mount -F nfs ipaddress:/patch mount point
example:
#mount -F nfs 10.0.0.1:/export/home /mnt

4.取消分享的方法
#unshare -F nfs /mnt
取消所有的分享
#unshareall

5.查看分享了哪些檔案
查看server本身有哪些分享

#share
查看別台server 有哪些分享
#dfshares -F nfs ip address or hostname
example
#dfshares -F nfs 192.168.11.200