Registered Member
|
I had 7gb free on disk. I have started downloading 4gb file - it has preallocated 4gb file for it (so the free space is now 3 gb), it did download the file for a while. Then I have rebooted (restarting ktorrent should be the same). The download does not want to continue - ktorrent says "Not enough disk space available" (3 gb free is less than 4gb), though the 4 gb file is already preallocated. So, I have to move away 1 gb from the drive, restart the download and put this 1 gb back.
stopping and trying to restart the download gives the same result - exiting app is not necessary ktorrent v2.2.1 from kde 3.5.7 on opensuse 10.2 |
Moderator
|
|
Registered Member
|
|
Registered Member
|
Hmm.. I see that the free space on c is really running out while the download has the progress.
I am downloading file to /windows/C/opensuse/openSUSE-10.3-GM-DVD-x86_64-iso which is already 4.1 gb (was preallocated). But the free space on drive is decreasing along with the download progress.. I see 2 possibilities here: 1. ktorrent writes data to some temp file on this partition, but I can't find where is this place 2. strange issue with ntfs-3g driver |
Registered Member
|
|
Moderator
|
It's probably the file preallocation method, in the advanced preferences you need to turn on full diskspace preallocation. This is slower, but the diskspace is fully reserved and will not decrease as you download the torrent. |
Registered Member
|
Ok, so can you explain me how the preallocation should work - I probably miss here something. So, if I want to download the 200mb file, how much free disk space do I need in this case (in case if use the right ext3/reiser/xfs filesystem, not ntfs)? Do I need exactly 200mb (which are taken at the 1st moment for the target file when I just start the download), or do I need 400 mb (200 for the preallocated file as in the 1st case + 200 mb for the needs of the download process)?
In other words, if I enable " full diskspace preallocation", how much space should it preallocate for the 200mb file - 200mb or 400mb? |
Registered Member
|
|
Registered Member
|
Ok, so in that case what does the " full diskspace preallocation" option does? I had it switched off by default when started to download the 4 gb file, but the file was created in its full size (4 gb) at the 1st moment.
The symbolic link to the file on ntfs seem to work and I have finally downloaded this 4 gb file and it is ok, but probably the ntfs really caused the above troubles - maybe I would try to check that issue on the good filesystem, and also would try to make sure that I did not lose space on the ntfs partition to nowhere. Thank's for help |
Moderator
|
Event though most filesystems report the size to be correct, that doesn't mean that it is actually used up on disk. The full diskspace preallocation writes every byte to a file. So you end up with a 4 gb file who actually uses up 4 gb. The quick preallocation is nothing more then telling the file system that the file is going to end up this big. |
Registered Member
|
Hi all.
I had, almost, the same problem: I started downloading Mandriva Free torrent (4.35GB). The space was preallocated, normally. The following option was already checked: |v| Fully preallocate diskpace (avoids fragmentation) Basic (slow). The drive is "XFS encrypted". Downloading starts fine. Disk usage: used (with torrent included): 9.0 GB free: 2.2 GB total: 12.1 GB version: Ktorrent 2.2.2 When restarting Ktorrent, the following message appears. "There is not enough diskspace available", and of course, it doesn't download the torrent, anymore. Then I deleted the torrent files. Changed preferences to: |v| Fully preallocate diskpace (avoids fragmentation) Filesystem specific Restarted Ktorrent. To the message, saying that the files do not exist, I answered "download again". Everything went fine. Then I restarted Ktorrent. The same problem! Finally I removed, the rest of the files from the disk, and created more space to the partition (6.1GB). The download, now, works. A bug? Is it because of the filesystem? Or is it because of the size of the torrent or the file? Edit: In fat32 and ext3 partitions, downloading smaller files (up to 800 MB), works fine. I can use even the last drop of diskspace available. I have downloaded an 1.5GB torrent, consisting of smaller files, with no problem, also, regardless of the left discspace. |
Moderator
|
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]