Page 1 of 1
Temp files deleted after failed move
Posted: January 24th, 2012, 7:48 am
by Samkook
Downloaded files from the temporary folder were deleted even though they failed to be moved to their target folder since there was no disk space left.
SABnzbd recognized that there was no space left, but continued to try to move the next files and obviously failed.
Using v0.6.14 on linux.
Re: Temp files deleted after failed move
Posted: January 24th, 2012, 10:52 am
by shypike
This is more an error of the operating system.
I agree that it's not a good idea to continue trying to move, but at least the first file
will get lost when the OS isn't capable of proper recovery.
BTW: SABnzbd doesn't "recognize" that the disk is full, it just knows something went wrong
and print the error message from the OS. Unfortunately every OS (and even variants of OSses)
has it own way of reporting it.
It's probably better to abort post-processing after the first fatal error message in future releases.
Re: Temp files deleted after failed move
Posted: January 24th, 2012, 10:57 am
by Samkook
Ah.
Aborting the post-processing would be a good idea in this case. It would have prevented me from having to redownload about 3GB of data.