Re: CRUSH rule for 3 replicas across 2 hosts

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

 



On Mon, Apr 20, 2015 at 11:17 AM, Dan van der Ster <dan@xxxxxxxxxxxxxx> wrote:
> I haven't tried, but wouldn't something like this work:
>
> step take default
> step chooseleaf firstn 2 type host
> step emit
> step take default
> step chooseleaf firstn -2 type osd
> step emit
>
> We use something like that for an asymmetric multi-room rule.

You can get duplicates this way, since the first and second "take"
expressions don't have any knowledge of each other and are operating
on the same set of OSDs.
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[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