I needed this patch after some simple 1 OSD vstart environments
refused to allow clients to connect.

--

    A minimum pool size of 2 was introduced by 13486857cf. This sets the
    minimum to one so that basic vstart environments work.

    Signed-off-by: Noah Watkins <[email protected]>

diff --git a/src/vstart.sh b/src/vstart.sh
index 4565efa..bdf02f3 100755
--- a/src/vstart.sh
+++ b/src/vstart.sh
@@ -290,6 +290,7 @@ if [ "$start_mon" -eq 1 ]; then
 [global]
         osd pg bits = 3
         osd pgp bits = 5  ; (invalid, but ceph should cope!)
+        osd pool default min size = 1
 EOF
                        [ "$cephx" -eq 1 ] && cat<<EOF >> $conf
         auth supported = cephx
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to