Yes. On Thu, Jul 22, 2021 at 3:23 PM Calhoun, Patrick <[email protected]> wrote: > > Do I understand correctly that to relocate a single file to a different pool, > the process would be: > > setfattr -n ceph.dir.layout.pool -v NewPool original_file_name > cp -a original_file_name .hidden_file_name && mv -f .hidden_file_name > original_file_name > > -Patrick > ________________________________ > From: Patrick Donnelly <[email protected]> > Sent: Thursday, July 22, 2021 5:03 PM > To: [email protected] <[email protected]> > Cc: ceph-users <[email protected]> > Subject: [ceph-users] Re: How to make CephFS a tiered file system? > > On Wed, Jul 21, 2021 at 1:49 PM [email protected] > <[email protected]> wrote: > > > > 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? > > Correct. > > > Should i mannually migrate those old files, and how? > > Copy them. > > > -- > Patrick Donnelly, Ph.D. > He / Him / His > Principal Software Engineer > Red Hat Sunnyvale, CA > GPG: 19F28A586F808C2402351B93C3301A3E258DD79D > > _______________________________________________ > ceph-users mailing list -- [email protected] > To unsubscribe send an email to [email protected]
-- Patrick Donnelly, Ph.D. He / Him / His Principal Software Engineer Red Hat Sunnyvale, CA GPG: 19F28A586F808C2402351B93C3301A3E258DD79D _______________________________________________ ceph-users mailing list -- [email protected] To unsubscribe send an email to [email protected]
