[英]ceph df showing available space which doesn't match ceph partition size
I just noticed a backfillfull osd warning in our ceph cluster and there is something really strange in how ceph osd df
is showing available space. 我只是在我们的ceph集群中注意到一个backfillfull osd警告,而ceph osd df
如何显示可用空间确实有些奇怪。
If I try to look at ceph' storage partition with df -h
如果我尝试使用df -h
查看ceph的存储分区
# df -h | grep ceph
/dev/mapper/cl-var_lib_ceph 2.0G 57M 1.8G 4% /var/lib/ceph
/dev/mapper/cl-var_local_ceph 50G 11G 40G 21% /var/local/ceph
We can see 40G available. 我们可以看到40G可用。 Now if I run ceph osd df
现在如果我运行ceph osd df
# ceph osd df
ID CLASS WEIGHT REWEIGHT SIZE USE AVAIL %USE VAR PGS
2 hdd 0.00980 1.00000 10240M 9220M 1019M 90.04 1.00 40
0 hdd 0.00980 1.00000 10240M 9229M 1010M 90.13 1.00 40
1 hdd 0.00980 1.00000 10240M 9242M 997M 90.26 1.00 40
TOTAL 30720M 27691M 3028M 90.14
MIN/MAX VAR: 1.00/1.00 STDDEV: 0.09
Size is only 10240M, why is it so and how can I tell ceph to get size from the partition (50G) ? 大小仅为10240M,为什么会这样,又如何告诉ceph从分区(50G)中获取大小?
please use a below command : 请使用以下命令:
for displaye available space. 用于显示可用空间。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.