New Solaris Administrators Blog

We are proud to announce our new site: http://blog.serversolaris.com/

Solaris Server Administrators and Security

↑ Grab this Headline Animator

miércoles, 30 de enero de 2008

Sharing directories with NFS in Solaris 10

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 ;-)

5 comentarios:

KungFooSion dijo...

I've discovered just now the new Server Solaris Blog,

Congratulations!!!

LinuxPune Deccan dijo...

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

Michale Daniel dijo...

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.

Michale Daniel dijo...

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.

johnson@smartmindonlinetraining.com dijo...

Sun Solaris online training provided by Hyderabadsys. Sun Solaris also known as SunOS or Sun UNIX variant is the name of the operating system of Sun company that was originally installed on SPARC computers. It is sold with the Open Look Open Windows user interface.
Sun Solaris online training requirement for an organization can be very specific to a particular project, creates customized training program for customers.
SUN SOLARIS Online Training