CEPH filesystem development
 help / color / mirror / Atom feed
From: Thomas Mueller <thomas@chaschperli.ch>
To: ceph-devel@vger.kernel.org
Subject: Re: crush update failure ("corrupt inc osdmap epoch 5 off 50")
Date: Thu, 17 Jun 2010 08:41:25 +0000 (UTC)	[thread overview]
Message-ID: <hvcn3l$5tm$1@dough.gmane.org> (raw)
In-Reply-To: Pine.LNX.4.64.1006160950430.12761@cobra.newdream.net

Am Wed, 16 Jun 2010 09:57:56 -0700 schrieb Sage Weil:

> Hi Thomas,
> 
> On Wed, 16 Jun 2010, Thomas Mueller wrote:
>> i tried to change data "max_size" to 1 to disable replication for
>> testing.
> 
> You don't actually need/want to change the crush map to adjust
> replication.  Each crush rule is written to generalize to some range of
> replication levels (hence the min/max size definitions).  To adjust
> replication for testing/whatever, just do
> 
>  $ ceph osd pool data size 1   # 1x replication
> 
> See
> 
>  http://ceph.newdream.net/wiki/Adjusting_replication_level

ahh, once more i overlooked usefull information.

i've read http://ceph.newdream.net/wiki/Custom_data_placement_with_CRUSH 
and somehow came to the conclusion that this has to be done with an 
update of the crush map. 

the

>  $ ceph osd pool data size 1   # 1x replication

command worked. 

thanks!

- Thomas


      reply	other threads:[~2010-06-17  8:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-16  6:32 crush update failure ("corrupt inc osdmap epoch 5 off 50") Thomas Mueller
2010-06-16 16:57 ` Sage Weil
2010-06-17  8:41   ` Thomas Mueller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='hvcn3l$5tm$1@dough.gmane.org' \
    --to=thomas@chaschperli.ch \
    --cc=ceph-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox