[leapp] Ensure that there is enough diskspace in /var/lib/leapp/scratch/diskimages/root_boot at least XXX mib are needed

Solution Verified - Updated -

Issue

  • Leapp upgrade fails with below error:

    2023-11-16 22:34:25.960577 [ERROR] Actor: target_userspace_creator
    Message: Failed to execute command `/bin/dd if=/dev/zero of=/var/lib/leapp/scratch/diskimages/root_ bs=1M count=0 seek=21380`. Error: Command ['/bin/dd', 'if=/dev/zero', 'of=/var/lib/leapp/scratch/diskimages/root_', 'bs=1M', 'count=0', 'seek=21380'] failed with exit code 1.
    Summary:
        Please ensure that there is enough diskspace on the partition hostingthe /var/lib/leapp/scratch/diskimages directory.: Please ensure that there is enough diskspace on the partition hostingthe /var/lib/leapp/scratch/diskimages directory.
    

Note:The value of seek could vary. It was observed to be 2GB in one run of leapp while it was 21GB in another.

Environment

  • Red Hat Enterprise Linux 7
    • leapp
    • ulimit

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content