strange behavior using resize2fs vm image on rbd pool

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

 



Hi,
it seems using resize2fs on rbd image would generate lots of garbage objects in ceph.
The experiment is:
1. use resize2fs to extent 50G rbd image A to 400G image with ext4 format in vm.
2. calculate the total object size in rbd pool, 35GB(already divided by replicas#).
3. cone ImageB based on 400G image A. then flatten Image B.
4. after flatten, calculate the total object size in rbd pool and Image B's actual size is 14GB.

I'm confused why Image B size is 14GB, not the same as Image A.
The only possible way that can explain that is resize2fs generate a lot of garbage objects in rbd. And flatten ignored those garbage files.
Anyone can help me confirm this??


thanks
Cory
_______________________________________________
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