Re: How to make CephFS a tiered file system?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <pdonnell@xxxxxxxxxx>
Sent: Thursday, July 22, 2021 5:03 PM
To: huxiaoyu@xxxxxxxxxxxx <huxiaoyu@xxxxxxxxxxxx>
Cc: ceph-users <ceph-users@xxxxxxx>
Subject:  Re: How to make CephFS a tiered file system?

On Wed, Jul 21, 2021 at 1:49 PM huxiaoyu@xxxxxxxxxxxx
<huxiaoyu@xxxxxxxxxxxx> 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@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux