I gave it an extra 1.2 Gb but it still shows 0 free:@RandyR,
Try using a much larger value than the default for "Initial image file ROOT filesystem size" and see if image-info then reports your added free space.
Code:
pi@RPi4_Desktop:~/image-utils $ sudo ./image-backup Image file to create? /mnt/usb1/Test_Image.imgInitial image file ROOT filesystem size (MB) [13798]? 15000Added space for incremental updates after shrinking (MB) [0]? 100Create /mnt/usb1/Test_Image.img (y/n)? yStarting full backup (for incremental backups, run: ./image-backup /mnt/usb1/Test_Image.img)mount: (hint) your fstab has been modified, but systemd still uses the old version; use 'systemctl daemon-reload' to reload.mount: (hint) your fstab has been modified, but systemd still uses the old version; use 'systemctl daemon-reload' to reload.e2fsck 1.47.0 (5-Feb-2023)Pass 1: Checking inodes, blocks, and sizesPass 2: Checking directory structurePass 3: Checking directory connectivityPass 4: Checking reference countsPass 5: Checking group summary informationrootfs: 239150/960992 files (0.2% non-contiguous), 3007065/3839744 blocksresize2fs 1.47.0 (5-Feb-2023)Resizing the filesystem on /dev/loop0p2 to 3061895 (4k) blocks.The filesystem on /dev/loop0p2 is now 3061895 (4k) blocks long.resize2fs 1.47.0 (5-Feb-2023)Resizing the filesystem on /dev/loop0p2 to 3059324 (4k) blocks.The filesystem on /dev/loop0p2 is now 3059324 (4k) blocks long.resize2fs 1.47.0 (5-Feb-2023)Resizing the filesystem on /dev/loop0p2 to 3059321 (4k) blocks.The filesystem on /dev/loop0p2 is now 3059321 (4k) blocks long.e2fsck 1.47.0 (5-Feb-2023)Pass 1: Checking inodes, blocks, and sizesPass 2: Checking directory structurePass 3: Checking directory connectivityPass 4: Checking reference countsPass 5: Checking group summary informationrootfs: 239150/765536 files (0.2% non-contiguous), 2994808/3059321 blockse2fsck 1.47.0 (5-Feb-2023)Pass 1: Checking inodes, blocks, and sizesPass 2: Checking directory structurePass 3: Checking directory connectivityPass 4: Checking reference countsPass 5: Checking group summary informationrootfs: 239150/765536 files (0.2% non-contiguous), 2994808/3059321 blocksresize2fs 1.47.0 (5-Feb-2023)Resizing the filesystem on /dev/loop0p2 to 3084921 (4k) blocks.The filesystem on /dev/loop0p2 is now 3084921 (4k) blocks long.e2fsck 1.47.0 (5-Feb-2023)Pass 1: Checking inodes, blocks, and sizesPass 2: Checking directory structurePass 3: Checking directory connectivityPass 4: Checking reference countsPass 5: Checking group summary informationrootfs: 239150/773680 files (0.2% non-contiguous), 2995319/3084921 blocksmount: (hint) your fstab has been modified, but systemd still uses the old version; use 'systemctl daemon-reload' to reload.mount: (hint) your fstab has been modified, but systemd still uses the old version; use 'systemctl daemon-reload' to reload._____________________________________________________________________pi@RPi4_Desktop:~/image-utils $ sudo ./image-info /mnt/usb1/Test_Image.img mount: (hint) your fstab has been modified, but systemd still uses the old version; use 'systemctl daemon-reload' to reload.mount: (hint) your fstab has been modified, but systemd still uses the old version; use 'systemctl daemon-reload' to reload.-rw-r--r-- 1 root root 13173755904 Dec 7 14:16 /mnt/usb1/Test_Image.imgFilesystem Type 1K-blocks Used Available Use%boot vfat 522230 74100 448130 15%root ext4 12038888 11680480 0 100%disk: PTUUID="2cb34d2e" PTTYPE="dos"boot: LABEL_FATBOOT="bootfs" LABEL="bootfs" UUID="1216-A591" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="2cb34d2e-01"root: LABEL="rootfs" UUID="e49b5049-df5a-4186-a807-ee54b0e95327" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="2cb34d2e-02"
Randy
Statistics: Posted by RandyR — Thu Dec 07, 2023 8:21 pm