Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Loss off network shares on 8.2
#41
(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

Code:
pi@m82arm64:~ $ sudo exportfs
/media/RALLY8GB
        <world>
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.


@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
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
Loss off network shares on 8.2 - by evanbutson - 09-18-2022, 11:12 PM
RE: Loss off network shares on 8.2 - by Falco - 09-19-2022, 02:13 PM
RE: Loss off network shares on 8.2 - by Falco - 09-19-2022, 02:53 PM
RE: Loss off network shares on 8.2 - by R2ots - 09-20-2022, 09:53 AM
RE: Loss off network shares on 8.2 - by R2ots - 09-20-2022, 07:14 PM
RE: Loss off network shares on 8.2 - by yannig - 09-20-2022, 03:19 PM
RE: Loss off network shares on 8.2 - by yannig - 09-20-2022, 04:15 PM
RE: Loss off network shares on 8.2 - by didier573 - 09-20-2022, 06:25 PM
RE: Loss off network shares on 8.2 - by didier573 - 09-21-2022, 06:20 AM
RE: Loss off network shares on 8.2 - by Falco - 09-22-2022, 09:43 AM
RE: Loss off network shares on 8.2 - by didier573 - 09-22-2022, 04:29 PM
RE: Loss off network shares on 8.2 - by didier573 - 09-21-2022, 12:01 PM
RE: Loss off network shares on 8.2 - by didier573 - 09-21-2022, 03:42 PM
RE: Loss off network shares on 8.2 - by didier573 - 09-21-2022, 12:31 PM
RE: Loss off network shares on 8.2 - by didier573 - 09-21-2022, 04:10 PM
RE: Loss off network shares on 8.2 - by didier573 - 09-21-2022, 04:48 PM
RE: Loss off network shares on 8.2 - by didier573 - 09-21-2022, 07:15 PM
RE: Loss off network shares on 8.2 - by didier573 - 09-21-2022, 08:29 PM
RE: Loss off network shares on 8.2 - by didier573 - 09-22-2022, 06:06 AM
RE: Loss off network shares on 8.2 - by didier573 - 09-22-2022, 06:15 AM
RE: Loss off network shares on 8.2 - by Tim Curtis - 09-22-2022, 01:05 PM
RE: Loss off network shares on 8.2 - by didier573 - 09-22-2022, 04:35 PM
RE: Loss off network shares on 8.2 - by didier573 - 09-22-2022, 06:38 PM
RE: Loss off network shares on 8.2 - by didier573 - 09-22-2022, 08:38 PM
RE: Loss off network shares on 8.2 - by didier573 - 09-23-2022, 06:10 AM
RE: Loss off network shares on 8.2 - by Falco - 09-23-2022, 07:37 AM
RE: Loss off network shares on 8.2 - by Nutul - 09-23-2022, 10:34 AM
RE: Loss off network shares on 8.2 - by rph-r - 10-30-2022, 08:26 PM
RE: Loss off network shares on 8.2 - by rph-r - 10-30-2022, 10:03 PM
RE: Loss off network shares on 8.2 - by rph-r - 10-31-2022, 09:19 AM
RE: Loss off network shares on 8.2 - by rph-r - 10-31-2022, 07:51 PM
RE: Loss off network shares on 8.2 - by rph-r - 10-31-2022, 09:14 PM
RE: Loss off network shares on 8.2 - by rph-r - 10-31-2022, 09:36 PM
RE: Loss off network shares on 8.2 - by rph-r - 11-01-2022, 11:06 PM
RE: Loss off network shares on 8.2 - by Sehnsucht - 11-01-2022, 09:06 PM
RE: Loss off network shares on 8.2 - by rph-r - 11-02-2022, 11:56 AM
RE: Loss off network shares on 8.2 - by DRONE7 - 11-02-2022, 06:57 AM
RE: Loss off network shares on 8.2 - by rph-r - 11-02-2022, 12:09 PM
RE: Loss off network shares on 8.2 - by rph-r - 11-02-2022, 05:26 PM
RE: Loss off network shares on 8.2 - by rph-r - 11-02-2022, 10:57 PM
RE: Loss off network shares on 8.2 - by rph-r - 11-05-2022, 10:50 AM
RE: Loss off network shares on 8.2 - by Sehnsucht - 11-11-2022, 01:05 PM
RE: Loss off network shares on 8.2 - by DRONE7 - 11-04-2022, 08:14 AM

Forum Jump: