NFS has been working for more than a year with the current configuration but has recently developed this issue:
Ubuntu 20.04 Kernel 5.40.0-40 NFS nfs-kernel-server/focal-updates,focal-security,now 1:1.3.4-2.5ubuntu3.3 amd64 [installed]
systemctl restart nfs-server
Failed to restart nfs-server.service: Transaction order is cyclic. See system logs for details.
See system logs and 'systemctl status nfs-server.service' for details.
systemctl status :
systemctl status nfs-server
nfs-server.service - NFS server and services
Loaded: loaded (/lib/systemd/system/nfs-server.service; enabled; vendor preset: enabled)
Drop-In: /run/systemd/generator/nfs-server.service.d
└─order-with-mounts.conf
Active: inactive (dead)
Jul 03 06:37:38 acer systemd[1]: export-3T.mount: Found ordering cycle on nfs-server.service/start
Jul 03 06:37:38 acer systemd[1]: export-3T.mount: Found dependency on export-3T.mount/start
Jul 03 06:37:38 acer systemd[1]: export-3T.mount: Unable to break cycle starting with export-3T.mount/start
Jul 03 06:43:47 acer systemd[1]: export-3T.mount: Found ordering cycle on nfs-server.service/start
Jul 03 06:43:47 acer systemd[1]: export-3T.mount: Found dependency on export-3T.mount/start
Jul 03 06:43:47 acer systemd[1]: export-3T.mount: Unable to break cycle starting with export-3T.mount/start
From journal
systemd[1]: Requested transaction contains an unfixable cyclic ordering dependency: Transaction order is cyclic. See system logs for det>
systemd[1]: export-3T.mount: Unable to break cycle starting with export-3T.mount/start
systemd[1]: export-3T.mount: Found dependency on export-3T.mount/start
systemd[1]: export-3T.mount: Found ordering cycle on nfs-server.service/start
/etc/fstab
UUID=uid /mnt/3T ext4 defaults 0 0
/mnt/3T /export/3T nfs bind 0 0
/etc/exports
/export/3T 10.0.0.0/24(rw,nohide,insecure,no_subtree_check,async)
fstab
andexports
entries. – Stephen Boston Jul 03 '20 at 15:533T
under a remote dir?/export/3T
is local to the same host that is mounting3T
to/mnt
. I nfs-export from the/export/
directory. I don't understand how that makes/export
a remote directory? I don't doubt you, but please explain. – Stephen Boston Jul 03 '20 at 16:25nfs bind
infstab
. may be you want to look at Gille's https://unix.stackexchange.com/questions/198590/what-is-a-bind-mount – Archemar Jul 04 '20 at 10:08bind
in this article https://wiki.archlinux.org/index.php/NFS I don't see how this gets us closer to the issue I'm having. – Stephen Boston Jul 04 '20 at 15:03