Re: [PLUG] Ubuntu and NFS during boot

2017-03-18 Thread Tom
You could use "user" and "noauto" mount options in fstab instead of relying on "bg" and then run mount command with timeout by a script in a loop very couple of minutes until it is mounted. Or give up after so many unsuccessful attempts. Would that work for you? On Fri, 2017-03-17 at 20:36 -0700,

Re: [PLUG] Ubuntu and NFS during boot

2017-03-17 Thread John Meissen
cathy.sm...@pnnl.gov said: > You can consider making the mounts soft mounts Also, 'soft mounts' determines error handling behavior of the mounted filesystem, and doesn't really apply to the mounting process itself. john- ___ PLUG mailing list

Re: [PLUG] Ubuntu and NFS during boot

2017-03-17 Thread John Meissen
cathy.sm...@pnnl.gov said: > No criticism intended, but cross mounting is not a good practice. You've > experienced one of the issues. Ideally you'd want to get rid of all cross > mounts. Practically, in a legacy environment, that may not be possible. You > can consider making the mounts soft

Re: [PLUG] Ubuntu and NFS during boot

2017-03-17 Thread John Meissen
robert.ci...@gmail.com said: > Sounds like you want autofs: > > https://help.ubuntu.com/community/Autofs No, different use case. What I want is for 'mount' to work the way it's supposed to: bg / fg Determines how the mount(8) command behaves if an attempt to mount an export

Re: [PLUG] Ubuntu and NFS during boot

2017-03-17 Thread Smith, Cathy
...@lists.pdxlinux.org] On Behalf Of John Meissen Sent: Friday, March 17, 2017 5:08 PM To: Portland Linux/Unix Group <plug@lists.pdxlinux.org> Subject: [PLUG] Ubuntu and NFS during boot Do we still have any Ubuntu experts in the group? I have a number of systems that have cross-mounted filesystems. Gen

Re: [PLUG] Ubuntu and NFS during boot

2017-03-17 Thread Robert Citek
Sounds like you want autofs: https://help.ubuntu.com/community/Autofs Regards, - Robert On Fri, Mar 17, 2017 at 5:07 PM, John Meissen wrote: > > Do we still have any Ubuntu experts in the group? > > I have a number of systems that have cross-mounted filesystems. Generally >

[PLUG] Ubuntu and NFS during boot

2017-03-17 Thread John Meissen
Do we still have any Ubuntu experts in the group? I have a number of systems that have cross-mounted filesystems. Generally things work OK, but after a power outage today I noticed an issue during boot. One of the systems didn't have the nfs server running (other issues), and my main server