You are not logged in.
Pages: 1
Topic closed
I've followed the instructions on the arch wiki [1] for configuring my NFS server. I have enabled the rpcbind.service and nfs-server.service but nfs-server.service never starts at boot. On a fresh boot, it looks like this:
sudo systemctl status nfs-server.service
● nfs-server.service - NFS server and services
Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; enabled)
Active: inactive (dead)
and rpcbind.server looks like this:
sudo systemctl status rpcbind.service
● rpcbind.service - RPC bind service
Loaded: loaded (/usr/lib/systemd/system/rpcbind.service; enabled)
Active: active (running) since Mon 2014-11-03 10:54:06 PST; 3 days ago
Process: 431 ExecStart=/usr/bin/rpcbind -w ${RPCBIND_ARGS} (code=exited, status=0/SUCCESS)
Main PID: 442 (rpcbind)
CGroup: /system.slice/rpcbind.service
└─442 /usr/bin/rpcbind -w
I can do a sudo systemctl start nfs-service.service and everything starts up just fine and dandy:
sudo systemctl status nfs-server.service
● nfs-server.service - NFS server and services
Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; enabled)
Active: active (exited) since Fri 2014-11-07 09:01:17 PST; 34s ago
Process: 4494 ExecStart=/usr/sbin/rpc.nfsd $RPCNFSDARGS (code=exited, status=0/SUCCESS)
Process: 4491 ExecStartPre=/usr/sbin/exportfs -r (code=exited, status=0/SUCCESS)
Main PID: 4494 (code=exited, status=0/SUCCESS)
Nov 07 09:01:17 mitchelh-linux exportfs[4491]: exportfs: /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_...mnt".
Nov 07 09:01:17 mitchelh-linux exportfs[4491]: Assuming default behaviour ('no_subtree_check').
Nov 07 09:01:17 mitchelh-linux exportfs[4491]: NOTE: this default has changed since nfs-utils version 1.0.x
Hint: Some lines were ellipsized, use -l to show in full.
Any ideas why nfs-server.service isn't starting?
[1] https://wiki.archlinux.org/index.php/NFS
Last edited by mitch_feaster (2014-11-12 20:43:39)
Offline
It seems there's a bug if you have enabled NFS-Server and NFS-Client that's preventing the server-part from autostart. After reading the following post, my problem was solved. Maybe it works for you too.
Offline
Yep, that fixes it. Thanks!
Offline
I have the same issue right now. The above fix doesn't work for me (nfs-client neither started, nor enabled).
systemctl status nfs-server
* nfs-server.service - NFS server and services
Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; enabled; vendor preset: disabled)
Active: inactive (dead)
uname -a
Linux alarmpi 4.19.37-2-ARCH #1 SMP PREEMPT Fri May 3 01:14:02 UTC 2019 armv7l GNU/Linux
Running
systemctl start nfs-servers
starts the nfs server
-----
any ideas how can I fix it?
Offline
Please do not necrobump, especially threads marked [SOLVED].
In addition, Arch ARM is a separate distribution. Please ask on their forum.
These forums are for Arch Linux x86_64 ONLY. Not Antergos, or Apricity, or Manjaro, or any of the "easy Arch installers", nor Arch-ARM; nothing other than vanilla 64-bit Arch Linux. Ask those communities for support. If you have installed Arch, please read the rules before posting. README: Forum Rules.
https://wiki.archlinux.org/index.php/Co … ort_*only*
Closing.
Offline
Pages: 1
Topic closed