kofemann / simple-nfs

dcache nfs server to export regular file system
Apache License 2.0
14 stars 14 forks source link

NFS4ERR_MINOR_VERS_MISMATCH #17

Closed hassin23ayz closed 5 years ago

hassin23ayz commented 5 years ago

Hello , thanks for your library , i have run the project in intelliJ , and tried to mount as a client but the following error occurred at my client side

ayx@ayx-ThinkPad:~$ sudo mount -v 192.168.0.105:/home/ayx/AAA/nfs-Share-by-Java-App /mnt/sharedFolder_client
mount.nfs: timeout set for Sun Oct  6 00:04:48 2019
mount.nfs: trying text-based options 'vers=4.2,addr=192.168.0.105,clientaddr=192.168.0.105'
mount.nfs: mount(2): Protocol not supported
mount.nfs: trying text-based options 'vers=4.1,addr=192.168.0.105,clientaddr=192.168.0.105'

on the server side this was the log

2019-10-06 00:02:43.590 [] [main] INFO  o.d.o.r.OncRpcSvc - Registering new program [100005:3] : org.dcache.nfs.v3.MountServer@5b7a7f33
2019-10-06 00:02:43.595 [] [main] INFO  o.d.o.r.OncRpcSvc - Registering new program [100003:3] : org.dcache.nfs.v3.NfsServerV3@dc7df28
2019-10-06 00:02:43.595 [] [main] INFO  o.d.o.r.OncRpcSvc - Registering new program [100003:4] : org.dcache.nfs.v4.NFSServerV41@30f842ca
2019-10-06 00:02:48.779 [/192.168.0.105:795] [nfs@2049 (1)] INFO  o.d.n.v.NFSServerV41 - NFS operation failed: NFS4ERR_MINOR_VERS_MISMATCH : Unsupported minor version [2]

my exports is #/home/ayx/AAA/nfs-Share-by-Java-App *(rw,no_root_squash)

would you help me where is i am wrong

hassin23ayz commented 5 years ago

i was trying with NFS v4.2 so i am closing this issue