[PATCH] vstart: allow minimum pool size of one

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

 



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 <noahwatkins@xxxxxxxxx>

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 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