On Wed, Feb 26, 2014 at 11:39 AM, David Champion <dgc@xxxxxxxxxxxx> wrote: > * On 26 Feb 2014, Gregory Farnum wrote: >> >> > q1. CephFS has a tunable for max file size, currently set to 1TB. If >> >> > I want to change this, what needs to be done or redone? Do I have to >> >> > rebuild, or can I just change the param, restart services, and be off? >> >> >> >> What version are you running? It varies on whether that's set at FS >> >> creation time or (on new enough code, but I don't remember when >> >> off-hand) can be set via the cli ("ceph mds set max_file_size >> >> <size_in_bytes>". >> > >> > 0.72.1. Would it be safe to try this and see? Or could that break >> > something? I assume that I'll know it worked if I can create a 1.6T >> > file. :) >> >> If it accepts the command, it worked properly. ;) > > No dice -- "set" not supported. I can set this directly in ceph.conf, > though, right? This is the advice I've seen before. Is a restart of > ceph-mds sufficient to make that work, or would something need to be > recreated? Unfortunately, it looks like in that version the max file size is encoded in the MDSMap, but there is no way to change it once the map is created. You'd have to destroy the existing filesystem and create a new one to change it. If you do go down that road, you'll need to get the "mds_max_file_size" config option set on the monitors before creating the new FS; that option doesn't make any difference on the MDS. -Greg Software Engineer #42 @ http://inktank.com | http://ceph.com _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com