Sponsored Content
Full Discussion: Problem with NFS
Operating Systems AIX Problem with NFS Post 302485723 by johnf on Thursday 6th of January 2011 03:57:57 AM
Old 01-06-2011
Quote:
Originally Posted by lo-lp-kl
Hello everyone


I need to share a file system with two Aix boxes, the version is 5.3 tl9.

I create the nfs and I can see the files from both servers, but the problem with one of them is that I can write on the file or If I create a new one I canīt.

On the server that I create the directory I have the 777 permissions. In this one is where I have the problem.

On the server that I have the filesystem I dont have problem, I can create new files and write on them.

Thanks for your comments.
Lets clear up a few things here concerning NFS:

The directory to be remote mounted is exported from the NFS server. This is then remote mounted on the NFS client and can be mounted as RW or RO. The important thing is the syntax! The export is from the NFS server and the remote mount is on the NFS client!

If files are going to be written into the remote directory from the NFS client it must be exported as RW and the necessary permissions must be set! Generally a default 0755 will not be sufficient as this will have group and world set to read only (RO). Therefore in general the exported directory will be set to 0777. Changing the permissions on the client side will NOT affect the actual permissions on the directory!
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

NFS Problem !

Hi, I've mounted one of the file systems on another machine manually on /mnt located on my machine , after finishing my work i want to umount this /mnt , but all the time it says " nfs umount : /mnt : is busy " ,although it's not. so i tried to stop & start Nfs services manually (Incld :... (4 Replies)
Discussion started by: nikk
4 Replies

2. UNIX for Advanced & Expert Users

NFS Problem

For having shared file system i've been using nfs ,but regarding this i've some problem ,when i execute "df -ak" i can see the shared file system & i can also go there & list files ,but when i want to create anything in this area (Incld. file ,dir ....) i get permission denied. (i've shared related... (6 Replies)
Discussion started by: nikk
6 Replies

3. UNIX for Advanced & Expert Users

nfs problem help

I am having problem mounting my nfs mount on my sun solaris 8 through automount using the automaster file. this has been working fine until today, when my workstation tries to mount the nfs mount the following error is logged in /var/adm/message NFS lookup failed for server comserv: error 7... (2 Replies)
Discussion started by: hassan2
2 Replies

4. Solaris

nfs mount problem

I have a NFS share on a Linux server. When I try to mount it on a Solaris 9 server, I get the following message: nfs mount: <nfs-server-name>: : RPC: Program not registered I have a few other Sun boxes and I can mount the share on them without any problems. (2 Replies)
Discussion started by: soliberus
2 Replies

5. AIX

problem with NFS daemon?????

hi team we had a problem in mounting a network file system from source server to target server and we are not able to mount the file system and we checked all the configuration files and we execute the command in the source server lssrc -a | grep nfsd we found that 2 nfsd in that one is... (5 Replies)
Discussion started by: aixteam
5 Replies

6. AIX

nfs problem...

Got a prob.. I am trying to export a directory and mount it on to a server using NFS. My exporting goes fine as I am able to see the shares through "exportfs -v" But when I am trying to mount the directory on a the client.. I get an error.. "system call error number - 1" pls help.... ... (3 Replies)
Discussion started by: balaji_prk
3 Replies

7. AIX

NFS vmount problem

AIX's NFS client sends requests on high port numbers by default, and Linux rejects this as the security exposure it is. On AIX i'm use: nfso -o nfs_use_reserved_ports=1 But how i can setup it in autorun? /etc/rc.local right way ? (1 Reply)
Discussion started by: jess_t03
1 Replies

8. Filesystems, Disks and Memory

FreeBSD NFS Problem

I am trying to setup 2 network shares that exist on a server. One of the shares is mounted but when i try to mount the second share I am greeted with: # mount srv:/data/music /data/music srv:/data/music: RPCPROG_NFS: RPC: Program not registered Server Info: name: srv #cat /etc/exports:... (0 Replies)
Discussion started by: ezekiel61
0 Replies

9. Solaris

Problem with NFS

Hi All, I have shared a directory from Linux machine which will be accessible from other linux servers without any problem. But when I try to access ( ie mount) on other Solaris machine, it is giving below error. #mount -F nfs IP of nfs server:/share /localmountpoint nfs mount : mount:... (1 Reply)
Discussion started by: naw_deepak
1 Replies

10. AIX

NFS problem AIX6.1

Hello, I have a problem with an NFS file system. Both AIX servers are AIX6.1 and uses NFS version 3. The problem is that at some point the client server cannot connect to the NFS anymore and when i do df -k it displays the message NFS server <server> not responding still trying. i run the... (2 Replies)
Discussion started by: omonoiatis9
2 Replies
showmount(8)						      System Manager's Manual						      showmount(8)

NAME
showmount - Shows remote NFS compatible mounts on a host SYNOPSIS
showmount [-adeT] [-t nnn] [host] FLAGS
Lists all mount points in the form: hostname:dirpath. In this form, hostname is the name of a client that has remotely mounted a directory from an NFS server, and dirpath is the directory that has been mounted. Lists only directories that have been remotely mounted by clients. Shows host's exports list. Specifies an infinite timeout. The default timeout value is 25 seconds. Specifies a timeout value, in sec- onds. The default timeout value is 25 seconds. The default value for host is the current hostname. DESCRIPTION
The showmount command shows status information about the NFS server on host. By default, it prints the names of all hosts that have NFS file systems mounted from the server host. See NFS: Network File System Protocol Specification, RFC1094, Appendix A for a detailed description of the protocol. NOTES
The mountd daemon running on the server only has an idea of the actual mounts, since the NFS server is stateless. showmount will only dis- play the information as accurately as the mount daemon reports it. The default timeout value of 25 seconds can be too brief to read and verify an export list. If you receive timeout messages when using the showmount -e command, use either the -T or the -t options to increase the timeout value. FILES
Specifies the command path Contains a table of local file systems mounted by remote NFS clients RELATED INFORMATION
Commands: mount(8) Daemons: mountd(8) Files: mountdtab(4) delim off showmount(8)
All times are GMT -4. The time now is 06:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy