nfs mounts in fstab are not mounted at boot

Michael Cronenworth mike at
Fri May 13 05:14:17 UTC 2011

On 05/12/2011 11:14 PM, Chris Kloiber wrote:
>> I would expect systemd to try and mount it, but I guess the nfs4
>> >  defaults may be different from nfs. try adding 'auto' as an option.
>> >
>> >  for extra bonus points, try adding comment=systemd.automount as an
>> >  option, then boot up and do 'ls /media/music' . it should get mounted
>> >  _at the point you do the ls_.
> What happens if you add the _netdev option to the nfs mounts in /etc/fstab?

- Changing nfs4 to nfs did not help.
- Adding 'auto' did not help.
- Adding '_netdev' did not help.
- Using 'comment=systemd.automount' works in a sense they are mounted as 
they are used, so I could use this option, but I'd like to get them 
mounted like they were in F14.

I just looked at my dmesg output and it shows the the NFS mounts failing 
before NetworkManager is able to get eth0 up and running. Even with 
_netdev present on my NFS mount lines. Is there something else I'm 
missing or is there a bug in systemd?

[   10.914157] NetworkManager[916]: <info> (eth0): now managed
[   10.914181] NetworkManager[916]: <info> (eth0): device state change: 
unmanaged -> unavailable (reason 'managed') [10 20 2]
[   10.914205] NetworkManager[916]: <info> (eth0): bringing up device.
[   10.984306] systemd[1]: Job failed with result 
[   10.984314] systemd[1]: Unit media-michael.mount entered failed state.
[   10.984320] systemd[1]: media-music.mount mount process exited, 
code=exited status=32
[   10.997840] systemd[1]: Unit media-music.mount entered failed state.
[   18.113926] NetworkManager[916]: <info> (eth0): device state change: 
ip-config -> activated (reason 'none') [70 100 0]
[   18.115297] NetworkManager[916]: <info> Policy set 'Auto eth0' (eth0) 
as default for IPv4 routing and DNS.
[   18.115409] NetworkManager[916]: <info> Policy set 'Auto eth0' (eth0) 
as default for IPv6 routing and DNS.
[   18.115437] NetworkManager[916]: <info> Activation (eth0) successful, 
device activated.
[   18.116058] NetworkManager[916]: <info> Activation (eth0) Stage 5 of 
5 (IP Configure Commit) complete.

More information about the test mailing list