LE 8.02 on chromebox. When attempting to create backup, constantly get "not enough free space to continue!", regardless of target/available space. What gives?
Can't create backup.
-
amandzuik -
September 23, 2017 at 4:07 AM -
Thread is Unresolved
-
-
I have the same problem with error message "not enough free space" on trying to backup, except running from thumb drive on AMD64PC hardware.
I can mount the drive and see the many .tar backups, and that there is not enough space. On trying to delete with admin privs, I do not have sufficient privs to do so. There is no option to delete old backups in libreELEC where the backup option is and backup does not delete its own previous backups.
I'm using LUBUNTU 16.04 to access the usb drive. I'm sure that I need to logon to the thumbdrive with libreELEC credentials to delete the files, but I don't know how using PCMANFM. I'll see what I can do through SSH, although my SSH is rusty at best. Is it possible to change file permissions without the native login? Or to delete the older backups through a file manager with proper privs?
Any guidance is appreciated, thank you in advance. You all have done a TREMENDOUS great job! Cheers!
I'm using a USB2 thumbdrive for proof of concept and it runs surprisingly faster than I imagined once it is loaded into RAM. Startup and shutdown are the slow points, which are acceptable for me. -
Even after deleting old backups with this method, I still get the error message that I do not have enough free disk space to backup libreELEC and Kodi.
-
- Official Post
I'm guessing at what's happening here .. but most archival tools work by assembling a copy of the data first and then they write that collection of data to the archive file. So if you have 2GB of original data on disk, the temp cache will also take 2GB and then you write the file (compressed) which is maybe 1.7GB, so you end up needing 3.7GB free on the disk to backup 2GB. Even if the final write is to a different disk (e.g. connected USB) you need 2GB on the original disk before it writes the 1.7GB to USB.
So I don't know how much data and free space you have on the USB stick, but most people running from a USB stick have small(er) capacities. The solution would be to stop kodi (systemctl stop kodi) and then recurcively copy files that you want to "back up" to another USB device, e.g. cp -R /storage/.kodi /some/other/device as the copy operation isn't assembling a grand copy of all data first.
-
Well Chewitt you might be on to something. I checked the the amount of free space left on the second partition of the libreELEC usb stick. After finally getting those old backups deleted, there seems to be a discrepancy between apps on how much free space is actually left. PCMANFM reports that there is plenty of room, which is accurate when you do the math. While GPARTED reports the old amount of space, prior to deleting old backups. I might try FSKing the partition, except that it seems to be working and recognized by different OSes, differently.
Its my understanding that USB sticks are finicky when it comes to recognizing a second partition. For whatever reasons, any partition after the first is rarely recognized. So getting libreELEC to work as it does with multiple partitions on a usb drive is pretty AMAZING and a tribute to the knowledge and hardwork of the libreELEC team! -
- Official Post
It's only Windows that is dumb about multiple partitions on a USB stick. Nearly all other OS manage it fine.
Backup: get free space of selected folder by mglae · Pull Request #82 · LibreELEC/service.libreelec.settings · GitHub will help with this, it will be in 8.2.0