On Thu, 2020-07-16 at 10:03 +0800, Ed Greshko wrote:
> On 2020-07-15 22:20, Braden McDaniel wrote:
> > I'd like to support a CentOS 7 client from a Fedora 32 NFS4 server.
> >  Other Fedora 32 clients can mount the volume just fine using:
> > 
> >    $ mount -t nfs4 my-server:/my-export-root/foo /foo
> > 
> > But when I try this from a CentOS 7 client, I get:
> > 
> >    mount.nfs4: Operation not permitted
> > 
> > Is there any bit of configuration I can do on the client and/or
> > server
> > to make this work, short of allowing fallback to pre-4 NFS
> > versions?
> 
> I think you need to show a bit more of your configuration.  I just
> configured a nfs server on an
> F32 system and was able to mount on a centos7 system just fine.
> 
> [egreshko@cos7 ~]$ cat /etc/centos-release
> CentOS Linux release 7.7.1908 (Core)
> [egreshko@cos7 ~]$ sudo mount f32k:/home/egreshko /mnt
> [egreshko@cos7 ~]$ df
> Filesystem              1K-blocks    Used Available Use% Mounted on
> /dev/mapper/centos-root  29861636 4256540  25605096  15% /
> /dev/vda1                 1038336  164476    873860  16% /boot
> f32k:/home/egreshko      29296640 8147200  19638272  30% /mnt
> 
> Or are you asking a different question.

Maybe. :-)

I am asking specifically about NFS4.  It is not obvious from your
example that the remote volume is being mounted using NFS4.

As for my configuration, in /etc/nfs.conf, I have set:

   [nfsd]
   vers2=n
   vers3=n

Apart from that, it has the Fedora 32 installation defaults.

/etc/exports looks like:

   /my-export-root/foo *(rw)

Unfortunately, I haven't been able to turn up any useful log messages
on either side.


-- 
Braden McDaniel <bra...@endoframe.com>
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to