Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
expectj telnet failing 5 45
awk sed 8 67
Expiration and Locking of Unix/Solaris OS Accounts 7 49
Upgraded from Debian 7 to 8.7 and got black screen 20 69
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

828 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