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  <2017 Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
<== Date ==> <== Thread ==>

Subject: RE: Problem NFS mounting Centos 7 file systems from vxWorks 5.5
From: Mark Rivers <rivers@cars.uchicago.edu>
To: Torsten Bögershausen <torsten.bogershausen@esss.se>, "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Thu, 19 Jan 2017 12:51:36 +0000
> 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 [torsten.bogershausen@esss.se]
Sent: Thursday, January 19, 2017 12:37 AM
To: Mark Rivers; tech-talk@aps.anl.gov
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 Ralph Lange
Re: Problem NFS mounting Centos 7 file systems from vxWorks 5.5 Jörn Dreyer
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

Navigate by Date:
Prev: Re: Problem NFS mounting Centos 7 file systems from vxWorks 5.5 Jeong Han Lee
Next: Re: Problem NFS mounting Centos 7 file systems from vxWorks 5.5 Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
Navigate by Thread:
Prev: Re: Problem NFS mounting Centos 7 file systems from vxWorks 5.5 Torsten Bögershausen
Next: Re: Problem NFS mounting Centos 7 file systems from vxWorks 5.5 Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
ANJ, 14 Feb 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·