Excellent - thank you!
From: Konstantin Shalygin 'k0ste at k0ste.ru'
Sent: 07 October 2021 10:10
To: ceph-us...@hovr.anonaddy.com
Subject: Re: [ceph-users] Edit crush rule
Hi,
On 7 Oct 2021, at 11:03,
ste=k0ste...@anonaddy.me>
Sent: 08 September 2021 17:35
To: 7ba335c6-fb20-4041-8c18-1b00efb78...@anonaddy.me
<7ba335c6-fb20-4041-8c18-1b00efb78...@anonaddy.me>
Subject: [ceph-users] Re: Edit crush rule
Just create new one with your failure domain and switch the pool rule. Then
delete old ru
Hi,
> On 7 Oct 2021, at 11:03, ceph-us...@hovr.anonaddy.com wrote:
>
> Following on this, are there any restriction or issues with setting a new
> rule on a pool, except for the resulting backfilling?
Nope
>
> I can't see anything specific about it in the documentation, just the command
>
Just create new one with your failure domain and switch the pool rule. Then
delete old rule
k
Sent from my iPhone
> On 8 Sep 2021, at 01:11, Budai Laszlo wrote:
>
> Thank you for your answers. Yes, I'm aware of this option, but this is not
> changing the failure domain of an existing rule.
Hi Rich, Nathan,
Thank you for your answers. Yes, I'm aware of this option, but this is not
changing the failure domain of an existing rule. I was wondering whether the
CLI would permit that change. It looks like it doesn't.
Thanks again for your time!
Laszlo
On 9/8/21 12:42 AM, Richard Bade
Hi Budai,
I agree with Nathan, just switch the crush rule. I've recently done
this on one of our clusters.
Create a new crush rule the same as your old one except with different
failure domain.
Then use: ceph osd pool set {pool_name} crush_rule {new_rule_name}
Very easy.
This may kick off some
I believe you would create a new rule and switch?
On Tue, Sep 7, 2021 at 3:46 PM Budai Laszlo wrote:
>
> Dear all,
>
> is there a way to change the failure domain of a CRUSH rule using the CLI?
>
> I know I can do that by editing the crush map. I'm curious if there is a "CLI
> way"?
>
> Thank