Create and NFS share with Solaris: Difference between revisions

From Peter Pap's Technowiki
Jump to navigation Jump to search
Created page with "1. Edit the dfstab: vi /etc/dfs/dfstab Add a line like this: share -F nfs -o ro,anon=0 /export/centos This will create a read-only share that anyone can mount. 2. Start ..."
 
Blanked the page
 
Line 1: Line 1:
1. Edit the dfstab:


  vi /etc/dfs/dfstab
Add a line like this:
  share -F nfs -o ro,anon=0 /export/centos
This will create a read-only share that anyone can mount.
2. Start the NFS server daemon.
On Solaris 10:
  svcadm enable svc:/network/nfs/server:default
On Pre-Solaris 10:
  /etc/init.d/nfs.server start
3.  If the NFS daemon was already configured and running, do this to add your new share:
  /usr/sbin/shareall

Latest revision as of 05:51, 8 November 2010