cephfs:: store files on different pools?
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) Thank you! Adrian
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@i-med.ac.at Web: http://www.icbi.at
participants (2)
-
Adrian Sevcenco
-
Dietmar Rieder