root@10.0.0.1:~# service rpcbind start && service rpcbind enable
root@10.0.0.1:~# service nfsd start && service nfsd enable
but I get this output for the service nfsd start
chown: unknown user/group nfs:nfs
exportfs: /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:/mnt".
Assuming default behaviour ('no_subtree_check').
NOTE: this default has changed since nfs-utils version 1.0.x
rpc.nfsd: writing fd to kernel failed: errno 111 (Connection refused)
rpc.nfsd: unable to set any sockets for nfsd
>> mount.exe -o anon \\10.0.0.1\mnt\sda4\ n:
Network Error - 1225
Type 'NET HELPMSG 1225' for more information.
>> NET HELPMSG 1225
The remote computer refused the network connection.
Obviously with portmapper not running clients cannot determine other rpc
daemon ports, not mount or lock anything.
Could you explain it in a simpler way? Still, I wonder why the portmapper is not running, could you help me figure out why?
I suppose I don't have a clean install right now. I made a configuration backup last month. (Luci → System → Backup/Flash Firmware → Backup) At the time I didn't have some of the current packages installed in my openwrt system nor an NFS share, but I still decided to restore those old settings. (Luci → System → Backup/Flash Firmware → Restore // no factory reset before restore, I flashed an ext4 image instead of a squashfs one)
The portmapper and the NFS share I set up correctly 2 weeks ago got messed up after I restored the configuration settings from last month, hence this ticket.