resize2fs is some kind of incremental, I guess
You may notice that on a slow system, if you give many more spaces to a
large partition
Running resize2fs on a screen, and watching df -h on an other will show
you an incremental increase of disk space
Maybe the discard option can help you on that
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 4