I'm running a Pi with a 16 GB SD card, of which 3.5 GB is occupied:
Can image-backup write an image to a card that is also 16 GB, or does it need to be larger?
When writing the image to a 32 GB card the process succeeds and produces an image 3.8 GB in size.
When writing the image to a 16 GB card the process fails:
All cards used to store the image file are freshly formatted with a single exFAT partition filling the whole card and accessed via a USB reader.
The 16 GB card has been checked for bad blocks with badblocks -wsv
Running latest 64-bit Trixie-lite on a RPi 3+, and image-backup is installed from github:
Many thanks, and my apologies if this is already discussed elsewhere and I missed it.
Code:
tim@mtunes:~ $ dfFilesystem 1K-blocks Used Available Use% Mounted on/dev/mmcblk0p2 14717248 3558688 10499220 26% //dev/mmcblk0p1 516204 68068 448137 14% /boot/firmwareWhen writing the image to a 32 GB card the process succeeds and produces an image 3.8 GB in size.
When writing the image to a 16 GB card the process fails:
Code:
tim@mtunes:~ $ sudo mount /dev/sda1 /mnt/tmptim@mtunes:~ $ sudo image-backup --initial /mnt/tmp/${HOSTNAME}_$(date '+%Y%m%d').img,,200mkfs.ext4: Input/output error while writing out and closing file systemUnable to create image ROOT filesystemThe 16 GB card has been checked for bad blocks with badblocks -wsv
Running latest 64-bit Trixie-lite on a RPi 3+, and image-backup is installed from github:
Code:
tim@mtunes:~ $ git clone https://github.com/seamusdemora/RonR-RPi-image-utils.gittim@mtunes:~ $ sudo install --mode=755 ./RonR-RPi-image-utils/image-* /usr/local/sbinStatistics: Posted by TimG — Sun Jun 07, 2026 11:47 pm










