Re: [Suspicious newsletter] Re: Rbd pool shows 458GB USED but the image is empty

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

 



Hi,

On 28.01.21 13:21, Szabo, Istvan (Agoda) wrote:
I mean the image hasn’t been deleted, but the content from the image.


RBD is (as the name implies) is a block device layer. Block devices do not have a concept of content, file, directories or even allocated or unallocated space. They are just continuous byte streams with a certain size.


The _filesystem_ on top of the block device implements these concepts, and also tracks free / unallocated space. And a filesystem is able to inform the block layer about allocations using TRIM and DISCARD calls (e.g. tools like fstrim or corresponding mount options). RBD usually supports trim operation in recent kernels (krbd) or with certain configuration options (librbd)


Regards,

Burkhard

_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[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