[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: open on nfs server -> resource temporarily unavailable



Andrey wrote:

> me@cli:~$ mount
> ...
> serv:/home/me/data-t on /home/me/dt type nfs4 (ro,nosuid,nodev,noexec,relatime,sync,vers=4.0,rsize=1048576,wsize=1048576,namlen=255,acregmin=0,acregmax=0,acdirmin=0,acdirmax=0,hard,noac,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.209.174,local_lock=none,addr=192.168.238.113,user=me)
> 
> It could be provoked in a few minutes by running on the server serv:~$
> while : ; do date > data-t/now.txt; sleep 1; done
> 
> while on the client computer
> me@cli:~$ while : ; do cat dt/now.txt; sleep 1; done
> 
> After a while (it's unpredictable might take up 10 minutes or a few seconds,
> but in average about 2 minutes)
> on the server I get:
> data-t/now.txt: Resource temporarily unavailable

It's likely that the server is granting the client a read delegation
on the file, which would have to be recalled before the server can write
to the file.

Try mounting with version 3 instead of version 4.

Is there much of a network delay between the client and server?  If not,
I'd open a bug.

regards,
mike


Reply to: