Page 1 of 1

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

Posted: April 17th, 2024, 10:43 pm
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.

Re: 0 B Free space since upgrade to sab 4.2.3

Posted: April 17th, 2024, 10:54 pm
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

Re: 0 B Free space since upgrade to sab 4.2.3

Posted: April 18th, 2024, 12:18 am
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.

Re: 0 B Free space since upgrade to sab 4.2.3

Posted: April 18th, 2024, 1:12 am
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.

Re: 0 B Free space since upgrade to sab 4.2.3

Posted: April 18th, 2024, 1:53 am
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.

Re: 0 B Free space since upgrade to sab 4.2.3

Posted: April 18th, 2024, 1:56 am
by sander
check out the other thread in which you posted ... full explanation & howto

Re: 0 B Free space since upgrade to sab 4.2.3

Posted: April 18th, 2024, 1:56 am
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

Re: 0 B Free space since upgrade to sab 4.2.3

Posted: April 18th, 2024, 1:56 am
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

Re: 0 B Free space since upgrade to sab 4.2.3

Posted: April 18th, 2024, 2:17 pm
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"

Re: 0 B Free space since upgrade to sab 4.2.3

Posted: April 18th, 2024, 4:47 pm
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!

Re: 0 B Free space since upgrade to sab 4.2.3

Posted: April 19th, 2024, 12:13 am
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.

Re: 0 B Free space since upgrade to sab 4.2.3

Posted: April 19th, 2024, 12:23 am
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!

Re: 0 B Free space since upgrade to sab 4.2.3

Posted: April 19th, 2024, 12:31 am
by ckp33
After updating the kernel, it is working again and showing the actual free space! Thanks!

Re: 0 B Free space since upgrade to sab 4.2.3

Posted: April 20th, 2024, 10:54 am
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!