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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/384347

Title:
  _netdev not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/384347/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to