While the mount(8) manpage says that _netdev causes the mount to be
deferred until the network is up, this manpage was written in a bygone
era when "network up" was a discrete event, which it hasn't been for a
long time.  The current behavior is that _netdev devices will be tried
immediately on boot, and tried again each time a network interface comes
up.  If this doesn't give the desired results, I think this is a bug in
the ceph driver - not in mountall, which has been tested with _netdev
(and network filesystems) repeatedly and shown to work correctly.

> As seen from the attached snapshot, it doesn't bother to wait,
> and blindly tries to mount the RBD before connecting to Ceph:
> this will never work.

If there is a specific connection that needs to be made before running
the mount command, then I don't think that's something mountall can be
expected to handle.  Something else on the system would need to
intercept the request for a ceph mount, and block it until ceph is
available.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1313513

Title:
  mountall does not honour _netdev

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/1313513/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to