By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 3097

Summary: Ark fails due to spurious "no space left on device" error
Product: TDE Reporter: Jan Stolarek <jwstolarek>
Component: tdeutilsAssignee: Timothy Pearson <kb9vqf>
Status: NEW ---    
Severity: normal CC: bugwatch, jwstolarek, michele.calgaro
Priority: P5    
Version: R14.0.x [Trinity]   
Hardware: Other   
OS: Linux   
Compiler Version: TDE Version String:
Application Version: Application Name:
Bug Depends on:    
Bug Blocks: 2968    

Description Jan Stolarek 2020-04-16 07:37:11 CDT
I have five 5GB rar archive parts that form a single archive. When I right-click on the first file in Konqueror and select "Extract here" from Ark submenu, Ark tells me there's no sufficient space on the drive. However, the files are an external drive with over 1.5TB free space. On the other hand, neither my home partition nor the root partition have the required ~30GB to extract the archive. I am guessing that Ark might be trying to create a temporary file on one of these partitions. Or maybe an overflow error if free space on the drive is stored in a 32-bit variable (highly unlikely)? Extracting the archive from the command line with unrar succeeds without problems.
Comment 1 Michele Calgaro 2020-04-20 04:29:23 CDT
Hi Jan,
I agree with you it may be related to some temporary files. Any way you can monitor the free space while the extraction process is in progress? This could give some extra pointers for troubleshooting.
Comment 2 Jan Stolarek 2020-04-27 14:39:27 CDT
I just checked - Ark extracts the files to a temporary location in /tmp/tde-USER/arkXXX/extremoteXXX, where XXX are random strings, and then copies the files from temporary location to target location.
Comment 3 Michele Calgaro 2020-04-28 10:40:41 CDT
Thanks for checking Jan. I will leave the bug open to remind that the code could be optimize and extract the files in the actual final folder rather then a temp location first, if possible.
Comment 4 Jan Stolarek 2020-04-28 10:44:41 CDT
Correct me if I'm wrong, but Ark does not implement its own extraction algorithms but only acts as a frontend for extraction tools installed on the system. If that is the case then it shouldn't be too difficult to do for most format archives as their extraction seems to work in place.
Comment 5 Michele Calgaro 2020-04-28 21:24:58 CDT
Hi Jan,
you are correct, Ark is just a front end. I can't really say how long it would take to fix this before looking at the code :-)