Hi, James
Thank you for the link.
Since the problem really exists, the only option is to
use a periodical querying the mount point like you recommend or like
I did using while-loop.
11.04.2021 21:11, James Stark пишет:
> Hi Maxim,
>
> I ran into the problem with the nfs mounts on linux hanging a few
> months ago, when the Linux distro that I'm running (Void) on the NFS
> client dropped UDP NFS mounts. At the time I found this post that
> explains the situation:
>
> http://openbsd-archive.7691.n7.nabble.com/nfsd-hangs-Linux-tcp-clients-after-5-minutes-idle-td402844.html
>
> As a work around, I've set up a cron script that stat's the mount
> point every four minutes. That stops the mount from hanging.
>
> I hope that helps.
>
> James
>
> On Sun, Apr 11, 2021 at 2:04 AM Родин Максим <a23s4a2008@yandex.ru> wrote:
>>
>> Hello
>> I have an NFS server on OpenBSD 6.8 stable
>> which exports a folder with default settings.
>> I have a linux mint client which mounts a share from this NFS server
>> with these settings:
>> sudo mount -o wsize=8192,rsize=8192 192.168.1.65:/big
>> /home/user/store
>> which gives a decent speed at about 50-60MB/s both sides which seem ok
>> for me.
>> The problem is: when the mount point is not used for a while (5 minutes
>> and more) the share becomes unresponsive and the only way to unmount the
>> share is to do
>> sudo umount -lf /home/user/store
>> After that I can mount the share once again.
>> When I imitate using the share on client using
>> while :; do ls /home/user/store/ && echo "OK" && sleep 3 ; done;
>> the share remains responsive all the time and shows no problems.
>>
>> What tweaks(settings) on the client(server) am I missing in my setup
>> to keep the mount point responsive?
>> --
>> Best regards
>> Maksim Rodin
>>
--
С уважением,
Родин Максим
No comments:
Post a Comment