09-22-2022, 01:05 PM
(09-21-2022, 11:52 PM)TheOldPresbyope Wrote: @Tim Curtis
An easier check of the active exports on an NFS server is sudo exportfs
For example, on my moOde 8.2.0 player with NFS server enabled and exporting a USB stick labeled RALLY8GB
Note, this is with the "default" Access setting. If I set Access to just my entire LAN, then instead of <world> one sees what I set: 10.0.0.0/24.Code:pi@m82arm64:~ $ sudo exportfs
/media/RALLY8GB
<world>
@didier573
1) It's a very bad idea to open port 2049 at your firewall, e.g., your router. This leaves you open to attacks from the outside world. The Internet is under siege by bad guys running what are called "port knocker" programs.
2) if you have enabled NFS file-sharing in System Config on your host moodeNAS then it should have port 2049 open even if you do not have any exportable USB storage devices connected. There's something not right here since you report
Code:Host: 192.168.1.17 (moodenas.home) Ports: 2049/closed/tcp//nfs///
3) you do not have to enable NFS file-sharing on your host moodeEND. It's a server setting, not a client setting.
Regards,
Kent
@TheOldPresbyope, the showmount command is run on the client while exportfs would be run on the server.
To verify the server is working check its status via systemd.
Code:
systemctl status nfs-server
# Example
pi@trx:~ $ systemctl status nfs-server
● nfs-server.service - NFS server and services
Loaded: loaded (/lib/systemd/system/nfs-server.service; disabled; vendor preset: enabled)
Active: active (exited) since Tue 2022-09-20 15:54:44 EDT; 1 day 17h ago
Process: 944 ExecStartPre=/usr/sbin/exportfs -r (code=exited, status=0/SUCCESS)
Process: 945 ExecStart=/usr/sbin/rpc.nfsd $RPCNFSDARGS (code=exited, status=0/SUCCESS)
Main PID: 945 (code=exited, status=0/SUCCESS)
CPU: 476ms
pi@trx:~ $ sudo exportfs
/media/VFAT128 192.168.1.0/24