No write permission on NFS mount point


 
Thread Tools Search this Thread
Operating Systems Solaris No write permission on NFS mount point
# 1  
Old 10-24-2012
No write permission on NFS mount point

hi all
i have mounted one nfs mount point but i has no write permission on it.
when i am going to make a directory it is giving an error
Code:
# mkdir 1
mkdir: Failed to make directory "1"; Permission denied

i shared using command
Code:
# share -F nfs -o rw -d "backup" /backup
 
mounted using command 
mount -F nfs -o hard,rw,noac,sync,no_root_squash,rsize=32768,wsize=32768,suid,proto=tcp,vers=3  x.x.x.x:/backup /backup2

when i am using no_root_squash option it gives following error

Code:
# share -F nfs -o no_root_squash,rw -d "backup" /backup
share_nfs: invalid share option: 'no_root_squash'
 
# mount -F nfs -o hard,rw,noac,sync,no_root_squash,rsize=32768,wsize=32768,suid,proto=tcp,vers=3  x.x.x.x:/backup /backup2
mount: x.x.x.x:/backup on /backup2 - WARNING unknown option "sync"
mount: x.x.x.x:/backup on /backup2 - WARNING unknown option "no_root_squash"

i have check every where i dident get the solution.

Last edited by nikhil kasar; 10-24-2012 at 09:12 AM.. Reason: Code tags, please...
# 2  
Old 10-24-2012
no_root_squash is a Linux option, use root=client on Solaris to allow root access from the server named "client".
# 3  
Old 10-24-2012
hi jlliagre thanks for your replay

Code:
 (root=client )

what should i use i place of client hostname or an ip address.

can you please share the synatx

Code:
 #mount -F nfs -o hard,rw,noac,sync,root="hostname/ipaddress",rsize=32768,wsize=32768,suid,proto=tcp,vers=3  x.x.x.x:/backup /backup2

can it will be like this?

Last edited by Scott; 10-24-2012 at 09:39 AM.. Reason: Code tags
# 4  
Old 10-24-2012
Quote:
Originally Posted by nikhil kasar
Code:
 (root=client )

what should i use i place of client hostname or an ip address.
an fqdn (eg: www.unix.com ) , domain name (eg: .unix.com) , netgroup, network name, network (eg: @192.168.1), or a colon separated list of these.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Sol 10 - Strange NFS behaviour - adminnfs prefix to mount point

Something has changed..... /etc/vfstab entry:- host1:/backup/RMAN - /RMAN nfs - no rw,hard,rsize=32768,wsize=32768,llockBut when I mount it, and run df -k | grep RMANResults are:- host1:/backup/RMAN 54971960832 26752241664 28219719168 49% ... (1 Reply)
Discussion started by: psychocandy
1 Replies

2. Red Hat

Regarding NFS mount point

Dear All, We have two different mount points in Linux NFS one is 15 TB and another one is 15 TB. Can we club both of the two mount points and club in to a single volume in Linux. As we need to restore Database in that single volume. Kindly help us on this. Regards , rj (10 Replies)
Discussion started by: jegaraman
10 Replies

3. Red Hat

NFS mount point

Hi, Can you tell me something about NFS mount point ? Regards, Maddy (3 Replies)
Discussion started by: Maddy123
3 Replies

4. Linux

Mount point permission was changed

Hello everybody, I have many mount points on my virtual Redhat server, two of them lost their (write) permission, so they became read-only filesystems. I fixed this problem. But I want to know why it happened? What is the reason behind that to avoid it again? Where can I find related logs?... (2 Replies)
Discussion started by: Mohannad
2 Replies

5. Shell Programming and Scripting

Script for NFS mount point

Hi , i have create the bash script for nfs but in this script asking for mount point only once it is it prompting for second time. example: do you wants to create any other mount point ? note(if i give yes it should ask me to add the mount point else it should proceed with next step) it... (5 Replies)
Discussion started by: Rahulne25
5 Replies

6. UNIX for Advanced & Expert Users

nfs mount permission issues

Hello, We have some new application requirements that require us to use nfs mounts from aix 5.3 and mount to Oracle Linux 5.6. Do you know why when on the destination ( linux ) box, the root user cannot access directories made by other users in the nfs mounted filesystem ? I read that there... (0 Replies)
Discussion started by: fwellers
0 Replies

7. Red Hat

NFS mount point problem

Hi Forum I am trying to mount /NFS as nfs mountpoint on two servers ( A & B ). After mounting the nfs filesystem, both of them behave normally for around 10 mins and after that the NFS file handle become stale and the mountpoints dont respond. While executing df -kh, the output hang out and the... (15 Replies)
Discussion started by: rajdasuwal
15 Replies

8. AIX

NFS mount point monitoring script

Hi, I'm looking to create a NFS mount point monitoring shell script not sure if im going the right way about it so could do with some help. What i was thinking of doing was using the below command but am unsure how to handle the output. So if the filesyetem is active it will return "1" but if... (4 Replies)
Discussion started by: elmesy
4 Replies

9. Linux

one nfs mount point for many logical volumes

hi i am wondering if it is possible to use one nfs mount point for several logical volumes. i have a top level directory /imaging with data1 - data50 below it. each dataX directory is a logical volume configured through LVM. if i mount them separately on the client (i.e. 50 lines in fstab... (1 Reply)
Discussion started by: user23
1 Replies

10. UNIX for Dummies Questions & Answers

NFS Mount: Permission Denied

Hi, - I have two solaris 10 servers. One is running nfs server (let's call it server-1) and has a share set through /etc/dfs/dfstab file: share -F nfs /opt/SHARE (where SHARE directory contains sub-items that I want to share) - On server-1, I have started the nfs server service and have... (2 Replies)
Discussion started by: jackola
2 Replies
Login or Register to Ask a Question