On Mon, May 21, 2012 at 10:28 AM, Madhusudhana U <madhusudhana.u.acharya@xxxxxxxxx> wrote: > Hi all, > I assume in CEPH, by default, replications are set for both data and metadata. > Is it possible for setting replication for individual file/folders ? I find this > very usefule. In most of the cases, we may need more protections for just few > files/folders. Instead of setting replication level for entire data, it would be > good to set for required files/folders. If not possible in current version, > is it possible to add this in future? I would love to see this feature in CEPH. Replication levels are set on the level of RADOS pools. By default, those are "data" and "metadata" (for the filesystem). However, you can create more pools which the MDS uses, and you can specify that newly-created files (individually, or on the directory subtree level) go into a different pool from the system default. Check out the cephfs tool for more info on setting the pool. There is not currently a way to move existing files into a new pool (without doing a copy through the client, anyway), and nothing on the roadmap to change that. If it would be helpful, let us know! -Greg -- 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