NFS Mount: Permission Denied


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers NFS Mount: Permission Denied
# 1  
Old 02-25-2008
Power 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 verified that mountd is running through 'svcs -a | grep nfs/server' and 'ps -ef | grep mountd'

- On the client server (let's call it server-2), I have set the /etc/vfstab as follows:

server-1:/opt/SHARE - /opt/SHARE nfs - yes - (where local shared directory is also /opt/SHARE)

- I have verified that the nfs client services is running through 'svcs -a | grep nfs/client' on server-2
- I have also set NFS_CLIENT_VERSMAX=3 in /etc/default/nfs file.

- I have verified that the directory /opt/SHARE on both server-1 and server-2 have rwx access for all users.

- When I run 'mount server-1:/opt/SHARE /opt/SHARE' I get the following error:

nfs mount: server-1:/opt/SHARE: Permission denied

- NOTE: server-1 and server-2 are psudonoms and they can ssh/scp/ping each other no problem.

ANY HELP would be much appreciated, thanks.

Jackola

Last edited by jackola; 02-26-2008 at 01:25 PM..
# 2  
Old 02-25-2008
The NFS server must be able to reverse-resolve the client IP address. That is, if your client is "10.3.41.22" then you chould be able to run "host 10.3.41.22" on the NFS server and get a name back.
# 3  
Old 02-26-2008
Power

Thanks for the suggestion, however, the NFS server and client can access each other without problems. When I do the 'host x.x.x.x' I get the host name back, when I do 'host server-2' from server-1 (which is the NFS server), I get the correct IP back. The same can be said reversely from the client server (server-2).

I don't know why there is the permission problem as I tested scp from both servers to the other server and into the correct directory without problems.

Does anyone know whether the shared directory needs to be owned by another user other than root? (but I did give the directory a recursive chmod to 777 just for testing purposes).

Furthermore, does anyone know whether I need to identify the NFS client (server-2) in any of the configurations on the NFS server (server-1)?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Permission denied error using chmod on a cifs mount

I have a RHEL 5.7 system with a cifs mount from a Windows 2007 file server that I need to fix the permissions on. Once the share is mounted the permission for the mount are 777. I need to change that to 770 on the top level directory and to 640 on the sub-directory .ssh/. But when I run chmod... (0 Replies)
Discussion started by: westmoreland
0 Replies

2. Solaris

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 # mkdir 1 mkdir: Failed to make directory "1"; Permission denied i shared using command # share -F nfs -o rw -d "backup" /backup mounted using... (3 Replies)
Discussion started by: nikhil kasar
3 Replies

3. 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

4. Solaris

NFS in Solaris 9 - Permission denied

nfs mount: Permission denied Guy's in Solaris 9 I'm trying to mount the below mount point as nfs in clinet mount -F nfs -o rw 171.13.10.20:/shared /app but I'm getting the below message !!! bash-2.05# mount -F nfs -o rw 171.13.10.20:/shared /app nfs mount:... (2 Replies)
Discussion started by: Mr.AIX
2 Replies

5. UNIX for Dummies Questions & Answers

Permission Denied creating file under nfs mount

I have two servers, 82 and 70. My exports file on 82 reads / ...70(rw) on 70 I have a mountpoint called mnt_for_82 I execute on 70 mount -t nfs -o rw ...82:/ mnt_for_82 I go to server 70 and indeed can read and travers the mounted subdirectories. However, I try... (0 Replies)
Discussion started by: blaine.miller
0 Replies

6. Solaris

Problem with nfs sharing, permission denied for writing.

Hi I have a problem with NFS sharing on solaris 10, the problem simply with write permission, after do the following command, the folder still not writable from machine 2 : on machine 1 (10.10.10.32) : share -F nfs -o rw /u01/portalrepository/ on machine 2 (10.10.10.31) : mount -F nfs... (35 Replies)
Discussion started by: Al-Mothafar
35 Replies

7. UNIX for Dummies Questions & Answers

nfs permission denied failure

I think I must be drain bamaged... I'm just trying to export an NFS share and mount it on a client. Should be really easy but I'm failing! Here's the set up: Server: OS: Centos 5.3 Name: fileprint-0 (aliases fp00, fs00) Exported directory: /home/ESE Client: OS: Centos 5.3 ... (5 Replies)
Discussion started by: texaganian
5 Replies

8. UNIX for Advanced & Expert Users

mount -t cifs permission denied by mount -t smbfs works fine

I am having trouble mounting with cifs, but mounting the exact same command with smbfs works fine. The share is on another samba server and is set to full public guest access. # mount -t cifs //servername/sharename /mnt/temp -o password="" mount error 13 = Permission denied Refer to the... (3 Replies)
Discussion started by: humbletech99
3 Replies

9. UNIX for Advanced & Expert Users

mount: failed, reason given by server: Permission denied

Hi , I have a filesystem on AIX 4.3.3 which i need to share with other clients who use Windows NT and Redhat linux 7.3. I use samba to share this with Windows NT Clients. Now i was to share this with Linux clients. When i try to nfs mount this on Linux i get "mount: failed, reason given by... (1 Reply)
Discussion started by: Sushesh
1 Replies

10. UNIX for Dummies Questions & Answers

Permission Denied using VI on my NFS

Hi Friends, I have problem using VI on my NFS as a user. But root does not. When I tried to vi .cshrc, I have this error msg pops out jennifer_hostname > vi .cshrc "/var/tmp/Ex???? : Permission Denied" jennifer_hostname > Does any of you encounter this problem before or... (4 Replies)
Discussion started by: jennifer
4 Replies
Login or Register to Ask a Question