Page 1 of 1

Disk full issues

Posted: June 15th, 2011, 8:51 pm
by looseruser
Recently I had a disk full warning.
The queue became totally empty (I suppose sab could not save its own files) and I had to cross-check what was grabbed and not, and re-import the missing nzb files.

Would it be possible to add a new switch to counter this?
Say:
Pause queue when disk space is lower than 'n' megabytes. ('n' would be entered by the user).
Then, sab would check before downloading the next file (not article, file!) in queue whether there's enough space to store it. It might be a good idea to add a disk space check before extraction, too.
Thank you.

Re: Disk full issues

Posted: June 15th, 2011, 11:39 pm
by rascalli
Disk Full Warning : This is already build in , Go to : /config/directories/

And look for :

* Minimum Free Space for Temporary Download Folder

Auto-pause when free space is beneath this value.
In bytes, optionally follow with K,M,G,T. For example: "800M" or "8G"

---

But .. if you are using 2 disks for incomplete & complete you will have a problem when there is enough space in incompolete & no space on complete

Re: Disk full issues

Posted: June 16th, 2011, 1:31 am
by shypike
In the two disk case, disk full on the "complete" is less an issue
because the job will just be failed and it's possible to retry it.
Just make sure that SABnzbd's admin is on the same disk as incomplete.

If you have everything on the same disk (or partition) it's a bit tricky,
because par2 and unrar will just write on until the disk is full.
If you start deleting/moving files to make room, do *not* stop SABnzbd.
It will save its internal admin later.
When you stop SABnzbd with a full disk, you'll lose the queue.
However with 0.6.x it's likely that you'll find most of your jobs back as "orphans"
on the Status page, where you can send them back to the queue.

Re: Disk full issues

Posted: June 16th, 2011, 7:11 pm
by looseruser
I have missed this setting.
Thank you both!