On Fri, 1 Oct 2021 13:23:56 +0200 (CEST) "Carlos E. R." <robin.listas@telefonica.net> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
El 2021-10-01 a las 12:45 +0200, Wolfgang Mueller escribió:
On Fri, 1 Oct 2021 at 11:38:29 +0200, Carlos E. R. wrote:
On 01/10/2021 10.00, Wolfgang Mueller wrote:
...
I have deactivated the alias "nfsserver" (without hyphen).
But that did not help, the NFS server does not work, i.e. it is impossibile to NFS-mount a file on a different computer.
What is wrong? Any help is welcome.
First step, run "systemctl status nfs-server" and paste results here.
Please find the response of "systemctl status nfs-server" on http://www.ariannuccia.de/temp/systemctl_status_nfs-server.BAD
For comparison, the response of "systemctl status nfs-server" has been listed for a computer where the nfs server works correctly: http://www.ariannuccia.de/temp/systemctl_status_nfs-server.GOOD
As far as I can see, both are good.
Try showmount. See mine, server running but nothing connected.
minas-tirith:~ # systemctl status nfs-server.service ● nfs-server.service - NFS server and services Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; disabled; vendor preset: disabled) Drop-In: /usr/lib/systemd/system/nfs-server.service.d └─nfsserver.conf, options.conf /run/systemd/generator/nfs-server.service.d └─order-with-mounts.conf Active: active (exited) since Fri 2021-10-01 13:15:47 CEST; 2min 34s ago Process: 32432 ExecStart=/usr/sbin/rpc.nfsd $NFSD_OPTIONS (code=exited, status=0/SUCCESS) Process: 32431 ExecStartPre=/usr/sbin/exportfs -r (code=exited, status=0/SUCCESS) Main PID: 32432 (code=exited, status=0/SUCCESS) Tasks: 0 CGroup: /system.slice/nfs-server.service minas-tirith:~ # showmount Hosts on minas-tirith.valinor: minas-tirith:~ # showmount --all All mount points on minas-tirith.valinor: minas-tirith:~ # minas-tirith:~ # showmount --exports Export list for minas-tirith.valinor: /home 192.168.1.14/24 / 192.168.1.127,192.168.1.16,192.168.1.14 minas-tirith:~ #
Finally, post your /etc/exports file.
You could also try to drop your firewall temporarily.
As Per said, diagnostics from the client end can also be helpful.