Solaris での NFS サーバの設定

NFS サーバを有効化する。

# svcadm enable network/nfs/server

/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 -d "backup" /backup/test

反映する。

# shareall

http://docs.sun.com/app/docs/doc/819-0381/6n2qghhdp?l=ja&a=view