Re: Ceph see the data size larger than actual stored data in rbd

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

 



Hi,

In order to reclaim space in Ceph you will need to use the discard feature of KRBD:

https://www.sebastien-han.fr/blog/2015/01/26/ceph-and-krbd-discard/

Kind regards,
Caspar

2018-03-14 10:34 GMT+01:00 Mostafa Hamdy Abo El-Maty El-Giar <mostafahamdy@xxxxxxxxxxx>:
Hi ,

I found some thing strange in ceph. The actual stored data in mounted rbd image is 156 G .
/dev/rbd0p1     985G  156G  779G  17% /mnt 

When I run ceph -s , I see the actual data is 316 GB. 

      pgmap v27446382: 1024 pgs, 1 pools, 316 GB data, 81742 objects
            952 GB used, 44145 GB / 45098 GB avail

also when I write some thing on the mount rbd and then remove it the available space seen true in the mounted rbd , but with ceph -s command the data become larger and can not see the data is removed.

I understand the replication, I mean the actual data without replication. When I remove some data , the ceph cluster can not see the new size of data and does not change the data size.

Please , any help in this problem. 

Thank you 


_______________________________________________
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]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux