0 B Free space since upgrade to sab 4.2.3 [Linux & SMB share]

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
ckp33
Newbie
Newbie
Posts: 28
Joined: April 22nd, 2017, 9:38 pm

0 B Free space since upgrade to sab 4.2.3 [Linux & SMB share]

Post by ckp33 »

since upgrading, it shows i have 0 B free space even though i have plenty and other download tools to the same mounted smb share work fine.
sabnzbd on ubuntu 20.04 mounted to a windows smb share seems to have started this problem only after upgrading to sab 4.2.3
i can browse the files on teh mounted smb share just fine inside my ubuntu system. i can even create new files and delete.
hope someone can help. all my downloads will fail with not enough disk space error and pause. it was working for years until now.
ckp33
Newbie
Newbie
Posts: 28
Joined: April 22nd, 2017, 9:38 pm

Re: 0 B Free space since upgrade to sab 4.2.3

Post by ckp33 »

this is what the sab log shows for anything i try :
2024-04-17 20:51:35,905::INFO::[notifier:142] Sending notification: Warning - Too little diskspace forcing PAUSE (type=warning, job_cat=None)
2024-04-17 20:51:35,905::WARNING::[assembler:155] Too little diskspace forcing PAUSE
2024-04-17 20:51:35,906::INFO::[downloader:394] Pausing
2024-04-17 20:51:35,906::INFO::[notifier:142] Sending notification: SABnzbd - Paused (type=pause_resume, job_cat=None)
2024-04-17 20:51:35,906::INFO::[downloader:414] Forcing disconnect
2024-04-17 20:51:35,906::INFO::[notifier:142] Sending notification: SABnzbd - Too little diskspace forcing PAUSE (type=disk_full, job_cat=None)
2024-04-17 20:51:35,908::INFO::[assembler:88] Decoding finished /media/windowsshare/torrents/sabnzbd/downloads/incomplete/Garfield.And.Cie.S02E01.MULTi.1080p.WEB.H264-MACK4/Garfield.And.Cie.S02E01.MULTi.1080p.WEB.H264-MACK4.vol-01.par2
2024-04-17 20:51:35,937::INFO::[nzbstuff:1765] Checking all filenames for Garfield.And.Cie.S02E01.MULTi.1080p.WEB.H264-MACK4
2024-04-17 20:51:35,938::INFO::[nzbstuff:1768] Re-sorting Garfield.And.Cie.S02E01.MULTi.1080p.WEB.H264-MACK4 after getting filename information
ckp33
Newbie
Newbie
Posts: 28
Joined: April 22nd, 2017, 9:38 pm

Re: 0 B Free space since upgrade to sab 4.2.3

Post by ckp33 »

just as a test i tried moving the sab complete and incomplete paths to a local ubuntu drive path with 86GB free. sab shows expected 86GB free. now it can download, but it's now failing to move from complete folder to the smb share. however i can copy by hand to the smb destination no issue, so i don't understand what's going on.
User avatar
sander
Release Testers
Release Testers
Posts: 8840
Joined: January 22nd, 2008, 2:22 pm

Re: 0 B Free space since upgrade to sab 4.2.3

Post by sander »

ckp33 wrote: April 17th, 2024, 10:43 pm seems to have started this problem only after upgrading to sab 4.2.3
To verify your hypothesis, you can downgrade to sab 4.2.2

Hint: I don't think so.
ckp33
Newbie
Newbie
Posts: 28
Joined: April 22nd, 2017, 9:38 pm

Re: 0 B Free space since upgrade to sab 4.2.3

Post by ckp33 »

i also applied some OS patches, so maybe that did something. anything i can try running like Sab checks for free space? seems like something made the free space info stop working on the smb share maybe.
User avatar
sander
Release Testers
Release Testers
Posts: 8840
Joined: January 22nd, 2008, 2:22 pm

Re: 0 B Free space since upgrade to sab 4.2.3

Post by sander »

check out the other thread in which you posted ... full explanation & howto
ckp33
Newbie
Newbie
Posts: 28
Joined: April 22nd, 2017, 9:38 pm

Re: 0 B Free space since upgrade to sab 4.2.3

Post by ckp33 »

if Sab can't get the free space, is there anyway to tell sab to ignore that and just download there anyway? i did try changing the 1G setting on the incomplete folder in sab to nothing but it didn't help
ckp33
Newbie
Newbie
Posts: 28
Joined: April 22nd, 2017, 9:38 pm

Re: 0 B Free space since upgrade to sab 4.2.3

Post by ckp33 »

