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