Osd placement rule questions

2012-07-04 Thread Mark Kirkwood
Hi, I am experimenting with ceph (rbd only for now), and have a few questions about what is possible via placement rules. For example I am looking at a setup with a local datacenter (datacenter0) and a remote one (datacenter1). I'm using a placement rule: rule rbd { ruleset 2

Re: Osd placement rule questions

2012-07-04 Thread Sage Weil
On Thu, 5 Jul 2012, Mark Kirkwood wrote: > Hi, > > I am experimenting with ceph (rbd only for now), and have a few questions > about what is possible via placement rules. > > For example I am looking at a setup with a local datacenter (datacenter0) and > a remote one (datacenter1). I'm using a pl

Re: Osd placement rule questions

2012-07-04 Thread Mark Kirkwood
On 05/07/12 15:57, Sage Weil wrote: On Thu, 5 Jul 2012, Mark Kirkwood wrote: 2/ Also I would like to be able to say make my number of copies 3, but if I lose datacenter0 (where 2 copies are), don't try to have 3 copies at datacenter1 (so run degraded in that case). Is that possible? That is wh