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