How to invoke recalulated space
How to invoke recalulated space
I downloaded to a flash drive with barely enough room and AFTER the download started, removed files to avoid possible space issues. The 4.07 gb download is stalled at 98.2% with about 72 mb remaining to complete the download. It's throwing an I/O error "not enough space" with 1.65 gb of free space available on the flash drive. I'm assuming my after-approach to increasing available space left qBittorrent relying on BEFORE conditions as though the removed files are still there and neither restarting or rechecking triggers a recalculation of the space available. Is there some other way to do this that I'm overlooking? [thx!]
Re: How to invoke recalulated space
Flash drives right before they die sometimes go into read-only mode and won't let you save or delete stuff off them.
Re: How to invoke recalulated space
The flash drive allowed files to be removed during the UFC 231 download and two days ago it loaded a UFC 232 download that plays back with no problem. The uncompleted, stalled UFC 231 download also plays back well with a small portion at the very end missing. It threw the I/O error "not enough space" even before the UFC 232 download was added to the flash drive when there was more than twice the needed amount of space available. qB had no problem correctly reading the space available for the UFC 232 download. It only seems to have a problem with the UFC 231 download and seems to keep using the amount of free space found BEFORE files were removed and never updates it. In its stalled state, no one can upload UFC 231 and the private tracker sees it as a download not properly made available for an equal share of uploads - a "Hit and Run" violation. So my questions are [A] does qB only make a one-time read of available space before each download that it can't and won't ever update for that particular download? (B) If not, what triggers the update? [C] Can that trigger be user-invoked and [D] How is it user-invoked? What if I move UFC 231, restart it, pause it, move it back to the flash drive, and restart it - will it then make a new updated read of available space?
Last edited by pebusco on Tue Jan 01, 2019 5:22 am, edited 1 time in total.
Re: How to invoke recalulated space
Stopping the torrent, closing qBT, and restarting qBT is the only possible workaround I can suggest.
I'm not sure when or how often it checks for free space.
I'm not sure when or how often it checks for free space.
Re: How to invoke recalulated space
Thank you Switeck. Restarting qB, pausing, rechecking, force starting, and restarting the download has no effect. Stalls out and throws a million I/O errors a minute claiming "not enough space" with 1.7 GB of space available for just over 73 MiB remaining to finish the download. Crazy.
Last edited by pebusco on Tue Jan 01, 2019 11:14 pm, edited 1 time in total.
Re: How to invoke recalulated space
The stalled download is 4.07 GB and qB's "General" tab shows that it's downloaded 4.92 GB [?]. Showing barely over 4 GB on the flashdrive and it hasn't budged from 98.2% in weeks. Where's this extra .92 GB going lol! Freed up a little more space using dos/command so there's 1.7 GB available with a little over 73 MiB remaining to finish the download. The I/O error "not enough space" nag is so bad had to shut notifications off. Whatta nightmare it's made of a simple operation. With no solution. 

Re: How to invoke recalulated space
Flash drives may be counting partially used 512KB blocks as full even when they're nowhere near that.
Garbage collection on the drive may not be as timely or automated as it should be.
This can be especially bad if the flash drive is using NTFS format and sparse files.
Only the latest versions of qBitTorrent (v4.1.4/v4.1.5) slightly reduces the massive file fragmentation normally gotten from downloading directly to a drive using sparse files.
Try completing the download on another drive -- even a ramdrive if you're daring enough and can spare enough ram to do it!
You'll need to copy the existing unfinished downloads there, point qBT to the new location, and do force recheck while the torrents are stopped.
Garbage collection on the drive may not be as timely or automated as it should be.
This can be especially bad if the flash drive is using NTFS format and sparse files.
Only the latest versions of qBitTorrent (v4.1.4/v4.1.5) slightly reduces the massive file fragmentation normally gotten from downloading directly to a drive using sparse files.
Try completing the download on another drive -- even a ramdrive if you're daring enough and can spare enough ram to do it!
You'll need to copy the existing unfinished downloads there, point qBT to the new location, and do force recheck while the torrents are stopped.
Re: How to invoke recalulated space
qB's not the only one having issues with space. That's why the download went to a flash drive. Still piecing things together from the Camp Fire and everything at my disposal is out of space lol! It'll get better and in the meantime, I drove this smoke wagon 'til it's wheels fell off but even my own hypocrisies have their limits. I scampered like a scoundrel pirate under my VIP cover to dodge fire of a "Hit & Run" and zapped the unruly download out of my misery. Aye, there's little left to do but cast myself adrift in torrential uploading penance and hoped for redemption. Thanks for riding through this downloading squalor to help me, it's very much appreciated. May your treasures be glorious and bountiful throughout the New Year. 
