RPi2 OSMC image, very heavy, 7GB

Hi,
I take some time working with OSMC for Raspberry, especially for streaming live broadcasts, video on demand, streaming music, radio, images, all from a public servant. The image suddenly started gaining weight, now goes 7GB, and all the content I have is clearly remote. I do not know if I can be the cache, or maybe being saved locally videos, or songs, however I need to resolve, to prevent further increasing the weight. Thanks for the help.

Sorry if I’m not very clear, or have errors in the topic, it is the first time I do.

From Colombia, Santiago Cardona.
Comunidad María Mediadora Internacional.

Try this to see what space is being used. First check your .kodi directory:

osmc@zygon:~$ du -hs ~/.kodi/*
494M /home/osmc/.kodi/addons
4.0K /home/osmc/.kodi/media
4.0K /home/osmc/.kodi/sounds
4.0K /home/osmc/.kodi/system
7.4M /home/osmc/.kodi/temp
234M /home/osmc/.kodi/userdata
osmc@zygon:~$

Notice on my install, very little space is used here. If you see a lot used, then an add-on that you are using is saving temp files, and not properly deleting them.

If you don’t seem to have a lot of space used in .kodi, then check your complete system to find the directory where the space is being used:

osmc@zygon:~$ sudo du -hs /*
8.4M /bin
20M /boot
0 /dev
5.2M /etc
735M /home
93M /lib
4.0K /lib64
16K /lost+found
8.0K /media
4.0K /mnt
4.5M /opt
du: cannot access ‘/proc/1145/task/1145/fd/3’: No such file or directory
du: cannot access ‘/proc/1145/task/1145/fdinfo/3’: No such file or directory
du: cannot access ‘/proc/1145/fd/3’: No such file or directory
du: cannot access ‘/proc/1145/fdinfo/3’: No such file or directory
0 /proc
16K /root
4.4M /run
6.9M /sbin
4.0K /selinux
4.0K /srv
0 /sys
4.0K /tardis
24K /tmp
541M /usr
735M /var
0 /walkthrough_completed

And again look for a directory that seems to be using the space.

2 Likes

Almost always due to /home/osmc/.kodi/userdata/Thumbnails/ .

Mmm, I already did what you recommended me, however the weight of the data is very low. The problem is when I export the iso, to burn in another Raspi. This I do with the Win32 Disk Imager, then, that’s when the iso weight, reaches 7GB, what worries me is that reach more than 8GB, since no other could burn in SD. Anything you can recommend me ?.

Thank you.

What do you mean by this ?

@dbmandrake Seems the concern is that the image becomes to large to dd to another card. dan explains what must be done in that instance here

1 Like

Hi guys,
I thought the problem had been solved, however, when I made a new backup, after a couple of changes in KODI (OSMC), the image weighed 30GB, and now if it is a serious problem, since my SD is 8GB of capacity, How can this be possible?..

I made the backup with Win32 Disk and USBit…

Thanks.

Hi my friend,

I want to copy the contents of my SD. Which it is my OSMC image(KODI) with all the settings I’ve done. I have an SD with 8GB of capacity, when I taked the image of the SD, finished the exportation with a weight of 30 GB, in this order of ideas I can not copy it to another SD, to have another Raspberry Pi with the same KODI and the same configuration. Beyond that, I open the image in WinImage, and to the surprise no heavy file. I feel frustrated.

Thanks

I do not see how it is possible for a win32diskimager image made from an 8GB SD card to be 30GB in size.

Perhaps you should explain in detail the steps you are taking to make your backups.

Then simply use the backup function in MyOSMC addon.