Unable to mount NFS share

Hello,

Hope someone can help me out, I have installed a new copy of Fedora 41 on a client system and I am trying to mount some network shares from a Fedora 40 system, but having no success.

My configuration is as follows:

Server:
Info:
2 Nics, 1- IP add 10.100.1.8, 2 - IP address 10.200.1.8
Fedora 41 installed (new)

nfs-utils installed
nfs services enabled and running

the following has been added to a file in /etc/exports.d

/media/indian_movies *(rw,sync,crossmnt,no_subtree_check)
/media/tv_shows *(rw,sync,no_subtree_check,no_root_squash)
/media/movies *(rw,sync,no_subtree_check)
/media/music *(rw,sync,no_subtree_check)
/media/photos (rw,sync,no_subtree_check)
/media/books *(rw,sync,no_subtree_check)
/media/ended_tv_shows *(rw,sync,no_root_squash,no_subtree_check)
/media/download *(rw,sec=sys,sync,no_root_squash)

Client
Info:
2 Nics, 1- IP add 10.100.1.9, 2 - IP address 10.200.1.9
Fedora 40 installed

on the client system i have added the following in the /etc/fstab:

10.200.1.8:/media/tv_shows /media/tv_shows nfs4 _netdev 0 0
10.200.1.8:/media/tv_shows /media/tv_shows nfs4 _netdev 0 0
10.200.1.8:/media/ended_tv_shows /media/ended_tv_shows nfs4 _netdev 0 0

However on bootup the mounts fail to mount, if i run showmount -e 10.200.1.8 i get the following:

showmount -e 10.200.1.8
Export list for 10.200.1.8:
/media/download       *
/media/ended_tv_shows *
/media/books          *
/media/photos         *
/media/music          *
/media/movies         *
/media/tv_shows       *
/media/indian_movies  *

and if i try to manually mount the share the mount command sits with the following information:

mount -v 10.200.1.8:/media/photos /mnt
mount.nfs: timeout set for Fri Mar  7 12:53:49 2025
mount.nfs: trying text-based options 'vers=4.2,addr=10.200.1.8,clientaddr=10.200.1.9'

I have found that the mount works if i give the command:

mount -t nfs -o vers=3 10.200.1.8:/media/movies /media/movies/

but I would like to use NFS4 or higher…

any suggestions/thoughts?

It might be a firewall problem. Also, you could try a lower subversion of nfs4 (e.g. vers=4.1). SELinux is a common gotcha as well. Watch the logs on the server for SELinux denials.

1 Like