[Bug 384347] Re: _netdev not working
Stuart Longland
384347 at bugs.launchpad.net
Thu Feb 20 03:57:51 UTC 2014
Just discovered this "gem" trying to mount a Ceph RBD device on boot.
To add insult to injury, this is on a normally headless server, which is
in a difficult spot to get a keyboard and monitor to.
A server that requires me to be physically present to press a S key (and
also as a side-effect, *doesn't* mount volumes that it needs) is
completely useless to me. I need this server to boot automatically,
without intervention. If it's going to need hand-holding, save
yourselves the effort and make the next release of Ubuntu symlink
/sbin/init to /bin/bash and we'll do it ourselves!
Okay… rant over, I needed to get that out of my system.
The system in question is running Ubuntu 12.04 LTS AMD64, installed
yesterday via PXE. According to /etc/lsb-release, it's release 12.04.4.
I have in my /etc/fstab:
/dev/rbd/pool-name/name-of-rbd /local/mountpoint xfs defaults,_netdev 0 0
rbdmap service is configured and set to start at boot. Indeed, when the
machine does boot up, `mount -a` successfully mounts the RBD. However,
I need to do this *before* starting services. Doing so after logging in
is shutting the stable doors long after the horse has bolted.
I need it to do this the moment networking is up. I see I'm not the
only one a bit miffed by this situation:
http://ubuntuforums.org/showthread.php?t=2131380
http://ubuntuforums.org/showthread.php?t=2135891
The former of those threads mentions a kludge. An ugly kludge at that.
Has someone got any ideas as to where to look it fix this problem?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/384347
Title:
_netdev not working
Status in “util-linux” package in Ubuntu:
Confirmed
Bug description:
Binary package hint: mount
When my system starts up, my /mediavault file does not get mounted
initially, though I can mount it explicitly later on. The /etc/fstab
entry for it is:
//hpmediavault/FileShare /mediavault cifs
users,auto,rw,nodev,noexec,_netdev,guest 0 0
_netdev is supposed to solve this problem, but it does not work for
me. Interestingly, the same fstab entry works correctly in OpenSuSE
11.1.
I'm running Kubuntu 9.04 (Jaunty) with the KDE 3.5 remix on an Acer
3100 laptop.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/384347/+subscriptions
More information about the foundations-bugs
mailing list