This forum has been archived. All content is frozen. Please use KDE Discuss instead.

"Not enough disk space available" when restart dow

Tags: None
(comma "," separated)
benderamp
Registered Member
Posts
29
Karma
0
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
George
Moderator
Posts
5421
Karma
1

Mon Oct 29, 2007 7:08 pm
I believe we fixed some bugs in that area, and what is already allocated should be taken into account. Could you try the 2.2.2 release ?
benderamp
Registered Member
Posts
29
Karma
0

Tue Oct 30, 2007 10:11 am
Updated to 2.2.2 - same problem
benderamp
Registered Member
Posts
29
Karma
0

Tue Oct 30, 2007 10:27 am
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
User avatar
bassmadrigal
Registered Member
Posts
113
Karma
0

Tue Oct 30, 2007 3:11 pm
AFAIK you cannot have ktorrent download to a NTFS or FAT drive as it uses symbolic links.
George
Moderator
Posts
5421
Karma
1

Wed Oct 31, 2007 1:38 pm
benderamp wrote: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


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.
benderamp
Registered Member
Posts
29
Karma
0

Wed Oct 31, 2007 3:31 pm
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?
User avatar
bassmadrigal
Registered Member
Posts
113
Karma
0

Wed Oct 31, 2007 3:37 pm
Just the 200MB. Ktorrent will do a symbolic link between your data and its cache within ~/kde/apps/ktorrent

If you do it with NTFS it may be different... if it works at all. Although I haven't kept up with any ntfs support as I don't use it. This may be old information.
benderamp
Registered Member
Posts
29
Karma
0

Wed Oct 31, 2007 4:29 pm
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
George
Moderator
Posts
5421
Karma
1

Thu Nov 01, 2007 10:20 am
benderamp wrote: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.


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.
nikos
Registered Member
Posts
2
Karma
0

Thu Apr 10, 2008 3:17 pm
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.
George
Moderator
Posts
5421
Karma
1

Sat Apr 12, 2008 1:31 pm
Upgrade to a later version, there have been many bugfixes since 2.2.2


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]