How to use the maximum VDO logical blocks without overcommiting?

Posted on

I would like to utilize the max space for logical blocks without overcommiting the the physical blocks available. As I know there are metadata used by VDO.
Sometimes we may expand the VDO backend storage.

So it may be difficult to adjust the corresponding VDO logical blocks.
Say I have this information:

vdo status | grep blocks

    1K-blocks: 10170368
    1K-blocks available: 3295368
    1K-blocks used: 6875000
    compressed blocks written: 111
    data blocks used: 937367
    journal blocks batching: 0
    journal blocks committed: 553
    journal blocks started: 553
    journal blocks writing: 0
    journal blocks written: 553
    logical blocks: 1434421
    logical blocks used: 1277082
    overhead blocks used: 781383
    physical blocks: 2542592
    reference blocks written: 8
    slab journal blocks written: 8
    slab summary blocks written: 18

I would like to have an option to expand the maximum logical blocks without overcomiitting, just like lvm command similar to '-L 100%FREE.' Instead of manual calculation.

Responses