1 description "Ceph OSD (start all instances)"
3 start on starting ceph-osd-all
10 # first activate any partitions
11 ceph-disk activate-all
13 # TODO what's the valid charset for cluster names and osd ids?
14 find -L /var/lib/ceph/osd/ -mindepth 1 -maxdepth 1 -regextype posix-egrep -regex '.*/[A-Za-z0-9]+-[A-Za-z0-9._-]+' -printf '%P\n' \
16 if [ -e "/var/lib/ceph/osd/$f/ready" ] && [ -e "/var/lib/ceph/osd/$f/upstart" ] && [ ! -e "/var/lib/ceph/osd/$f/sysvinit" ]; then
19 initctl emit ceph-osd cluster="$cluster" id="$id"