Solved

NFS RW issues on AIX

Posted on 2014-10-05
3
1,013 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying 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

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

856 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