The officially official Devuan Forum!

You are not logged in.

#1 2024-11-18 14:46:34

chomwitt
Member
Registered: 2019-09-24
Posts: 129  

nfs client timeo option not working

I want my devuan pc running an nfs client to be flexible in case the nfs server is not available .
By flexible i mean be able to bootup with no delays and my desktop file manager to work with
no hungups.

With my  (client)/etc/fstab
192.168.1.90:/home/chomwitt/NFSExport   /nfs/general   nfs   defaults,timeo=900,retrans=5,_netdev       0 0
my client will seemingly freeze at booting at the line:
starting nfs utilities : imapd, idmapd
and file managers freeze also in my desktop.

I tried in (client)/etc/fstab :
192.168.1.90:/home/chomwitt/NFSExport   /nfs/general   nfs   soft,timeo=30,retrans=5,  0 0
But again the client wont start (i mean booting my devuan pc) for many minutes as in my original settup

My latest try is:
192.168.1.76:/home/chomwitt/NFSExport   /nfs/general   nfs   soft,timeo=3   0  0
was better but still takes a minute.

My latest try is:
192.168.1.76:/home/chomwitt/NFSExport   /nfs/general   nfs   soft,retrans=1,retry=0,timeo=1   0  0
worked ok.
I found that on here

Unfortunately although i ve read the nfs man page i cant say that helped me.
For example timeo=30 should amount to 3 sec and not a minute that i experience.

Last edited by chomwitt (2024-11-19 15:28:05)


Devuan(Chimaera)(Daedalus)  DS+WM: XorgX11server+StumpVM

Offline

#2 2024-11-18 22:51:56

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,485  

Re: nfs client timeo option not working

Use autofs on the client instead of an fstab entry.
https://dev1galaxy.org/viewtopic.php?id=6561

Offline

Board footer