You want to share a directory in Solaris, may be, the home of the users, or a directory with binaries.
With svcs the service status can be checked, so lets check the status of the nfs server:
-bash-3.00# svcs network/nfs/server
STATE STIME FMRI
offline 2:19:03 svc:/network/nfs/server:default
The service is offline, so you have to enable it and start it, lets do it:
-bash-3.00# svcadm enable -r network/nfs/server
-bash-3.00# svcadm enable -s network/nfs/server
-bash-3.00# svcadm restart network/nfs/server
Now it is started:
-bash-3.00# svcs network/nfs/server
STATE STIME FMRI
online 2:29:51 svc:/network/nfs/server:default
Now, to share a directory, edit /etc/dfs/dfstab and add:
share -F nfs /export/test
Save the file and execute:
# shareall -F nfs
Now check the shares:
-bash-3.00# share
- /export/test rw ""
Quiet simple ;-)
New Solaris Administrators Blog
miércoles, 30 de enero de 2008
Suscribirse a:
Enviar comentarios (Atom)
3 comentarios:
I've discovered just now the new Server Solaris Blog,
Congratulations!!!
LinuxPune.com Linux Admin Training Session – Batch Status – Started – Can join max till end of July – Backup provided
Batch Starting Date – 16th July 2013 , Batch Timing 2:00PM-5PM ,SAT-SUN – 8 Weekends
About Technical Facilitator - Rahul has been a Redhat ,SUSE and Solaris Implementor for Mid and High range server and bring abroad the experience in application deployment . Has been in a technical consultant with us from last 4 years and helped many freshser achieve their dream job and after job support too.
Placement Coordinator – Kamran has been associated and will be supporting the placement coordination for any new requirement , before starting any batch we request all the participant looking forward for the placement from us to submit the resume to Kamran as well as send a soft copy to info@linuxpune.com
Its impressive to know something about your note on sun solaris Course. Please do share your articles like this your articles for our awareness. Mostly we do also provide Online Training on Cub training sun solaris course.
Publicar un comentario