]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
init-ceph: don't activate-all for vstart clusters
authorSage Weil <sage@inktank.com>
Fri, 19 Jul 2013 00:10:51 +0000 (17:10 -0700)
committerSage Weil <sage@inktank.com>
Fri, 19 Jul 2013 00:10:51 +0000 (17:10 -0700)
Signed-off-by: Sage Weil <sage@inktank.com>
src/init-ceph.in

index 0ed906be98768ae9b5802c284e10d0c9f9a402a1..b0ed353f8e7fa429cd473cbaf06b8524966c91ab 100644 (file)
@@ -431,7 +431,7 @@ for name in $what; do
 done
 
 # activate latent osds?
-if [ "$command" = "start" ]; then
+if [ "$command" = "start" -a "$BINDIR" != "." ]; then
     if [ "$*" = "" ] || echo $* | grep -q ^osd\$ ; then
        ceph-disk activate-all
     fi