cancel
Showing results for 
Search instead for 
Did you mean: 

NFS permission issue

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hello Peter

Thanks four your feeback, this sample is available for SAP transport directory, did those nfs parameters are the same for NFS setting between SAP application Server and SAP database server in order to share the SAP global directory (central services).

Regards

Eric

Former Member
0 Kudos

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.

former_member188883
Active Contributor
0 Kudos

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