Re: Edit crush rule

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

 



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 backfill so I'd suggest setting norebalance
before doing this.

Rich

On Wed, 8 Sept 2021 at 07:51, Nathan Fish <lordcirth@xxxxxxxxx> wrote:
>
> I believe you would create a new rule and switch?
>
> On Tue, Sep 7, 2021 at 3:46 PM Budai Laszlo <laszlo.budai@xxxxxxxxx> 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 you,
> > Laszlo
> >
> > _______________________________________________
> > ceph-users mailing list -- ceph-users@xxxxxxx
> > To unsubscribe send an email to ceph-users-leave@xxxxxxx
> _______________________________________________
> ceph-users mailing list -- ceph-users@xxxxxxx
> To unsubscribe send an email to ceph-users-leave@xxxxxxx
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux