1 |
I discovered that after my update the other day (systemd is up to date |
2 |
as of Wednesday) that my remote nfs mounts are failing on startup. |
3 |
|
4 |
(Note: as per my other thread, I haven't tried to disable ipv6 yet. I |
5 |
want to figure this out first.) |
6 |
|
7 |
I use an IMSM raid with an initramfs provided by dracut. |
8 |
|
9 |
I have also set: |
10 |
|
11 |
NetworkManager-wait-online.service |
12 |
loaded active exited Network Manager |
13 |
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 |
27 |
loaded failed failed |
28 |
/mnt/nas/Pictures |
29 |
|
30 |
status: |
31 |
|
32 |
# systemctl status mnt-nas-Pictures.mount |
33 |
● mnt-nas-Pictures.mount - /mnt/nas/Pictures |
34 |
Loaded: loaded (/etc/fstab; generated; vendor preset: disabled) |
35 |
Active: failed (Result: timeout) since Fri 2017-10-13 14:51:08 PDT; |
36 |
17min ago |
37 |
Where: /mnt/nas/Pictures |
38 |
What: nas:/Pictures |
39 |
Docs: man:fstab(5) |
40 |
man:systemd-fstab-generator(8) |
41 |
Process: 781 ExecMount=/bin/mount nas:/Pictures /mnt/nas/Pictures -t |
42 |
nfs4 -o rw,defaults,_netdev,intr,bg (code=killed, signal=TERM) |
43 |
|
44 |
Oct 13 14:49:37 myboringpc systemd[1]: Mounting /mnt/nas/Pictures... |
45 |
Oct 13 14:51:08 myboringpc systemd[1]: mnt-nas-Pictures.mount: Mounting |
46 |
timed out. Stopping. |
47 |
Oct 13 14:51:08 myboringpc systemd[1]: mnt-nas-Pictures.mount: Mount |
48 |
process exited, code=killed status=15 |
49 |
Oct 13 14:51:08 myboringpc systemd[1]: Failed to mount /mnt/nas/Pictures. |
50 |
Oct 13 14:51:08 myboringpc systemd[1]: mnt-nas-Pictures.mount: Unit |
51 |
entered failed state. |
52 |
|
53 |
So it is saying it was killed. When booting up, systemd sits waiting for |
54 |
a start job for two minutes. I rebooted and checked again, and it said |
55 |
it timed out. I can see it's waiting for Network Manager Wait Online, |
56 |
then it tries to mount the nfs shares. |
57 |
|
58 |
I presume this means the network is not ready. As I mentioned above, |
59 |
logging in and manually mounting is working fine. |
60 |
|
61 |
Anyone have any suggestions? Of course I didn't notice this until I |
62 |
tried to sync pictures from my phone... |
63 |
|
64 |
Dan |