Solved

NFS RW issues on AIX

Posted on 2014-10-05
3
1,176 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
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 navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

626 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