Hi, sure, let's say min_size is 2 (crush rule and pool). This would also allow me to read and write, when a site is down and would be able to recover, when the site comes back. Is there any more to stretch mode, or is this essentially it? I'm just wondering, if the magic is happening in stretch mode itself, or the other actions to take according to the documentation. On May 9, 2022 9:37:35 AM GMT+02:00, Eneko Lacunza <elacunza@xxxxxxxxx> wrote: >Hi Maximilian, > >El 7/5/22 a las 19:17, Maximilian Hill escribió: >> >> >> This would mean, if I already had a crush rule, like the following, I wouldn't really need to enable stretch mode: >> >> type replicated >> min_size 4 >> max_size 4 >> step take room0 ssd >> step chooseleaf firstn 2 type host >> step emit >> step take room1 ssd >> step chooseleaf firstn -2 type host >> step emit >> >> Am I right about that? >> > >With your configuration, if one DC goes down all I/O will stop (min_size=4!) >Further, I/O will stop even with one OSD down, for the same reason. > >Enabling stretch mode will keep I/O going without intervention. _______________________________________________ ceph-users mailing list -- ceph-users@xxxxxxx To unsubscribe send an email to ceph-users-leave@xxxxxxx