Skip to content

"elemental install" fails during rsync #2324

@Swassie

Description

@Swassie

elemental-toolkit version:

I have tried 2.1.0 and 2.2.0

CPU architecture, OS, and Version:

Linux UD-MS0 6.6.36.3-syntheticmr+ #16 SMP Wed Aug 28 14:57:01 CEST 2024 x86_64 x86_64 x86_64 GNU/Linux

Describe the bug

rsync exits with error "No space left on device (28)" during snapshot creation, when syncing data to the image mounted to /run/elemental/workingtree. The error started when we added some new files (1GB total size) to our docker image. The host system has lots of free disk space.

Logs

�[36mINFO�[0m[2025-09-09T07:24:54Z] Creating image /run/elemental/state/.snapshots/1/snapshot.img from rootDir /run/elemental/state/.snapshots/1/snapshot.workDir 
�[37mDEBU�[0m[2025-09-09T07:24:55Z] Image size 4282M                             
�[37mDEBU�[0m[2025-09-09T07:24:55Z] Running cmd: 'mkfs.ext2 -L EL_SNAP1 /run/elemental/state/.snapshots/1/snapshot.img' 
�[37mDEBU�[0m[2025-09-09T07:24:55Z] Mounting image EL_SNAP1 to /run/elemental/workingtree 
�[37mDEBU�[0m[2025-09-09T07:24:55Z] Running cmd: 'losetup --show -f /run/elemental/state/.snapshots/1/snapshot.img' 
�[36mINFO�[0m[2025-09-09T07:24:55Z] Sync /run/elemental/state/.snapshots/1/snapshot.workDir to /run/elemental/workingtree 
�[36mINFO�[0m[2025-09-09T07:24:55Z] Starting rsync...                            
�[37mDEBU�[0m[2025-09-09T07:24:55Z] Running cmd: 'rsync --progress --partial --human-readable --archive --xattrs --acls --exclude=/run/elemental/state/.snapshots/1/snapshot.workDir/.snapshots --exclude=/run/elemental/state/.snapshots/1/snapshot.workDir/mnt --exclude=/run/elemental/state/.snapshots/1/snapshot.workDir/proc --exclude=/run/elemental/state/.snapshots/1/snapshot.workDir/sys --exclude=/run/elemental/state/.snapshots/1/snapshot.workDir/dev --exclude=/run/elemental/state/.snapshots/1/snapshot.workDir/tmp --exclude=/run/elemental/state/.snapshots/1/snapshot.workDir/run --exclude=/run/elemental/state/.snapshots/1/snapshot.workDir/host --exclude=/run/elemental/state/.snapshots/1/snapshot.workDir/etc/resolv.conf /run/elemental/state/.snapshots/1/snapshot.workDir/ /run/elemental/workingtree/' 
�[37mDEBU�[0m[2025-09-09T07:25:00Z] Syncing data...                              
�[37mDEBU�[0m[2025-09-09T07:25:05Z] Syncing data...                              
�[37mDEBU�[0m[2025-09-09T07:25:10Z] Syncing data...                              
�[37mDEBU�[0m[2025-09-09T07:25:15Z] Syncing data...                              
�[37mDEBU�[0m[2025-09-09T07:25:20Z] Syncing data...                              
�[37mDEBU�[0m[2025-09-09T07:25:25Z] Syncing data...                              
�[37mDEBU�[0m[2025-09-09T07:25:27Z] 'rsync' command reported an error: exit status 11 
...
rsync: [receiver] write failed on "/run/elemental/workingtree/var/lib/dpkg/info/udev.md5sums": No space left on device (28)

Additional context

``

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