EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Problem NFS mounting Centos 7 file systems from vxWorks 5.5
From: Torsten Bögershausen <[email protected]>
To: Mark Rivers <[email protected]>, Ralph Lange <[email protected]>
Cc: EPICS Tech Talk <[email protected]>
Date: Thu, 19 Jan 2017 17:42:26 +0100

Search for
RPCMOUNTDOPTS

in
/etc/sysconfig/networking/nfs
and
/etc/init.d/nfs

But I am afraid that NFS 2 is no longer supported:
<https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html-single/Storage_Administration_Guide/index.html#ch-nfs>

OK, this is RHEL and not Centos, I guess that they only support V3 and V4,
or am I wrong ?




On 19/01/17 15:05, Mark Rivers wrote:
Are you sure that your CentOS 7 box exports the file system also as NFS 2?

That is probably the problem.  Do you know how to enable that?

Thanks,
Mark


________________________________
From: Ralph Lange [[email protected]]
Sent: Thursday, January 19, 2017 7:08 AM
To: Mark Rivers
Cc: EPICS Tech Talk
Subject: Re: Problem NFS mounting Centos 7 file systems from vxWorks 5.5

Hi Mark,

You do recall that VxWorks 5.5 only has an NFS 2 implementation, right?
(See http://www.vxdev.com/docs/vx55man/vxworks/netguide/c-remAccApps.html#87831)

Are you sure that your CentOS 7 box exports the file system also as NFS 2?

Cheers,
~Ralph



On Thu, Jan 19, 2017 at 1:51 PM, Mark Rivers <[email protected]<mailto:[email protected]>> wrote:
But one observation I made is that Centos 7 uses NFS 4.
To my understanding NFS 4 does not map the numerical user/group id
"1:1", by default, but wants to translate the remote user id into a local one in some way.
And this is a security improvement.

Can you mount Centos 7 -> Centos 7 ?

Yes, we have successfully NFS mounted Centos 7 file systems from the following systems:

Centos 7
RHEL 6
Fedora 9
Fedora 15
Fedora 23
vxWorks 6.9.4

The only one that does not seem to work is vxWorks 5.5.

Han wrote:
  Do you enable firewall service?

No, firewalld is not running.

Mark


________________________________________
From: Torsten Bögershausen [[email protected]<mailto:[email protected]>]
Sent: Thursday, January 19, 2017 12:37 AM
To: Mark Rivers; [email protected]<mailto:[email protected]>
Subject: Re: Problem NFS mounting Centos 7 file systems from vxWorks 5.5

Is anyone running vxWorks 5.5 with a Centos 7/ RHEL 7, etc. modern NFS server?
Not me.

But one observation I made is that Centos 7 uses NFS 4.
To my understanding NFS 4 does not map the numerical user/group id
"1:1", by default, but wants to translate the remote user id into a local one
in some way.
And this is a security improvement.

In short: We needed to tweak a file called /etc/idmapd.conf.
I can dig out the details later.

Can you mount Centos 7 -> Centos 7 ?



On 19/01/17 02:00, Mark Rivers wrote:
Folks,



We are mostly running VxWorks 6.9.4 now, and with that we have no problem NFS
mounting file systems on Centos 7.



However, we have a few IOCs that still need to run VxWorks 5.5.  These can
mount file systems on Centos 5 servers fine.  However, on Centos 7 we see the
following:



-          The NFS mount command from vxWorks succeeds with no error

-          showmount on the Centos 7 system shows that the vxWorks system has
mounted the file system OK

-          However, the vxWorks system cannot actually read or write any files
on the file system.



If I type the “ls” command in a valid directory I get



Cant’ open “null”.

Value=-1



The problem is not file permissions, it works fine if we are running the
identical IOC with vxWorks 6.9.4, and we have tried setting the files in that
directory to mode 755.



Is anyone running vxWorks 5.5 with a Centos 7/ RHEL 7, etc. modern NFS server?
If so, how does one get it to work?



Thanks,

Mark











Replies:
Re: Problem NFS mounting Centos 7 file systems from vxWorks 5.5 Andrew Johnson
References:
Problem NFS mounting Centos 7 file systems from vxWorks 5.5 Mark Rivers
Re: Problem NFS mounting Centos 7 file systems from vxWorks 5.5 Torsten Bögershausen
RE: Problem NFS mounting Centos 7 file systems from vxWorks 5.5 Mark Rivers
Re: Problem NFS mounting Centos 7 file systems from vxWorks 5.5 Ralph Lange
RE: Problem NFS mounting Centos 7 file systems from vxWorks 5.5 Mark Rivers

Navigate by Date:
Prev: Re: Problem NFS mounting Centos 7 file systems from vxWorks 5.5 Andrew Johnson
Next: Re: Problem NFS mounting Centos 7 file systems from vxWorks 5.5 Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Problem NFS mounting Centos 7 file systems from vxWorks 5.5 Andrew Johnson
Next: Re: Problem NFS mounting Centos 7 file systems from vxWorks 5.5 Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
ANJ, 21 Dec 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·