There are some options within CRUSH to let you decide where you want to place particular classes of data, but it's not really available on a per-object or per-file basis. You should look through the CRUSH stuff at ceph.com/docs to get an idea of what's possible. -Greg Software Engineer #42 @ http://inktank.com | http://ceph.com On Thu, Feb 27, 2014 at 5:25 AM, Zhongliang Zhao <zhaozhongliang@xxxxxxxxx> wrote: > Dear all, > > As new to ceph, may I ask in the crush algorithm, is there a way to > configure where the file to be stored, not randomly. > My requirement is to place the files that within the same location(within a > geographic area), into the same OSD, instead of randomly placing them > seperately. > > I guess crush may support this. But to do this, I just have to configure > some parameters in some ceph commands? or I have to modify the ceph crush > algorithm and re-compile ceph? > > Many thanks for any helpful pointers. > > Cheers, Giovanni > -- > To unsubscribe from this list: send the line "unsubscribe ceph-devel" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html