RC3 - Disk error on creating file - sabnzbd deletes files

Questions and bug reports for Beta releases should be posted here.
Forum rules
Help us help you:
  • 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
TechDude
Newbie
Newbie
Posts: 13
Joined: September 19th, 2009, 1:35 am

RC3 - Disk error on creating file - sabnzbd deletes files

Post by TechDude »

Disk error - files deleted

I received the following error:

ERROR:
Disk error on creating file C:\Users\Media\Downloads\nzbIncomplete\[title redacted] 720p HDTV DD5 1 x264 CtrlHD\[title.redacted].720p.HDTV.DD5.1.x264-CtrlHD.vol000+01.par2


It would appear (to me) that the file name is too long, thus causing this error.
sabnzdb downloaded the files, attempted to unrar and move, but encountered an error

The issue here is that sabnzbd deleted the rar file and flagged this as successful in history.
However, the directory it moved to had the folders, but no files.

I attempted the download 3 times with same result.
Last edited by inpheaux on January 23rd, 2010, 3:00 pm, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: RC3 - Disk error on creating file - sabnzbd deletes files

Post by shypike »

In 0.5.0 Final there will be an INI-file only setting called "folder_length_max"
which allows you to set a maximum size for the folder name.
64 should be a safe value.
TechDude
Newbie
Newbie
Posts: 13
Joined: September 19th, 2009, 1:35 am

Re: RC3 - Disk error on creating file - sabnzbd deletes files

Post by TechDude »

I do not believe it to be the specific folder to be an issue.... but the full path and filename length:

ie:
C:\Users\Media\Downloads\nzbIncomplete\the.tv.series.name.and.episode.number.720p.HDTV.DD5.1.x264.CtrlHD\the.tv.series.name.and.episode.number.720p.HDTV.DD5.1.x264.CtrlHD.720p.HDTV.DD5.1.x264-CtrlHD.vol000+01.par2

I just noticed that the error message truncated the names [title redacted].
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: RC3 - Disk error on creating file - sabnzbd deletes files

Post by shypike »

The folder size limit helps to reduce the total path size.
There's no proper way to reduce the complete path,
so we offer the option to limit the foldersize.
In most cases this should be enough.
TechDude
Newbie
Newbie
Posts: 13
Joined: September 19th, 2009, 1:35 am

Re: RC3 - Disk error on creating file - sabnzbd deletes files

Post by TechDude »

Great.

Curious... what occurs when the folder size exceeds the limit?

Does the download/move fail and delete (like now)
or does the folder name truncate automatically in order to preserver the data ?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: RC3 - Disk error on creating file - sabnzbd deletes files

Post by shypike »

The folder name is truncated when above the specified size.
Name clashes are resolved by adding .1, .2 to the name (like it always has).
snubz
Newbie
Newbie
Posts: 5
Joined: December 14th, 2009, 7:31 pm

Re: RC3 - Disk error on creating file - sabnzbd deletes files

Post by snubz »

(wrote about error but might be wrong about it...looking into it.) 
Last edited by snubz on January 28th, 2010, 4:01 am, edited 1 time in total.
Post Reply