Backup - Insufficent diskspace at target location - Error 2 share not available

Hi,

Every morning I got this message.
“Insufficent diskspace at target location”
Before with my pi1 this never happens, now with pi2… I can’t backup.
Of course, there is space…

Thanks for help.

Switch on debugging.
Run the Backup again.
Run the Log Uploader.
Provide the URL here.

http://paste.osmc.io/resebozili

13:24:30 T:1794163744 DEBUG: OSMC BACKUP: : - osmc_backup INIT
13:24:32 T:1794163744 DEBUG: OSMC BACKUP: : - Trying to backup guisettings, running xbmc.saveSettings
13:24:32 T:1794163744 DEBUG: OSMC BACKUP: : - local required disk space: 7033104749
13:24:32 T:1794163744 DEBUG: OSMC BACKUP: : - local available disk space: 6693052416
13:24:32 T:1794163744 DEBUG: OSMC BACKUP: : - Insufficent diskspace at target location

But there is 941Go free on my NAS…

does OSMC have write access on the nas ?

The addon does check for write permission, it is just that the free disk space is being reported as lower than the space required.

But how my backup could me more than 900Go ??? :o

Do you have enough space on your OSMC root partition though ? The backup tar is created on the local disk first and then copied to the remote location.

Sys. fich.             Taille Util. Dispo Uti% Monté sur
rootfs                    15G  2,8G   12G  20% /
/dev/root                 15G  2,8G   12G  20% /
devtmpfs                  87M     0   87M   0% /dev
tmpfs                     19M  216K   18M   2% /run
tmpfs                    5,0M     0  5,0M   0% /run/lock
tmpfs                     37M     0   37M   0% /run/shm
/dev/mmcblk0p1            56M   19M   37M  34% /boot
//192.168.1.111/Family   1,9T  903G  942G  49% /media/Lacie-CloudBox

So there is space right ?

Looks like there is enough space. I see that you have your remote share accessed two different ways - in your backup location you have ‘smb://LACIE-CLOUDBOX/Family/Kodi/Backup/OSMC/’ which will be using the built in SMB client and VFS (virtual file system) in Kodi, but you also appear to have it mounted at /media/Lacie-CloudBox as either a cifs or nfs kernel mount in /etc/fstab ?

What happens if you change your backup location in OSMC settings to use this mount ? Eg, change it to:

/media/Lacie-CloudBox/Kodi/Backup/OSMC/

I’ll try this, but it’s really strange because my settings was working before and I changed nothing except rpi1 > rp2.

Hey @DBMandrake !

If I browse media folder, it’s empty, I don’t know why its displayed mounted !
May be someone can clarify to us the automatic mount system (For NFS too ?) @sam_nazarko @ActionA
Everywhere in the log file the path used is smb://LACIE-CLOUDBOX/Family/…

Now If I try to go back on this path (with …) to reach the first choose (path type), I got an error “Error 2 share not available” when I click on “…” on this folder smb://LACIE-CLOUDBOX/Family/.

How can I change this settings now ? What should I browse to be able to backup again ? May be a mount conflict ?

Thanks a lot for support.

I’ve made some extra tests, when network doesnt raised an error 2, I tried to create a network space to the same location.
Conclusion is the same… Not enough space.
But there is space on my NAS…

20:50:43 T:1793192992   DEBUG: OSMC BACKUP:  :  - osmc_backup INIT
20:50:44 T:1793192992   DEBUG: OSMC BACKUP:  :  - Trying to backup guisettings, running xbmc.saveSettings
20:50:44 T:1793192992   DEBUG: OSMC BACKUP:  :  - local required disk space: 7045668994
20:50:44 T:1793192992   DEBUG: OSMC BACKUP:  :  - local available disk space: 6719578112
20:50:44 T:1793192992   DEBUG: OSMC BACKUP:  :  - Insufficent diskspace at target location

@sam_nazarko can you explain me why my save is over 7gb ? My previous was over 2go max.
And why osmc detect 6,7gb free space on a NAS with 895gb free space ???
I’m really stuck.
Thanks

EDIT : Of course I’ve tried to disable some backup options, and it’s work. But I want to create a full backup (except images) so why OSMC detect always 7gb free??? :frowning:
EDIT : The backup size comes from a plugin, pulsar. User data were not deleted after I removed the plugin (after I tested it). Now I can create a full backup without issues

BUT I’m still curious, why the max free space detected is around 7gb ? OSMC limitation ? NAS issue ?

The backup file is first created on local storage and then moved to the remote storage.

The local available describes the free space on local storage.

2 Likes

GREAT! That worked! I have been struggling with this for a while now. Thank you :slightly_smiling_face: