Skip to content

Resizing LVM-VDO: set physical and virtual sizes independently #173

@hostalp

Description

@hostalp

When creating a LVM-VDO volume it's possible to specify the physical and virtual (logical) volume sizes: lvcreate --type vdo --size 1T --virtualsize 5T ...
When increasing such volume size, it appears that only the physical volume size can be specified while the virtual size is adjusted automatically using the current virtual:physical sizes ratio. The lvextend and lvresize commands simply don't appear to accept the --virtualsize argument.

So what if one wants to increase both sizes independently - e.g. to achieve a different virtual:physical sizes ratio (to match the reality more closely because the situation has changed since the volume was created)? Is it possible somehow (directly)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions