Solved

NFS RW issues on AIX

Posted on 2014-10-05
3
939 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
CPU monthly average? 12 105
Help stop mail server from sending spam. 27 122
how to monitor remote shell execution on linux 9 97
Linux performance issues with 100% swap usage, etc 15 90
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
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…
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.
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.

932 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

11 Experts available now in Live!

Get 1:1 Help Now