On 10/13/2017 03:13 PM, Daniel Frey wrote:
I discovered that after my update the other day (systemd is up to date as of Wednesday) that my remote nfs mounts are failing on startup.

(Note: as per my other thread, I haven't tried to disable ipv6 yet. I want to figure this out first.)

I use an IMSM raid with an initramfs provided by dracut.

I have also set:

 NetworkManager-wait-online.service loaded active exited    Network Manager Wait Online

to wait until networkmanager starts up, and it appears to be working.

When booting, something complains about the module sunrpc not being able to be loaded. However, everything I've selected relating to nfs is built directly into the kernel, so there shouldn't be external modules to begin with.

After logging in, dropping to the shell and manually mounting these nfs mounts work.

systemctl status:
● mnt-nas-Pictures.mount                                loaded failed failed /mnt/nas/Pictures

status:

# systemctl status mnt-nas-Pictures.mount
● mnt-nas-Pictures.mount - /mnt/nas/Pictures
    Loaded: loaded (/etc/fstab; generated; vendor preset: disabled)
   Active: failed (Result: timeout) since Fri 2017-10-13 14:51:08 PDT; 17min ago
     Where: /mnt/nas/Pictures
      What: nas:/Pictures
      Docs: man:fstab(5)
            man:systemd-fstab-generator(8)
  Process: 781 ExecMount=/bin/mount nas:/Pictures /mnt/nas/Pictures -t nfs4 -o rw,defaults,_netdev,intr,bg (code=killed, signal=TERM)

Oct 13 14:49:37 myboringpc systemd[1]: Mounting /mnt/nas/Pictures...
Oct 13 14:51:08 myboringpc systemd[1]: mnt-nas-Pictures.mount: Mounting timed out. Stopping. Oct 13 14:51:08 myboringpc systemd[1]: mnt-nas-Pictures.mount: Mount process exited, code=killed status=15
Oct 13 14:51:08 myboringpc systemd[1]: Failed to mount /mnt/nas/Pictures.
Oct 13 14:51:08 myboringpc systemd[1]: mnt-nas-Pictures.mount: Unit entered failed state.

So it is saying it was killed. When booting up, systemd sits waiting for a start job for two minutes. I rebooted and checked again, and it said it timed out. I can see it's waiting for Network Manager Wait Online, then it tries to mount the nfs shares.

I presume this means the network is not ready. As I mentioned above, logging in and manually mounting is working fine.

Anyone have any suggestions? Of course I didn't notice this until I tried to sync pictures from my phone...

Dan

I'm still having this issue, anyone have any ideas? I can see that NetworkManager-Wait-Online finishes, and that the mounting starts immediately after, but I don't think the network is quite up yet, resulting an all nfs mounts to timeout.

The computer is using a static IP, so it shouldn't even be waiting for dhcp...

I booted into openrc, and they all mount properly. Does anyone have any idea even how to start troubleshooting this?

Dan



Reply via email to