Skip to content

Why ceph RBD real space usage is much larger than disk usage once mounted? #4059

Closed Answered by nixpanic
microyahoo asked this question in Q&A
Discussion options

You must be logged in to vote

When a filesystem writes data to a device, new blocks will be allocated. Upon deletion, those blocks are tracked by the filesystem for re-use, and usually not de-allocated immediately. This causes the filesystem to grow it's usage on the block-device where it lives. For thin-allocated storage, this is not optimal, as the thin/sparseness is lost over time.

There are multiple ways to de-allocate the free blocks that the filesystem keeps track of. These are the two most common ones:

Note that there might b…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by microyahoo
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
component/rbd Issues related to RBD
2 participants