on 02-07-2013 7:34 PM
Hello
NFS permission issue for global SAP directory in distributed system installation based on RHEL6.x86_64
chown invalid argument....
How must be set /etc/exports from nfs server and fstab for nfs client ?
Thanks for your support
Eric
This is an example for the /etc/exports file for /usr/sap/trans export via NFS on the prod system:
/usr/sap/trans 1.2.3.4(rw,no_root_squash) 1.2.3.5(rw,no_root_squash)
1.2.3.4 is dev
1.2.3.5 is qa
This is an example entry for the nfs import of /usr/sap/trans on DEV system:
prod_hostname:/usr/sap/trans /usr/sap/trans nfs soft,intr,noexec,nosuid,auto,user 0 0
After creating the entry in the exports file on prod you have to reload/restart all relevant services for NFS on the prod system.
Import/mount of the NFS file system should work automatically on the DEV/QA system, but it doesn't do any harm to restart all NFS services on the NFS clients as well.
Best regards,
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Basically yes, you just have to adjust the path to the directory that is to be exported from one server to another one.
One more thing...
The error you mentioned can happen when using NFS version 4. If you switch to NFS version 3 the error shouldn't occur anymore.
In fstab you have to add the following option to achieve this:
nfsvers=3
The complete line looks like this after the change:
prod_hostname:/usr/sap/trans /usr/sap/trans nfs soft,intr,noexec,nosuid,auto,user,nfsvers=3 0 0
As said earlier, you just have to change the path specifications and hostname to match your needs.
Hi Eric,
Please refer link https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Storage_Administratio...
It has guidance on NFS file systems and its relevant entries in fstab.
Hope this helps.
Regards,
Deepak Kori
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.