lzkelley / bkup_rpimage

Script to backup a Raspberry Pi disk image
GNU General Public License v3.0
162 stars 54 forks source link

/dev/root 100% usage after backup #15

Closed elpaul closed 5 years ago

elpaul commented 5 years ago

Hi all. I wanted to backup SD 16G card on a 32gb pendrive. sudo sh bkup_rpimage.sh start -c /media/mypibackup/rpi_backup.img After about 20 minutes, I received information:

rsync: write failed on "/mnt/rpi_backup.img/media/pibackup/rpi_backup.img": No s             pace left on device (28)
rsync error: error in file IO (code 11) at receiver.c(374) [receiver=3.1.3]
Filesystem     1M-blocks  Used Available Use% Mounted on
/dev/loop0p1         256    40       217  16% /mnt/rpi_backup.img/boot
/dev/loop0p2       14631  3244     10625  24% /mnt/rpi_backup.img
-e Flushing to disk
-e Unmounting /dev/loop01 and /dev/loop02 from /mnt/rpi_backup.img/
-e Detaching /media/pibackup/rpi_backup.img from /dev/loop0
-e SD Image backup process completed.

The system started to work very slowly. After issuing the command: df -h :

Filesystem      Size  Used Avail Use% Mounted on
/dev/root        15G   15G     0 100% /
devtmpfs        459M     0  459M   0% /dev
tmpfs           464M     0  464M   0% /dev/shm
tmpfs           464M  6.3M  457M   2% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           464M     0  464M   0% /sys/fs/cgroup
/dev/mmcblk0p1  253M   40M  213M  16% /boot
tmpfs            93M     0   93M   0% /run/user/1000

HELP!

lzkelley commented 5 years ago

@elpaul did you determine what the issue was?

elpaul commented 5 years ago

It was a problem with the USB stick. The stick was damaged and did not mount correctly. After changing the pendrive to another problem solved itself.