Re: Lost NFS Export

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx>

	The object of computation is not numbers
	but understanding.  -- Hamming
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux