Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Insufficient space. Backup aborted. #13

Closed
thalesmaoa opened this issue Sep 14, 2022 · 5 comments
Closed

Insufficient space. Backup aborted. #13

thalesmaoa opened this issue Sep 14, 2022 · 5 comments

Comments

@thalesmaoa
Copy link

Not sure if this is suppose to happen. I have 107G, but I'm trying to build a 3.4G img.

$ pwd
/home/pi/External/backup

$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       3.4G  2.7G  547M  83% /
devtmpfs        207M     0  207M   0% /dev
tmpfs           239M     0  239M   0% /dev/shm
tmpfs           239M  3.5M  235M   2% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           239M     0  239M   0% /sys/fs/cgroup
/dev/mmcblk0p1  253M   42M  211M  17% /boot
/dev/sda1       113G  112M  107G   1% /home/pi/External
tmpfs            48M     0   48M   0% /run/user/1000

$ sudo imgclone -d mybackup.img
----    Raspberry Pi clone to image V1.8    ---
-----------------------------------------------
---- DO NOT CHANGE FILES ON YOUR SD CARD    ---
---- WHILE THE BACKUP PROGRAM IS RUNNING    ---
---- THE DESTINATION .IMG FILE MUST BE      ---
---- ON AN EXTERNAL STORAGE / NETWORK SHARE ---
-----------------------------------------------
Cloning /dev/mmcblk0 to mybackup.img
uuid | cut -f1 -d-
sh: 1: uuid: not found
.
.
.
mount /dev/loop0p2 /tmp/tmp.38KHM88HJM
mount /dev/mmcblk0p2 /tmp/tmp.5dQKpZBcay
df /tmp/tmp.5dQKpZBcay | tail -n 1 | tr -s " " " " | cut -d ' ' -f 3
df /tmp/tmp.38KHM88HJM | tail -n 1 | tr -s " " " " | cut -d ' ' -f 4
umount /tmp/tmp.38KHM88HJM
umount /tmp/tmp.5dQKpZBcay
Insufficient space. Backup aborted.
@thalesmaoa
Copy link
Author

Hi @tom-2015 , I've got a reply from you, but nothing appears in the issue. Did you erase your reply?

@tom-2015
Copy link
Owner

Yes, I thought you were in the Pi home directory but I see this is not the case.
Is something adding or modifying files during backup?
You can add more space to the .img file with -x [bytes] parameter, maybe if you add some megabytes it will work?

@thalesmaoa
Copy link
Author

It doesn't work.

sudo imgclone -x 200 -d mybackup.img
sudo imgclone -x 2000 -d mybackup.img
sudo imgclone -x 20000 -d mybackup.img

@tom-2015
Copy link
Owner

20000 is just 20kb, -x 524288000 will be 500MB

@thalesmaoa
Copy link
Author

Yes. I was not sure how much space to add. 100MB works, 50MB don't!
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants