Managing the NFS server on Solaris
Posted: May 21, 2010 at 12:06 amThis are the files you have to use for managing an NFS server on Solaris:
/etc/dfs/fstypes
/etc/rmtab
/etc/nfs/nfslog.conf
/etc/default/nfslogd
/etc/default/nfs
The /etc/dfs/dfstab file: (share local directories)
share -F nfs -o rw,root=host2 -d "Share name" /path/to/share
/etc/dfs/sharetab (what I have shared)
NFS server daemon:
svcadm -v enable nfs/server
svcadm enable svc:/network/nfs/server
NFS client:
/etc/vfstab
host2:/usr/local/data - /usr/remote_data nfs - yes soft,bg
Automount:
/etc/auto_master:
/home auto_home -nobrowse
mount_point map_name mount_options
Direct map:
/etc/auto_master
/- auto_direct -ro
/etc/auto_direct
/apps/path -ro,soft server1:/export/some/path
Indirect map:
/etc/auto_master
/home auto_home -nobrowse
/etc/auto_home
+auto_home
joe host2:/export/home/joe
svcadm enable svc:/system/filesystem/autofs
























