Solved

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

Posted on 2012-03-16
5
582 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

773 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