On Fri, Aug 28, 2009 at 1:09 PM, Andrew Leung <ale...@soe.ucsc.edu> wrote:
>
> I am doing some basic Ceph testing using to most recent release
> (v0.13). I'm currently using the simple vstart.sh script to get a
> client/mds/mon/osd up and running on a single machine.
>
> I'm wondering how I can toggle the replication level (e.g., turn on 2-
> way replication, turn off replication). I'm particularly interested in
> doing so for metadata replication. Is there a flag I can input or
> modify in the vstart script or ceph.conf file?
>
> Thanks.
> Andrew
>

According to Sage it goes like this:

$  ./ceph osd pool set metadata size 1
$  ./ceph pg dump -o -

You can figure out current replication size from this:
$  ./ceph osd dump -o -

Then you can run:
$  ./ceph osd pool set metadata size 2

And then you can watch the replication happening by running'ceph -w'.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ceph-devel mailing list
Ceph-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ceph-devel

Reply via email to