On Tue, 2022-11-08 at 08:12 -0800, Doug Herr wrote:
On Mon, Nov 7, 2022, at 9:08 AM, Jonathan Ryshpan wrote:
> The machine *OaklandWeather* is set up to export some directories to
> the machine *amito*. But when OaklandWeather is restarted the export
> is
> lost. Running "# exportfs -a" restores the export and the desired
> files
> can be seen by amito.
>
> Some Details:
> root@OaklandWeather# cat /etc/exports
> # /etc/exportfs created by Jon : Fri 2021-11-05 02:33:51 PM PDT
> # edited by Jon : Tue Nov 16 10:30:08 AM PST 2021
> # / amito(rw,no_subtree_check,no_root_squash)
> / amito(rw)
> /home amito(rw)
>
> The problem seems to happen because nfs is started before amito can
> be
> resolved:
Do you have "NetworkManager-wait-online.service" enabled?
Not sure if this would fix it, but it *seems* like it should.
I believe that I do. Here is the result of a query:
$ systemctl status NetworkManager-wait-online.service
● NetworkManager-wait-online.service - Network Manager Wait Online
Loaded: loaded (/usr/lib/systemd/system/NetworkManager-wait-
online.service; enabled; preset: enabled)
Active: active (exited) since Wed 2022-12-21 08:25:36 PST; 2 days
ago
Docs: man:nm-online(1)
Process: 1278 ExecStart=/usr/bin/nm-online -s -q (code=exited,
status=0/SUCCESS)
Main PID: 1278 (code=exited, status=0/SUCCESS)
CPU: 45ms
BTW: I have adopted the suggestion of Tom Horsley to put "amito" in
/etc/hosts, which seems to work well. However this could fail if my dns
server changes amito's IP address -- unlikely but possible. I apologize
for the late reply.
--
Sincerely Jonathan Ryshpan <jonrysh(a)pacbell.net>
The object of computation is not numbers
but understanding. -- Hamming