Re: cephfs:: store files on different pools?

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

 



On 5/27/21 2:33 PM, Adrian Sevcenco wrote:
Hi! is is (technically) possible to instruct cephfs to store files < 1Mib on a (replicate) pool
and the others files on another (ec) pool?

And even more, is it possible to take the same kind of decision on the path of the file?
(let's say that critical files with names like  > r"/critical_path/critical_.*" i want them in a 6x replication ssd pool)

you can pin a directory to a specific pool using setfattr

e.g.
setfattr -n ceph.dir.layout.pool -v critical-rep-data-pool /mnt/cephfs/critical setfattr -n ceph.dir.layout.pool -v standard-ec-data-pool /mnt/cephfs/standard

HTH
  Dietmar

--
_________________________________________
D i e t m a r  R i e d e r, Mag.Dr.
Head of HPC/Bioinformatics facility
Innsbruck Medical University
Biocenter - Institute of Bioinformatics
Innrain 80, 6020 Innsbruck
Phone: +43 512 9003 71402
Fax: +43 512 9003 73100
Email: dietmar.rieder@xxxxxxxxxxx
Web:   http://www.icbi.at


Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
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