Re: NFS not mounted at boot -

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

 



On 07/30/2018 02:56 PM, Bob Goodwin wrote:
> On 07/30/18 17:46, Ed Greshko wrote:
>> If you do
>>
>> journalctl -b 0 | grep mount
>>
>> on the client, what does it show?
> +
> 
> I guess this is not to long to send the entire result -
> 
> [bobg@Box10 ~]$ journalctl -b 0 | grep mount
> Jul 30 11:44:50 localhost.localdomain kernel: EXT4-fs (sdb1): mounted
> filesystem with ordered data mode. Opts: (null)
> Jul 30 11:44:54 localhost.localdomain kernel: EXT4-fs (sdb1):
> re-mounted. Opts: (null)
> Jul 30 11:44:54 localhost.localdomain systemd[1]: Started Remount Root
> and Kernel File Systems.
> Jul 30 11:44:54 localhost.localdomain audit[1]: SERVICE_START pid=1
> uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0
> msg='unit=systemd-remount-fs comm="systemd"
> exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
> Jul 30 11:44:54 localhost.localdomain kernel: audit: type=1130
> audit(1532965494.453:56): pid=1 uid=0 auid=4294967295 ses=4294967295
> subj=system_u:system_r:init_t:s0 msg='unit=systemd-remount-fs
> comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=?
> terminal=? res=success'
> Jul 30 11:45:23 Box10 kernel: No dialect specified on mount. Default has
> changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS
> (SMB1). To use the less secure SMB1 dialect to access old servers which
> do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.
> Jul 30 11:45:33 Box10 kernel: CIFS VFS: cifs_mount failed w/return code
> = -13
> Jul 30 11:45:33 Box10 systemd[1]: mnt-box48.mount: Mount process exited,
> code=exited status=32
> Jul 30 11:45:33 Box10 systemd[1]: Failed to mount /mnt/box48.
> Jul 30 11:45:33 Box10 systemd[1]: mnt-box48.mount: Unit entered failed
> state.
> Jul 30 11:46:47 Box10 systemd[1]: mnt-testb.automount: Got automount
> request for /mnt/testb, triggered by 1670 (wish)
> Jul 30 11:46:47 Box10 systemd[1]: mnt-testb.mount: Mount process exited,
> code=exited status=32
> Jul 30 11:46:47 Box10 systemd[1]: Failed to mount /mnt/testb.
> Jul 30 11:46:47 Box10 systemd[1]: mnt-testb.mount: Unit entered failed
> state.
> Jul 30 11:46:47 Box10 systemd[1]: mnt-testb.automount: Got automount
> request for /mnt/testb, triggered by 1670 (wish)
> Jul 30 11:46:47 Box10 systemd[1]: mnt-testb.mount: Mount process exited,
> code=exited status=32
> Jul 30 11:46:47 Box10 systemd[1]: Failed to mount /mnt/testb.
> Jul 30 11:46:47 Box10 systemd[1]: mnt-testb.mount: Unit entered failed
> state.
> Jul 30 15:18:27 Box10 polkitd[835]: Operator of unix-session:1
> successfully authenticated as unix-user:bobg to gain TEMPORARY
> authorization for action org.freedesktop.systemd1.manage-units for
> system-bus-name::1.77 [systemctl start systemd.automount] (owned by
> unix-user:bobg)
> Jul 30 15:18:27 Box10 systemd[1]: systemd.automount: Refusing to start,
> unit to trigger not loaded.
> Jul 30 15:18:27 Box10 systemd[1]: Failed to set up automount
> systemd.automount.
> Jul 30 15:20:51 Box10 polkitd[835]: Operator of unix-session:1
> successfully authenticated as unix-user:bobg to gain TEMPORARY
> authorization for action org.freedesktop.systemd1.manage-units for
> system-bus-name::1.84 [systemctl start systemd.automount box86] (owned
> by unix-user:bobg)
> Jul 30 15:20:51 Box10 systemd[1]: systemd.automount: Refusing to start,
> unit to trigger not loaded.
> Jul 30 15:20:51 Box10 systemd[1]: Failed to set up automount
> systemd.automount.
> Jul 30 15:21:58 Box10 polkitd[835]: Operator of unix-session:1
> successfully authenticated as unix-user:bobg to gain TEMPORARY
> authorization for action org.freedesktop.systemd1.manage-units for
> system-bus-name::1.90 [systemctl start systemd.automount nfs4] (owned by
> unix-user:bobg)
> Jul 30 15:21:58 Box10 systemd[1]: systemd.automount: Refusing to start,
> unit to trigger not loaded.
> Jul 30 15:21:58 Box10 systemd[1]: Failed to set up automount
> systemd.automount.
> Jul 30 15:22:50 Box10 systemd[1]: systemd.automount: Refusing to start,
> unit to trigger not loaded.
> Jul 30 15:22:50 Box10 systemd[1]: Failed to set up automount
> systemd.automount.
> Jul 30 15:22:50 Box10 rpc.mountd[7440]: Version 2.2.1 starting
> Jul 30 15:22:50 Box10 audit[1]: SERVICE_START pid=1 uid=0
> auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0
> msg='unit=nfs-mountd comm="systemd" exe="/usr/lib/systemd/systemd"
> hostname=? addr=? terminal=? res=success'
> Jul 30 15:22:59 Box10 systemd[1]: systemd.automount: Refusing to start,
> unit to trigger not loaded.
> Jul 30 15:22:59 Box10 systemd[1]: Failed to set up automount
> systemd.automount.
> Jul 30 15:23:28 Box10 systemd[1]: systemd.automount: Refusing to start,
> unit to trigger not loaded.
> Jul 30 15:23:28 Box10 systemd[1]: Failed to set up automount
> systemd.automount.
> Jul 30 15:47:14 Box10 kernel: No dialect specified on mount. Default has
> changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS
> (SMB1). To use the less secure SMB1 dialect to access old servers which
> do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.

I expect this is a race condition with NetworkManager-
wait-online.service. By default, it does a oneshot of:

	nm-online -s -q --timeout=30

and nm-online COULD return a 1 if NM is running but hasn't brought up
the network yet due to a slow DHCP response (if DHCP is being used). The
"-s" option returns 1 if NM has started whatever it has to on the
various NICs (e.g. spawned a dhclient) at boot, but it does NOT wait for
an actual network connection. Check journalctl for entries that read
something like:

	NetworkManager-wait-online.service: Main process exited, code=exited,
status=1/FAILURE

The "status=1/FAILURE" indicates that NM was running, but the network
wasn't actually up yet so it couldn't do the mount. Using a fixed
IP/netmask/gateway on the client may get around this...or possibly not
using the "-s" on the nm-online command. Won't swear to it.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks@xxxxxxxxxxxxxx -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
- Politicians are the opposite of pickpockets because you never see  -
-        them take their hand out of your pocket.                    -
-                                             -- Larry Fine          -
----------------------------------------------------------------------
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx/message/CJLMFWV77SCYR45FIOJ5IX2J7ZGXPF2C/



[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