Hi Samuel,

You have to use pool affinity.

For example, with 3 pools in ceph pacific:
- pool_fs_meta -> pool replicated, SSD only
- pool_fs_data -> pool replicated, hdd only
- pool_fs_data_ec -> pool EC, hdd


#ceph fs new cephfsvol pool_fs_meta pool_fs_data
#ceph osd pool set pool_fs_data_ec allow_ec_overwrites true
#ceph fs add_data_pool cephfsvol pool_fs_data_ec

then, from any client:
#mount :/ /mnyt/cephfs
#mkdir /mnt/ceph/ec
#setfattr -n ceph.dir.layout.pool -v pool_fs_data_ec /mnt/ceph/ec


So, all data in /mnt/ceph/ec will be store in the pool EC...

Kind regards,
Arnaud
_______________________________________________
ceph-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to