NFS shares accessible from Nautilus, but not from applications

I'm having some issues using NFS to access files on a small PC via a home LAN.

It appears to work perfectly when I'm using Nautilus or the command line, but when I try to save an application such as LibreOffice or GIMP, I get a few second delay, then a "Write error". When opening an existing file from the NFS share it tells me "This file is locked for editing by Unknown User".

These applications can open and save files on local drives without problems.

My current workaround is to open as Read-online and save the file onto my desktop, then use Nautilus to copy it to the location from where I originally opened it.

My local PC is using Ubuntu 20.04, and the server says it's on: "5.3.0-53-generic #47~18.04.1-Ubuntu SMP"

My local /etc/fstab entry:

192.168.50.186:/nas/shared /shared nfs rsize=8192,wsize=8192,timeo=14,intr,nfsvers=3

On the server my /etc/exports file:

/nas/shared   192.168.50.186/255.255.255.0(rw,insecure,no_subtree_check,async)

In 18.04 this problem only affected LibreOffice, but now it also affects the GIMP and Krita and probably others.

3
задан 17 July 2020 в 12:17

1 ответ

на основе ссылки (и проведенного вами тестирования) добавьте еще одно монтирование в подкаталог вашего общего ресурса из вашего домашнего каталога и протестируйте его с помощью libreoffice.
(вы можете изменить текущее монтирование, но я стараюсь не быть слишком агрессивным к вашей текущей настройке)

192.168.50.186:/nas/shared/Libreofficestuff /home/yourusername/sharefoldername nfs rsize=8192,wsize=8192,timeo=14,intr,nfsvers=3

Я думаю, вам, возможно, придется использовать subtree_check

/nas/shared   192.168.50.186/255.255.255.0(rw,insecure,subtree_check,async)
0
ответ дан 30 July 2020 в 22:13

Другие вопросы по тегам:

Похожие вопросы: