Yes.

On Thu, Jul 22, 2021 at 3:23 PM Calhoun, Patrick <phin...@ou.edu> 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 <pdonn...@redhat.com>
> Sent: Thursday, July 22, 2021 5:03 PM
> To: huxia...@horebdata.cn <huxia...@horebdata.cn>
> Cc: ceph-users <ceph-users@ceph.io>
> Subject: [ceph-users] Re: How to make CephFS a tiered file system?
>
> On Wed, Jul 21, 2021 at 1:49 PM huxia...@horebdata.cn
> <huxia...@horebdata.cn> 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 -- ceph-users@ceph.io
> To unsubscribe send an email to ceph-users-le...@ceph.io



-- 
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

Reply via email to