HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

NFS error

 
Mahesh Babbar
Frequent Advisor

NFS error

Hi All,
I have faced a scenario which is strange. I have exported /sapmnt mount point from my nfs server with options of -root=host1:host2--

the /sapmnt directory has 777 permission.

I have mounted the same on all my nfs clients.

And tried to change the permission of /sapmnt to 755 from host1

i got the error "not the owner".

But the same is working with host2.

Then i checked two hosts and find a difference in their gateways.

Then i changed the gateway of host1 and it continue to work the permission.

May i have some good comments on this scenario.

What is the relation between NFS permission and gateway
4 REPLIES

Re: NFS error

Are these host1 & host2 strings in -root=, FQDNs?
Michal Kapalka (mikap)
Honored Contributor

Re: NFS error

Hi,

try to mount it under user that SAP is running,

ll /sapmnt ( there should be name of SAP instance+prefix )

example : SAPsid = EA1

/sapmnt ... ea1adm:sapsys


on the host1 ... make as root : su - eaiadm

and them mount the exported FS.


example : /etc/exports

/export/sapmnt/SAPsid -access=hosts1:host2:hostxxx


Mahesh Babbar
Frequent Advisor

Re: NFS error

The Hosts are eux154 euxs51

i changed the gate way and it is working .But why it is so?
Steven E. Protter
Exalted Contributor

Re: NFS error

Shalom,

To your last question.

I would say based on all the data it is the
DNS structure of your corporate LAN.


Take a look at /etc/nsswitch.conf see if files name resolution takes precedence over DNS.

This is a good idea and lets the Unix server do what it does better than windoze.

Could also be a conflict between the two host files on host1 and host2. They probably should be consistent. You may not in either event be connecting to the server you think you are connecting to.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com