Re: NFS4: CentOS 7 client with a Fedora 32 server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <braden@xxxxxxxxxxxxx>
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux