1 |
On 10/13/2017 03:13 PM, Daniel Frey wrote: |
2 |
> I discovered that after my update the other day (systemd is up to date |
3 |
> as of Wednesday) that my remote nfs mounts are failing on startup. |
4 |
> |
5 |
> (Note: as per my other thread, I haven't tried to disable ipv6 yet. I |
6 |
> want to figure this out first.) |
7 |
> |
8 |
> I use an IMSM raid with an initramfs provided by dracut. |
9 |
> |
10 |
> I have also set: |
11 |
> |
12 |
> NetworkManager-wait-online.service |
13 |
> loaded active exited Network Manager Wait Online |
14 |
> |
15 |
> to wait until networkmanager starts up, and it appears to be working. |
16 |
> |
17 |
> When booting, something complains about the module sunrpc not being able |
18 |
> to be loaded. However, everything I've selected relating to nfs is built |
19 |
> directly into the kernel, so there shouldn't be external modules to |
20 |
> begin with. |
21 |
> |
22 |
> After logging in, dropping to the shell and manually mounting these nfs |
23 |
> mounts work. |
24 |
> |
25 |
> systemctl status: |
26 |
> ● mnt-nas-Pictures.mount loaded failed |
27 |
> failed /mnt/nas/Pictures |
28 |
> |
29 |
> status: |
30 |
> |
31 |
> # systemctl status mnt-nas-Pictures.mount |
32 |
> ● mnt-nas-Pictures.mount - /mnt/nas/Pictures |
33 |
> Loaded: loaded (/etc/fstab; generated; vendor preset: disabled) |
34 |
> Active: failed (Result: timeout) since Fri 2017-10-13 14:51:08 PDT; |
35 |
> 17min ago |
36 |
> Where: /mnt/nas/Pictures |
37 |
> What: nas:/Pictures |
38 |
> Docs: man:fstab(5) |
39 |
> man:systemd-fstab-generator(8) |
40 |
> Process: 781 ExecMount=/bin/mount nas:/Pictures /mnt/nas/Pictures -t |
41 |
> nfs4 -o rw,defaults,_netdev,intr,bg (code=killed, signal=TERM) |
42 |
> |
43 |
> Oct 13 14:49:37 myboringpc systemd[1]: Mounting /mnt/nas/Pictures... |
44 |
> Oct 13 14:51:08 myboringpc systemd[1]: mnt-nas-Pictures.mount: Mounting |
45 |
> timed out. Stopping. |
46 |
> Oct 13 14:51:08 myboringpc systemd[1]: mnt-nas-Pictures.mount: Mount |
47 |
> process exited, code=killed status=15 |
48 |
> Oct 13 14:51:08 myboringpc systemd[1]: Failed to mount /mnt/nas/Pictures. |
49 |
> Oct 13 14:51:08 myboringpc systemd[1]: mnt-nas-Pictures.mount: Unit |
50 |
> entered failed state. |
51 |
> |
52 |
> So it is saying it was killed. When booting up, systemd sits waiting for |
53 |
> a start job for two minutes. I rebooted and checked again, and it said |
54 |
> it timed out. I can see it's waiting for Network Manager Wait Online, |
55 |
> then it tries to mount the nfs shares. |
56 |
> |
57 |
> I presume this means the network is not ready. As I mentioned above, |
58 |
> logging in and manually mounting is working fine. |
59 |
> |
60 |
> Anyone have any suggestions? Of course I didn't notice this until I |
61 |
> tried to sync pictures from my phone... |
62 |
> |
63 |
> Dan |
64 |
|
65 |
I'm still having this issue, anyone have any ideas? I can see that |
66 |
NetworkManager-Wait-Online finishes, and that the mounting starts |
67 |
immediately after, but I don't think the network is quite up yet, |
68 |
resulting an all nfs mounts to timeout. |
69 |
|
70 |
The computer is using a static IP, so it shouldn't even be waiting for |
71 |
dhcp... |
72 |
|
73 |
I booted into openrc, and they all mount properly. Does anyone have any |
74 |
idea even how to start troubleshooting this? |
75 |
|
76 |
Dan |