This lets a $osd_data/journal symlink point to
/dev/disk/by-partuuid/UUID and the osd will not attempt to start until
that disk is available.
Signed-off-by: Tommi Virtanen <tv@inktank.com>
host="$(hostname -s)" \
$location \
|| :
+
+ journal="/var/lib/ceph/osd/${cluster:-ceph}-$id/journal"
+ if [ -L "$journal" -a ! -e "$journal" ]; then
+ echo "ceph-osd($UPSTART_INSTANCE): journal not present, not starting yet." 1>&2
+ stop
+ exit 0
+ fi
end script
instance ${cluster:-ceph}/$id