Solved

NFS RW issues on AIX

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

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

777 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