Difference between revisions of "Create an NFS share with Solaris"
From Peter Pap's Technowiki
(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 ...") |
(No difference)
|
Latest revision as of 05:51, 8 November 2010
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