[PATCH]ceph:init-ceph can't start osds after using mkcephfs created cluster

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Sage:
        We always use mkcephfs to create out ceph cluster. Before
0.72, all is ok.
But in 0.72, we found the osds can't start up useing "service ceph -a
start". After viewing the init-ceph.in script , I found that a return
value errro caused osds can't startup.And if we modifiy a little code
like 0.67.4 do, the osds can startup.

         Regards!

Here is the patch:

Signed-off-by: Ketor D <d.ketor@xxxxxxxxx>
---
diff --git "a/src/init-ceph.in" "b/src/init-ceph.in"
index 7399abb..cf2eaa6 100644
--- "a/src/init-ceph.in"
+++ "b/src/init-ceph.in"
@@ -331,7 +331,8 @@ for name in $what; do
  -- \
  $id \
  ${osd_weight:-${defaultweight:-1}} \
- $osd_location"
+ $osd_location \
+ || :"
  fi
     fi
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux