Managing the NFS server on Solaris
Posted: May 21, 2010 at 12:06 amThis has the files you have to use for managing NFS server on Solaris year:
/ Etc / DFS / fstypes
/ Etc / rmtab
/ Etc / nfs / nfslog.conf
/ Etc / default / nfslogd
/ Etc / default / nfs
The / etc / DFS / dfstab file (local share 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
























