Solved

NFS RW issues on AIX

Posted on 2014-10-05
3
891 Views
Last Modified: 2014-10-07
Hello Experts,

I have an NFS server which is a EMC device and on which one of the mounts that I need is exported as the below when I run "showmount -e server"

/data_db              (everyone)

I have an AIX server(server1) to which the share is auto mounted and here is the how its mounted..
data_db     -noac,rsize=32768,wsize=32768   server:/data_db

When i try to access the share by cd to /data_db I am able to read and write using oracle ID,

But I have 2 other AIX servers in this same enviroment, which are automounted with the same permissions but when I try to cd to /data_db I am able to list all the content but when I try to write this as oracle, I am not able to touch any file..

touch: 0652-046 Cannot create abc

so i tried to change the permissions and here is the error i get

chown oracle:dba data_db
chown: data_db: The file system has read permission only

before changing the permissions, these are the default permissions

drwxrwxrwx    7 root     system        24576 Oct 06 00:26 data_db

Thanks,
0
Comment
Question by:Ramu Shetty
  • 2
3 Comments
 
LVL 4

Expert Comment

by:popesy
ID: 40363077
Hi

Should we assume you unmounted the NFS share first prior to changing the ownership/permissions of the mount point?  I've had inconsistencies in the past when not having done this first, so that may be a reason.

1. Unmount the NFS share
2. Change owner/perms on mount point
3. Re-mount NFS share

Also, in the past for Oracle RMAN backups, I've used additional options to mount a share like;

rw,bg,hard,intr,timeo=600,sec=sys

Cheers, JP.
0
 

Author Comment

by:Ramu Shetty
ID: 40363645
Hello Popsey,

The share is a automount and also when I gave the permissions "-noac,rsize=32768,wsize=32768", other AIX server was able to read and write but some can read but not write

Thanks
0
 
LVL 4

Accepted Solution

by:
popesy earned 500 total points
ID: 40363736
Ramu

Yes, I see it is an automount and that one of your servers is able to write to the share, but I wondered that if locally on the servers that can only read and not read/write to the share have the permissions set correctly on the /data_db directory before the share is mounted.

Perhaps you can compare this with the server that is able to read/write.

If this is not the case, then perhaps a review of the mount options as mentioned will help.

Cheers, JP.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

708 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now