Re: [ceph-users] Ceph see the data size larger than actual stored data in rbd

2018-03-14 Thread Caspar Smit
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 < mostafaha...@mans.edu.eg>: > Hi , > > I found some thi

[ceph-users] Ceph see the data size larger than actual stored data in rbd

2018-03-14 Thread Mostafa Hamdy Abo El-Maty El-Giar
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