Solved

NFS on Solaris, how to enable write from nfs client end ?

Posted on 2012-03-16
5
588 Views
Last Modified: 2012-03-26
I have configured a NFS server and a client nod following this link http://technodope.com/index.php?option=com_content&view=article&id=51:how-to-configure-nfs-data-source-on-solaris-10&catid=50:unix&Itemid=78

Both are Solaris 10 x86 servers.

I have created a test file in the NFS server's shared folder. And I can access it from the NFS client nod's mounted folder. So NFS is working fine it's seems.

And also I need to edit that file from the NFS client nod. I have given 777 permission to the same file on the NFS server's end. But it wont allow me to edit it.

Please help me to resolve this !
0
Comment
Question by:Shakthi777
  • 2
  • 2
5 Comments
 
LVL 11

Assisted Solution

by:legolasthehansy
legolasthehansy earned 333 total points
ID: 37729261
Are you trying to access the share on the client using root or as a user? If you are accessing as root you would need to make sure no_root_squash option is defined
0
 

Author Comment

by:Shakthi777
ID: 37729801
The both of the boxes are configured with the same root password, I didn't use any other authentication. Please advise ?
0
 
LVL 11

Accepted Solution

by:
legolasthehansy earned 333 total points
ID: 37729856
Try this on the Solaris server,

share -F nfs -o rw,root=nfs_client_ip /nfs_share_dir

This enables the root user on the NFS client to modify files
0
 
LVL 34

Assisted Solution

by:Duncan Roe
Duncan Roe earned 167 total points
ID: 37733786
You have to read the man page for /etc/fstab or whatever the file is under Solaris that you edited to create the NFS mount. Also the NFS-specific section of the man page for the mount command (i.e. man mount). Then you would understand about no_root_squash. No I'm not going to post a brief summary here.
0
 

Author Closing Comment

by:Shakthi777
ID: 37765412
tnx !
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question