On Thu, Dec 17, 2020 at 11:35 AM Stefan Kooman <stefan@bit.nl> wrote:
On 12/17/20 7:45 PM, Patrick Donnelly wrote:
When a file system is newly created, it's assumed you want all the stable features on, including multiple MDS, directory fragmentation, snapshots, etc. That's what those flags are for. If you've been upgrading your cluster, you need to turn those on yourself.
OK, fair enough. So I tried adding "allow_dirfrags" which gives me:
ceph fs set cephfs allow_dirfrags true Directory fragmentation is now permanently enabled. This command is DEPRECATED and will be REMOVED from future releases.
And I enabled snapshot support:
ceph fs set cephfs allow_new_snaps true enabled new snapshots
However, this has not changed the "flags" of the filesystem in any way. So I guess there are still features not enabled that are enabled on newly installed clusters. Where can I find a list of features that I can enable?
Apologies for linking code: https://github.com/ceph/ceph/blob/master/src/include/ceph_fs.h#L275-L285
I have searched through documentation but I don't see anything related. It's also not described / suggested in the part about upgrading the MDS cluster (IMHO that would be a logical place) [1].
You're the first person I'm aware of asking for this. :) -- Patrick Donnelly, Ph.D. He / Him / His Principal Software Engineer Red Hat Sunnyvale, CA GPG: 19F28A586F808C2402351B93C3301A3E258DD79D