Creating & seeding from Linux?
Posted: Wed Sep 08, 2021 9:05 am
I have used deluge as a daemon on Linux with console access for a couple years now, that's been great, other than I'm paying my ISP a surcharge because I once cracked the terabyte/month limit. There are occasionally issues with Python packages, but that's my language of choice, so resolving those hasn't been an issue. This evening I've been working on creating and seeding a torrent for the first time and it's been absolutely maddening.
I have about a terabyte of data that I'm going to distribute by torrent. It's on an external device in a ZFS dataset - /extdown/elkbackup. I ran the following command in that directory to create the torrent file:
mktorrent -l 20 -p . -o CapitolSiegeBlackBox.torrent
So that's 2^20 or one megabyte chunks, 999,059 of them, starting in the current directory, and putting the results in a torrent file. The total file size was about 21 meg and the first time I tried adding it Deluge failed, saying "too many pieces in torrent". I started another mktorrent using -l 22, hoping that four megabyte chunks would be acceptable.
There are a functionally infinite number of guides out there about how to seed using Windows, how to seed connecting with one's browser, and so forth. They all seem a bit remedial to me and I've not been able to locate one that covers the precise steps to getting a new torrent seeding using the console. I tried starting deluge-console in that directory and loading the torrent there, tried starting it from home directory, etc, and I come to a point where the client thinks I want to download the torrent from elsewhere, it doesn't see that the data is already present. In the various guides I see mention that Deluge wants to use ~/Downloads the starting points for anything it does.
Since the content is in a ZFS dataset it's trivial to change the mount point from /extdown/elkbackup to /home/whatever/Downloads or /home/whatever/Downloads/elkbackup. I'm messing with it now, just using a symlink, while I'm waiting for the new torrent file with four megabyte chunks. I did jump through the hoops of getting the web service running on tcp/8112 but this just seems like another layer of stuff I don't need. The machine I'm using actually has the a Ubuntu Budgie so I could remote desktop to it, but that also seems like a layer of stuff I don't need. All I really want is to get this seeding with deluge-console running under tmux.
Once I understand what to do in terms of paths to make Deluge happy, seems like this is about a two minute problem. Is there a guide out there for the n00b seedbox operator?
I have about a terabyte of data that I'm going to distribute by torrent. It's on an external device in a ZFS dataset - /extdown/elkbackup. I ran the following command in that directory to create the torrent file:
mktorrent -l 20 -p . -o CapitolSiegeBlackBox.torrent
So that's 2^20 or one megabyte chunks, 999,059 of them, starting in the current directory, and putting the results in a torrent file. The total file size was about 21 meg and the first time I tried adding it Deluge failed, saying "too many pieces in torrent". I started another mktorrent using -l 22, hoping that four megabyte chunks would be acceptable.
There are a functionally infinite number of guides out there about how to seed using Windows, how to seed connecting with one's browser, and so forth. They all seem a bit remedial to me and I've not been able to locate one that covers the precise steps to getting a new torrent seeding using the console. I tried starting deluge-console in that directory and loading the torrent there, tried starting it from home directory, etc, and I come to a point where the client thinks I want to download the torrent from elsewhere, it doesn't see that the data is already present. In the various guides I see mention that Deluge wants to use ~/Downloads the starting points for anything it does.
Since the content is in a ZFS dataset it's trivial to change the mount point from /extdown/elkbackup to /home/whatever/Downloads or /home/whatever/Downloads/elkbackup. I'm messing with it now, just using a symlink, while I'm waiting for the new torrent file with four megabyte chunks. I did jump through the hoops of getting the web service running on tcp/8112 but this just seems like another layer of stuff I don't need. The machine I'm using actually has the a Ubuntu Budgie so I could remote desktop to it, but that also seems like a layer of stuff I don't need. All I really want is to get this seeding with deluge-console running under tmux.
Once I understand what to do in terms of paths to make Deluge happy, seems like this is about a two minute problem. Is there a guide out there for the n00b seedbox operator?