Dear Patrick, Thanks a lot for pointing out the HSM ticket. We will see whether we have the resource to do something with the ticket.
I am thinking of a temporary solution for HSM using cephfs client commands. The following command 'setfattr -n ceph.dir.layout.pool -v NewPool Folder' will set the specified folder Folder to be written to NewPool. If i understand correctly, the new file written to Folder will be directed to NewPool, but how about the old files that already exist in FOLDER before executing the above command? Should i mannually migrate those old files, and how? best regards, samuel huxia...@horebdata.cn From: Patrick Donnelly Date: 2021-07-21 21:51 To: huxia...@horebdata.cn CC: ceph-users Subject: Re: [ceph-users] How to make CephFS a tiered file system? Hello samuel, On Mon, Jul 19, 2021 at 2:28 PM huxia...@horebdata.cn <huxia...@horebdata.cn> wrote: > > Dear Cepher, > > I have a requirement to use CephFS as a tiered file system, i.e. the data > will be first stored onto an all-flash pool (using SSD OSDs), and then > automatically moved to an EC coded pool (using HDD OSDs) according to > threshold on file creation time (or access time). The reason for such a file > system is due to the fact that, files are created and most likely accessed > within the first 6 months or 1 year, and after that period, those files have > much less chance to be accessed and thus could be moved to a slower and cheap > pool. > > Does CephFS already support such a tiered feature? and if yes, how to > implement such feature with a pool of all SSD pool and a pool of EC-coded HDD > pool? > > Any suggestion, ideas, comments are highly appreciated, We have an outstanding ticket for this but no one has yet taken it up: https://tracker.ceph.com/issues/40285 -- Patrick Donnelly, Ph.D. He / Him / His Principal Software Engineer Red Hat Sunnyvale, CA GPG: 19F28A586F808C2402351B93C3301A3E258DD79D _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-le...@ceph.io