sander wrote: April 18th, 2024, 1:56 am check out the other thread in which you posted ... full explanation & howto
i tried but i didnt get it
WrinklyOtter
Newbie
Newbie
Posts: 2
Joined: April 18th, 2024, 2:10 pm

Re: 0 B Free space since upgrade to sab 4.2.3

Post by WrinklyOtter »

There is a kernel bug impacting mounted CIFS. The fix is going through review & approval.
I'm not allowed to post links yet so google "CIFS stopped working/is unstable with kernel update to 5.15.0-102.112"
However
Newbie
Newbie
Posts: 1
Joined: April 18th, 2024, 4:30 pm

Re: 0 B Free space since upgrade to sab 4.2.3

Post by However »

ckp33 wrote: April 18th, 2024, 1:53 am i also applied some OS patches, so maybe that did something. anything i can try running like Sab checks for free space? seems like something made the free space info stop working on the smb share maybe.
I suddenly had the same issue yesterday. One minute everything was downloading fine and the next minute PAUSED for lack of space. I moved from CIFS to NFS mounting and that fixed it for me. If you're on Ubuntu, or debian based linux, you will likely need to add NFS to your machine

Code: Select all

sudo apt install nfs-common
then mount the nfs share

Code: Select all

sudo mount [server IP address]:[share directory path] [linux mount point]
Then check if the mount is providing available space using:

Code: Select all

df -h
The output will look like:

Code: Select all

Filesystem                Size      Used         Avail      Use% Mounted on
udev                             1.9G      0                  1.9G      0%          /dev
tmpfs                           405M   7.5M         397M    2%         /run
/dev/sda2                 117G     11G           102G     10%       /
tmpfs                          2.0G       368K        2.0G       1%         /dev/shm
tmpfs                          5.0M      48K           5.0M      1%        /run/lock
/dev/sda1                 510M    73M         438M     15%     /boot/firmware
That fixed it for me, and no need to wait for some patch that may, or may not break something else.

I guess it is important to state that my share was on a Truenas Scale box, so making an NFS share was fairly simple. If you're using Windows, I think you can add NFS services through the add/remove programs or windows services control panel options.

I found that my CIFS shares would show in the list but would show as

Code: Select all

Resource temporarily unavailable
and provide no available space information that SABNZBD needed which is why it was failing. I had not seen anyone suggest changing protocols so I'm just making that suggestion here.

Sorry this is long, but people may not understand every little Linux nuance (I know I struggle sometimes) so I wanted to provide some commands and context instead of just saying "Just use NFS."

Good luck!
WrinklyOtter
Newbie
Newbie
Posts: 2
Joined: April 18th, 2024, 2:10 pm

Re: 0 B Free space since upgrade to sab 4.2.3

Post by WrinklyOtter »

Ubuntu has released linux kernel 5.15.0-105.115 which contains the fix to the root cause of this issue. I confirmed after updating & upgrading that my sabnzbd issue was fixed.
ckp33
Newbie
Newbie
Posts: 28
Joined: April 22nd, 2017, 9:38 pm

Re: 0 B Free space since upgrade to sab 4.2.3

Post by ckp33 »

Oh that's great news. I am on the affected kernel version 5.15.0-102.112. I will check if 5.15.0-105.115 is available for me to update! Thanks!
ckp33
Newbie
Newbie
Posts: 28
Joined: April 22nd, 2017, 9:38 pm

Re: 0 B Free space since upgrade to sab 4.2.3

Post by ckp33 »

After updating the kernel, it is working again and showing the actual free space! Thanks!
PandaWill
Newbie
Newbie
Posts: 6
Joined: October 10th, 2020, 2:42 pm

Re: 0 B Free space since upgrade to sab 4.2.3 [Linux & SMB share]

Post by PandaWill »

It must be crazy for a normal person to look between 5.15.0-102.112. and 5.15.0-105.115 and be able to think that this would solve their prooblem,
I love that all it took is a small update after so many deliberate posts with great details
KaraokeAmerica
Newbie
Newbie
Posts: 1
Joined: April 20th, 2024, 10:37 am

Re: 0 B Free space since upgrade to sab 4.2.3

Post by KaraokeAmerica »

However wrote: April 18th, 2024, 4:47 pm If you're using Windows, I think you can add NFS services through the add/remove programs or windows services control panel options.
I would like to know more about this if you have any info. I have looked periodically for a Windows NFS client to no avail. I think there are some old stuff on GitHub, but last I checked it was abandoned.

There is nothing built into Windows for this purpose that I have never found so if you have any info please share!
Post Reply