Answer the question
In order to leave comments, you need to log in
NFS - why did RW access disappear?
Home network, 2 computers with Debian, on one (server) an NFS server is up. Previously, there was only one "ball" with RW access, then added a few more with RO access. Now on the client and the first ball has lost write access. Everything is right, under this user everything is written locally on the server.
/etc/exports on the server:
/data/multimedia 192.168.0.2(ro,sync,no_subtree_check,all_squash)
/data/multimedia/Obmen 192.168.0.2(rw,no_subtree_check) 192.168.0.3(rw,sync,all_squash,no_subtree_check)
/data/backup 192.168.0.2(ro,sync,no_subtree_check,all_squash)
/data/Backup 192.168.0.2(ro,sync,no_subtree_check,all_squash)
/data/multimedia/Download 192.168.0.1(rw,sync,subtree_check,all_squash)
# NFS - Obmen
server:/data/multimedia/Obmen /mnt/obmen nfs4 noauto,x-systemd.automount,x-systemd.device-timeout=10,timeo=14,user,rw 0 0
# NFS - Films
server:/data/Films/Films /mnt/films nfs4 noauto,x-systemd.automount,x-systemd.device-timeout=10,timeo=14,user,ro 0 0
# NFS - multimedia
server:/data/multimedia /mnt/Mmedia-server nfs4 noauto,x-systemd.automount,x-systemd.device-timeout=10,timeo=14,user,ro 0 0
Answer the question
In order to leave comments, you need to log in
It's actually not good to export subdirectories. Try putting fsid=0 on the root directory
/data/multimedia 192.168.0.2(ro,fsid=0,sync,no_subtree_check,all_squash)
/data/multimedia/Obmen 192.168.0.2(rw,no_subtree_check) 192.168.0.3(rw,sync,all_squash,no_subtree_check)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question