Re: Pool size (capacity)

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

 



Hi,

ceph osd pool get your_pool_name size
ceph osd pool ls detail

these are commands to get the size of a pool regarding the replication, not the available storage.

So the capacity in 'ceph df' is returning the space left on the pool and
not the 'capacity size'.

I'm not aware of a limitation in pool capacity except for your OSD sizes, CRUSH device classes and such. The more OSDs you have the more available space you'll have. An example:

POOLS:
    NAME                ID     USED       %USED     MAX AVAIL     OBJECTS
    pool-1              1       2694G     52.67         2420G      646186
    pool-1-cache        33     15130M      1.97          733G        3734
    cephfs-data         35       945G     28.08         2420G     3148723
    cephfs-metadata     36       232M      0.03          733G      432347
    test1               45        309         0         2420G           4
    test2               48        309         0         2420G           4

You see the exact same "MAX AVAIL" sizes for all HDD pools (pool-1, cephfs-data, test1, test2) of 2420G. The cache tier pool-1-cache has the same space available as the cephfs-metadata as they both reside on the same SSD-OSDs.

Hope this clears it up a little.

Regards,
Eugen


Zitat von Sébastien VIGNERON <sebastien.vigneron@xxxxxxxxx>:

# for a specific pool:

ceph osd pool get your_pool_name size


Le 20 juil. 2018 à 10:32, Sébastien VIGNERON <sebastien.vigneron@xxxxxxxxx> a écrit :

#for all pools:
ceph osd pool ls detail


Le 20 juil. 2018 à 09:02, sinan@xxxxxxxx a écrit :

Hi,

How can I see the size of a pool? When I create a new empty pool I can see
the capacity of the pool using 'ceph df', but as I start putting data in
the pool the capacity is decreasing.

So the capacity in 'ceph df' is returning the space left on the pool and
not the 'capacity size'.

Thanks!

Sinan

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


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



_______________________________________________
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