Solaris / OpenSolarisThis forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am stuck with the problem of setting up NFS server in SunOS, for which I seek your kind help.
We have some machines in sun and some machines on linux, and we want to make one of the sun machine as NFS server.The problem that we are stuck with is, after setting up the NFS server I can mount from other linux as well as sun machines as readonly mode but I need it to have read-write permission.
I made the changes in /etc/dfs/dfstab as bellow:
share -F nfs -o rw /data04/download
Here "/data04" is the partition and "download" is the directory which I need to mount on other machines. After which I have rebooted the system also.
The System I am using has
SunOS bioinfo 5.7 Generic_106541-19 sun4u sparc SUNW,Ultra-80
and the client systems are Solaris 8, Linux( Redhat-7.3/8/9, fedora core 2/3).
I tried to setup the server by using using the command:
share -F nfs -o rw /data04/download
But ending up with no success.
The output of the command "showmount -e" is as below:
Moreover, I have modified the /etc/exports file as below:
and started the "/etc/init.d/nfs.server" also.
But nothing helped me.
I am mounting with the following command in linux:
mount 172.16.4.4:/data04/download /sun (/sun is the mount point)
Moreover, we have many users can I mount the NFS partition accross all users.
Could you please suggest me where I am wrong. Any suggestions would be highly appreciated.
I'm not aware of a /etc/exports file with Solaris, you need to use the /etc/dfs/dfstab, as you already do.
The command you give looks good, there's not even a need to specify "-o rw" as it is the default.
From a Solaris machine, you can also automatically mount by using the path
The output of "mount | grep data04" in solaris client as below
/sun on 172.16.4.4:/data04/download remote/read/write/setuid/dev=3e00003 on Thu Mar 3 00:08:44 2005
And the output of "mount | grep data04" in linux client
172.16.4.4:/data04/download on /sun type nfs (rw,addr=172.16.4.4)
The problem is that neither I cant modify any file nor I can create any new file in that directory(/sun which is the mount point for /data04/download). I tried to create and modify files being as root user in the client machine as well as andrew (the normal user). The user andrew is present in either machines (server and client).
Both root, mapped to nobody, and andrew are likely to have no right to modify/create any file on the remote nfs mounted directory, even mounted R/W.
Did you "chmod 0777" the shared directory on the server side to check that ?
It is working now after changing mode to 777 of the shared directory.
Now I would have to make users having same UIDs in all machine so that it match with the server machine.
Thank you so much for your kind help and suggestions.
With best of my regards,