[Cephfs] Mounting a specific pool

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

 



Hi all,

 

I’m trying to test/figure out how cephfs works and my goal is to mount specific pools on different KVM hosts :

Ceph osd pool create qcow2 10000

Ceph osd dump | grep qcow2

-> Pool 9

Ceph mds add_data_pool 9

I want now a 900Gb quota for my pool :

Ceph osd pool set-quota qcow2 max_bytes 120795955200

Ok, now how can I verify the size in Gb of my pool (not the replication size 1,2,3 etc) ?

 

On my KVM host (client):

Mount –t ceph ip1:6789,ip2:6789,ip3:6789:/ /disks/

OK

Cephsfs /disks/ show_layout

Layout.data_pool: 0

Etc…

Cephfs /disks/ set_layout –p 9 –u 4194304 –c 1 –s 4194304

Umount /disks/ && mount /disks/

Cephsfs /disks/ show_layout

Layout.data_pool: 9

 

Great my layout is now 9 so my qcow2 pool but :

Df-h | grep disks, shows the entire cluster size not only 900Gb why ? is it normal ? or am I doing something wrong ?

 

Thank you for your help J

 

 

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[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