I don't know if it matters, but you don't need the "4" in there, can
just use "nfs" as the type.  My NFS (v4) mounts are working fine on
Fedora 43 with entries like:

'nfs' filesystem type is for NFS v3; NFS v4 mounts are type 'nfs4

cat /proc/filesystems | grep nfs
        nodev   nfs
        nodev   nfs4

e.g., here, for an nfs4 mount via autofs,

        grep shared /etc/auto.nfs4
                nas01  
-fstype=nfs4,vers=4.1,_netdev,retry=10,rw,async,sec=sys,exec,nosuid,nodev,soft,lock,cto,fsc,proto=tcp,port=2049,rsize=1048576,wsize=1048576,browse
  nas01.loc:/volume1/shared

results in

        mount | grep nas01
                nas01.loc:/volume1/shared on /mnt/NFS4/nas01 type nfs4 
(rw,nosuid,nodev,relatime,vers=4.1,rsize=131072,wsize=131072,namlen=255,soft,fatal_neterrors=none,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=10.15.01.17,fsc,local_lock=none,addr=10.15.01.47,_netdev)

with spec'd fs type, correctly,

        mount -t nfs4 | grep nas01
                nas01.loc:/volume1/shared on /mnt/NFS4/nas01 type nfs4 
(rw,nosuid,nodev,relatime,vers=4.1,rsize=131072,wsize=131072,namlen=255,soft,fatal_neterrors=none,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=10.15.01.17,fsc,local_lock=none,addr=10.15.01.47,_netdev)

but

        mount -t nfs | grep nas01
                (empty)



--
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to