Arotex Posted March 24 Share Posted March 24 Hello, I'm encountering an issue while attempting to mount an NFS share on my Linux laptop. Here's the scenario: + Successful mounting occurs when using WireGuard or a direct connection between the server and laptop. - However, when within the same network but connected via WiFi or LAN, the mount fails to proceed. I'm seeking assistance to resolve this issue. Thank you. Quote Link to comment
trurl Posted March 24 Share Posted March 24 Do you mean you want to let Unraid access a share on your laptop? The usual way to mount a network share in Unraid is with the Unassigned Devices plugin. How are you trying to do it? Quote Link to comment
Arotex Posted March 24 Author Share Posted March 24 no the unraid Server has the share on it. And i want to mount it on my laptop. It is a normal share (/mnt/user/...) and on my laptop it should be mounted for example in the folder /mnt/nfs/... Quote Link to comment
dlandon Posted March 24 Share Posted March 24 What is your mount command on the laptop? What does the laptop log show after attempting a mount? Quote Link to comment
Arotex Posted March 24 Author Share Posted March 24 I tried it with the following methodes: - fstab entry (SERVER_IP:/mnt/user/SHARE_NAME /mnt/nfs/SHARE_NAME nfs4 defaults,user,exec,auto,nofail 0 0) and the mount -a or mount -va command i played already around with the parameters i tried just nfs or just default or auto etc everything didnt work. - sudo mount -v SERVER_IP:/mnt/user/SHARE_NAME /mnt/nfs/SHARE_NAME both commands failed and replayed : mount.nfs: timeout set for Sun Mar 24 16:01:46 2024 mount.nfs: trying text-based options 'vers=4.2,addr=SERVER_IP,clientaddr=CLIENT_IP' But when I connected via Wireguard both commands work. Or I plug in an LAN-cable directly into Server and Laptop Quote Link to comment
dlandon Posted March 24 Share Posted March 24 31 minutes ago, dlandon said: What does the laptop log show after attempting a mount? Please answer this question previously asked. Can you ping the Unraid server when connected to WiFi or LAN and the mount fails? Quote Link to comment
Arotex Posted March 24 Author Share Posted March 24 The Ping is successful What log file has the important information you need? Quote Link to comment
Arotex Posted March 30 Author Share Posted March 30 I tried to find something in the logs I found the following in the syslog when i use nfs4 in fstab and mount -va Mar 30 09:01:03 [PC_NAME] mount[978]: mount.nfs4: Network is unreachable Mar 30 09:01:03 [PC_NAME] mount[983]: mount.nfs4: Network is unreachable Mar 30 09:01:03 [PC_NAME] mount[973]: mount.nfs4: Network is unreachable Mar 30 09:01:03 [PC_NAME] systemd[1]: mnt-nfs-[SHARE_NAME].mount: Mount process exited, code=exited, status=32/n/a Mar 30 09:01:03 [PC_NAME] systemd[1]: mnt-nfs-[SHARE_NAME].mount: Failed with result 'exit-code'. Mar 30 09:01:03 [PC_NAME] mount[989]: mount.nfs4: Network is unreachable Mar 30 09:01:03 [PC_NAME] systemd[1]: Failed to mount /mnt/nfs/[SHARE_NAME]. I get this following terminal output when i use just nfs in fstab mount.nfs: trying text-based options 'timeo=50,noresvport,nolock,vers=4.2,addr=[SERVER_IP],clientaddr=[CLIENT_IP]' mount.nfs: mount(2): Operation not permitted mount.nfs: trying text-based options 'timeo=50,noresvport,nolock,addr=[SERVER_IP]' mount.nfs: prog 100003, trying vers=3, prot=6 mount.nfs: trying [SERVER_IP] prog 100003 vers 3 prot TCP port 2049 mount.nfs: prog 100005, trying vers=3, prot=17 mount.nfs: trying [SERVER_IP] prog 100005 vers 3 prot UDP port 57862 mount.nfs: mount(2): Permission denied mount.nfs: Operation not permitted Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.