Comment 16 for bug 1103047

Revision history for this message
Juan Pavlik (jjpavlik) wrote :

Hi guys, i have the exact same problem but with ocfs2. mountall tries to mount my remote volume before o2cb is running, so it fails. There's a really nasty workaround adding /etc/init.d/o2cb start in the mountall-net.conf file, like this:

# mountall-net - Mount network filesystems
#
# Send mountall the USR1 signal to inform it to try network filesystems
# again.

description "Mount network filesystems"

start on net-device-up

task

script
    /etc/init.d/o2cb start
    PID=$(status mountall 2>/dev/null | sed -e '/start\/running,/{s/.*,[^0-9]*//;q};d')
    [ -n "$PID" ] && kill -USR1 $PID || true
end script

It works, but i'd like to avoid doing these things. I think that this bug, is really close to this one https://bugs.launchpad.net/ubuntu/+source/ocfs2-tools/+bug/474215?comments=all , eventhough gluster an ocfs2 are different things.