Re: nfs mounts in fstab are not mounted at boot

2011-05-13 Thread Frank Murphy
On 13/05/11 06:14, Michael Cronenworth wrote:

snip
https://bugzilla.redhat.com/show_bug.cgi?id=692008

-- 
Regards,

Frank Murphy
UTF_8 Encoded
Friend of Fedora
-- 
test mailing list
test@lists.fedoraproject.org
To unsubscribe: 
https://admin.fedoraproject.org/mailman/listinfo/test


nfs mounts in fstab are not mounted at boot

2011-05-12 Thread Michael Cronenworth
In Fedora 14 I had my NFS mounts nicely mounted at boot time. In Fedora 
15 I have to manually mount them.

I think I saw some discussion about this issue in the past but I cannot 
find it. Is this a known issue?

/etc/fstab:
intranet:/home/xandell/Music  /media/music  nfs4
defaults,nodev,noexec,nosuid0 0
-- 
test mailing list
test@lists.fedoraproject.org
To unsubscribe: 
https://admin.fedoraproject.org/mailman/listinfo/test


Re: nfs mounts in fstab are not mounted at boot

2011-05-12 Thread Itamar Reis Peixoto
On Thu, May 12, 2011 at 10:43 PM, Michael Cronenworth m...@cchtml.com wrote:
 In Fedora 14 I had my NFS mounts nicely mounted at boot time. In Fedora
 15 I have to manually mount them.

 I think I saw some discussion about this issue in the past but I cannot
 find it. Is this a known issue?

 /etc/fstab:
 intranet:/home/xandell/Music  /media/music      nfs4
 defaults,nodev,noexec,nosuid        0 0
 --
 test mailing list
 test@lists.fedoraproject.org
 To unsubscribe:
 https://admin.fedoraproject.org/mailman/listinfo/test



I have see something in planet.fedoraproject.org

http://www.happyassassin.net/2011/05/12/cute-systemd-trick-of-the-day-auto-mounting-remote-shares/


-- 


Itamar Reis Peixoto
msn, google talk: ita...@ispbrasil.com.br
+55 11 4063 5033 (FIXO SP)
+55 34 9158 9329 (TIM)
+55 34 8806 3989 (OI)
+55 34 3221 8599 (FIXO MG)
-- 
test mailing list
test@lists.fedoraproject.org
To unsubscribe: 
https://admin.fedoraproject.org/mailman/listinfo/test


Re: nfs mounts in fstab are not mounted at boot

2011-05-12 Thread Adam Williamson
On Thu, 2011-05-12 at 20:43 -0500, Michael Cronenworth wrote:
 In Fedora 14 I had my NFS mounts nicely mounted at boot time. In Fedora 
 15 I have to manually mount them.
 
 I think I saw some discussion about this issue in the past but I cannot 
 find it. Is this a known issue?
 
 /etc/fstab:
 intranet:/home/xandell/Music  /media/music  nfs4
 defaults,nodev,noexec,nosuid0 0

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_.
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Fedora Talk: adamwill AT fedoraproject DOT org
http://www.happyassassin.net

-- 
test mailing list
test@lists.fedoraproject.org
To unsubscribe: 
https://admin.fedoraproject.org/mailman/listinfo/test


Re: nfs mounts in fstab are not mounted at boot

2011-05-12 Thread Chris Kloiber
On 05/12/2011 11:51 PM, Adam Williamson wrote:
 On Thu, 2011-05-12 at 20:43 -0500, Michael Cronenworth wrote:
 In Fedora 14 I had my NFS mounts nicely mounted at boot time. In Fedora
 15 I have to manually mount them.

 I think I saw some discussion about this issue in the past but I cannot
 find it. Is this a known issue?

 /etc/fstab:
 intranet:/home/xandell/Music  /media/music  nfs4
 defaults,nodev,noexec,nosuid0 0
 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?
-- 
test mailing list
test@lists.fedoraproject.org
To unsubscribe: 
https://admin.fedoraproject.org/mailman/listinfo/test


Re: nfs mounts in fstab are not mounted at boot

2011-05-12 Thread Michael Cronenworth
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.
[snip]
[   10.984306] systemd[1]: Job remote-fs.target/start failed with result 
'dependency'.
[   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.
[snip]
[   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.


-- 
test mailing list
test@lists.fedoraproject.org
To unsubscribe: 
https://admin.fedoraproject.org/mailman/listinfo/test