Hi everyone, 

If I have a pool called cold-storage (1) and a pool called hot-storage (2) that 
hot-storage is a cache tier for the cold-storage.

I normally do the followings in order to map a directory in my client to a pool.

on a Ceph monitor,
ceph mds add_data_pool 1

ceph mds add_data_pool 2

Q1) Do I need to add both cold-storage and hot-storage to the data pools?


on client,
mkdir /mnt/test
mount -t ceph ceph-mon1:6789,ceph-mon2:6789,ceph-mon3:6789:/ /mnt/test -o 
name=admin,secretfile=/etc/ceph/client.admin

cephfs /mnt/test set_layout -p 1 OR cephfs /mnt/test set_layout -p 2
Q2) Do I need to set the layout of the directory to pool1 (cold-storage) or 
pool2 (hot-storage)?


Thanks in advance, 
Sherry
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to