Skip to content

[BUG] Inconsistent behaviour across platforms if disk resize does not take effect #2120

Open
@jsliacan

Description

Using 1.23.1 on Linux and Windows:

  1. Start with --disk-size 40 (disk size stays default 31G)
  2. Stop
  3. Start with --disk-size 35
    • Fails on Linux with Could not update CRC VM configuration: current disk image capacity is bigger than the requested size (42949672960 > 37580963840) even though real disk size is 31G so it wouldn't be shrinking.
    • Passes on Windows (of course, disk size stays 31G), even though 35 < 40 and shrink shouldn't be possible.

See linked test results in the description of #2115 where this happens.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions