Re: Fedora 20 nfs

2013-10-17 Thread Mike Chambers
On Wed, 2013-10-16 at 17:10 -0700, T.C. Hollingsworth wrote: On Tue, Oct 15, 2013 at 8:33 AM, Mike Chambers m...@mtchambers.com wrote: Tried your script but got an exit code, ugh can't remember it now. That was my fault, sorry. The quoting was screwed up and an escape character was

Re: Fedora 20 nfs

2013-10-17 Thread Eric Blake
On 10/14/2013 04:59 PM, T.C. Hollingsworth wrote: nas:/backup /mnt/backup nfs bg,user,_netdev 0 0 Okay, so the bg option is a little different from what most people refer to as automounting, in that it just repeatedly attempts to mount the share until it succeeds, whereas

Re: Fedora 20 nfs

2013-10-17 Thread T.C. Hollingsworth
On Thu, Oct 17, 2013 at 12:06 AM, Mike Chambers m...@mtchambers.com wrote: With the fix above, the really wait script now works. Rebooted twice to be sure and the nfs dir got mounted both times as it should. Thanks for that :) So it is nm-online that is saying it's online when really it's

Re: Fedora 20 nfs

2013-10-17 Thread T.C. Hollingsworth
On Thu, Oct 17, 2013 at 2:09 PM, Eric Blake ebl...@redhat.com wrote: Well, now it's failing to mount on boot: snip output Did you change anything yet? That kind of looks like the same exact bug Mike is running into. But bg mounts are supposed to keep trying to mount in a loop, and automounts

Re: Fedora 20 nfs

2013-10-17 Thread Mike Chambers
On Thu, 2013-10-17 at 19:18 -0700, T.C. Hollingsworth wrote: On Thu, Oct 17, 2013 at 12:06 AM, Mike Chambers m...@mtchambers.com wrote: With the fix above, the really wait script now works. Rebooted twice to be sure and the nfs dir got mounted both times as it should. Thanks for that :)

Re: Fedora 20 nfs

2013-10-15 Thread Mike Chambers
On Mon, 2013-10-14 at 14:18 -0700, T.C. Hollingsworth wrote: 1.) DHCP on your network is slw and NetworkManager-wait-online is timing out after the default 30s waiting for it. My dhcp server is a cisco linksys e3000 wire/wireless router that I have been using for year or two now, and it

Re: Fedora 20 nfs

2013-10-15 Thread Mike Chambers
On Tue, 2013-10-15 at 10:33 -0500, Mike Chambers wrote: On Mon, 2013-10-14 at 14:18 -0700, T.C. Hollingsworth wrote: https://bugzilla.redhat.com/show_bug.cgi?id=1019415 One thing that has happened or noticed, was just *1* time my nfs dir got auto mounted. It looks like either NM got

Re: Fedora 20 nfs

2013-10-14 Thread Mike Chambers
On Sun, 2013-10-13 at 18:24 -0700, T.C. Hollingsworth wrote: One thing I forgot that's always an issue...do you use NetworkManager or ye olde network service? If it's the former, try running `systemctl enable NetworkManager-wait-online` and rebooting. Sometimes systemd tries to mount stuff

Re: Fedora 20 nfs

2013-10-14 Thread Eric Blake
On 10/14/2013 09:56 AM, Mike Chambers wrote: On Sun, 2013-10-13 at 18:24 -0700, T.C. Hollingsworth wrote: One thing I forgot that's always an issue...do you use NetworkManager or ye olde network service? If it's the former, try running `systemctl enable NetworkManager-wait-online` and

Re: Fedora 20 nfs

2013-10-14 Thread T.C. Hollingsworth
On Mon, Oct 14, 2013 at 8:56 AM, Mike Chambers m...@mtchambers.com wrote: Ok, think I've figured out the problem, but might be beyond my expertise to fix it.. 1 - Network Manager is set to come online/start 2 - Network Manger wait-online shows in log as well here. 3 - Network Manger device

Re: Fedora 20 nfs

2013-10-14 Thread T.C. Hollingsworth
On Mon, Oct 14, 2013 at 9:04 AM, Eric Blake ebl...@redhat.com wrote: I've got a similar problem - I've got my laptop set up to automount an NFS share over wifi, and frequently hit a hang during system shutdown because systemd allows Networkmanager (and the wifi) to be taken down before NFS is

Re: Fedora 20 nfs

2013-10-14 Thread Eric Blake
On 10/14/2013 03:27 PM, T.C. Hollingsworth wrote: On Mon, Oct 14, 2013 at 9:04 AM, Eric Blake ebl...@redhat.com wrote: I've got a similar problem - I've got my laptop set up to automount an NFS share over wifi, and frequently hit a hang during system shutdown because systemd allows

Re: Fedora 20 nfs

2013-10-14 Thread T.C. Hollingsworth
On Mon, Oct 14, 2013 at 2:41 PM, Eric Blake ebl...@redhat.com wrote: Dunno. Whatever I got by installing F17 with anaconda then incrementally upgrading through F18, F19, and now F20, and where I set up my /etc/fstab by copying the same configuration that worked for me since F12 pre-systemd

Re: Fedora 20 nfs

2013-10-13 Thread Adam Williamson
On Sat, 2013-10-12 at 17:33 -0700, T.C. Hollingsworth wrote: On Sat, Oct 12, 2013 at 8:05 AM, Mike Chambers m...@mtchambers.com wrote: On Thu, 2013-10-10 at 11:34 +0200, Adam Williamson wrote: Check 'remote-fs.target': this is the systemd target that controls mounting anything considered a

Re: Fedora 20 nfs

2013-10-13 Thread Mike Chambers
On Sun, 2013-10-13 at 14:02 +0100, Adam Williamson wrote: On Sat, 2013-10-12 at 17:33 -0700, T.C. Hollingsworth wrote: On Sat, Oct 12, 2013 at 8:05 AM, Mike Chambers m...@mtchambers.com wrote: On Thu, 2013-10-10 at 11:34 +0200, Adam Williamson wrote: Check 'remote-fs.target': this is the

Re: Fedora 20 nfs

2013-10-13 Thread Mike Chambers
On Sun, 2013-10-13 at 09:48 -0500, Mike Chambers wrote: Hrm, I checked the mount part as T.C. suggested (of course the nfs share is already mounted, manually mind you) and that looked fine. Then I decided to check this... [root@scrappy ~]# systemctl status remote-fs.target

Re: Fedora 20 nfs

2013-10-13 Thread T.C. Hollingsworth
On Sun, Oct 13, 2013 at 8:02 AM, Mike Chambers m...@mtchambers.com wrote: Got this from the logs just after a reboot a few mins ago... Oct 13 09:58:45 scrappy systemd: Starting NFS file locking service Oct 13 09:58:45 scrappy mount: mount.nfs4: mount system call failed Oct 13 09:58:45

Re: Fedora 20 nfs

2013-10-12 Thread Mike Chambers
On Thu, 2013-10-10 at 11:34 +0200, Adam Williamson wrote: On Wed, 2013-10-09 at 09:47 -0500, Mike Chambers wrote: Did a test install of F20 64bit on my normal workstation/desktop. Problem seems to be that after I setup nfs to mount, it won't do it automatically on boot. And this

Re: Fedora 20 nfs

2013-10-12 Thread T.C. Hollingsworth
On Sat, Oct 12, 2013 at 8:05 AM, Mike Chambers m...@mtchambers.com wrote: On Thu, 2013-10-10 at 11:34 +0200, Adam Williamson wrote: Check 'remote-fs.target': this is the systemd target that controls mounting anything considered a 'remote' filesystem, similar to the old 'netfs' service.

Re: Fedora 20 nfs

2013-10-10 Thread Adam Williamson
On Wed, 2013-10-09 at 09:47 -0500, Mike Chambers wrote: Did a test install of F20 64bit on my normal workstation/desktop. Problem seems to be that after I setup nfs to mount, it won't do it automatically on boot. And this usually works just fine out of the box up to F19. I have to mount

Fedora 20 nfs

2013-10-09 Thread Mike Chambers
Did a test install of F20 64bit on my normal workstation/desktop. Problem seems to be that after I setup nfs to mount, it won't do it automatically on boot. And this usually works just fine out of the box up to F19. I have to mount the directory manually once the system is booted. Is there a

Re: Fedora 20 nfs

2013-10-09 Thread Ed Greshko
On 10/09/13 22:47, Mike Chambers wrote: Did a test install of F20 64bit on my normal workstation/desktop. Problem seems to be that after I setup nfs to mount, it won't do it automatically on boot. And this usually works just fine out of the box up to F19. I have to mount the directory