Increasing Storage Space

General support for problems installing or using Deluge
Post Reply
FaceFlip
New User
New User
Posts: 4
Joined: Fri May 25, 2012 10:45 pm

Increasing Storage Space

Post by FaceFlip »

I am a noob when it comes to Linux. I recently come upon a VPS and installed Deluge. The VPS comes with 900gB space but Deluge is only showing 8.5 gB free. How would I go about allocating more space for my torrents? Does it have to do with the download location or is it something I'm missing?
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Increasing Storage Space

Post by Cas »

The free space Deluge shows is calculated from the disk/partition on which the default Download path is located. It sounds like 8.5gb is the home directory freespace so you would need to find the path for the 900gb partition and use that as the default Download location.
FaceFlip
New User
New User
Posts: 4
Joined: Fri May 25, 2012 10:45 pm

Re: Increasing Storage Space

Post by FaceFlip »

I run the command
# fdisk -l

and receive:

Disk /dev/vda: 10.7 GB, 10737418240 bytes
16 heads, 63 sectors/track, 20805 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/vda doesn't contain a valid partition table

Disk /dev/vdb: 1020.1 GB, 1020054732800 bytes
16 heads, 63 sectors/track, 1976482 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/vdb doesn't contain a valid partition table

How would I set deluge to use dev/vdb?
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: Increasing Storage Space

Post by johnnyg »

Find out where your download location is.
Simplest is to run:

Code: Select all

deluge-console "config download_location"
Then find out where that is stored & how much free space it has:

Code: Select all

df -h <download_location>
where you substitute <download_location> to whatever your default download location is (given to you by the first command)

You can then set a new download location by doing:

Code: Select all

deluge-console "config -s download_location <download_location>"
where you substitute <download_location> to whatever you want your default download location to be
crazycaveman
Member
Member
Posts: 28
Joined: Mon Apr 30, 2012 3:08 am

Re: Increasing Storage Space

Post by crazycaveman »

What do you get if you run 'mount'? Also, you can run 'df -h', as johnny suggested, to see where each disk is mounted.
FaceFlip
New User
New User
Posts: 4
Joined: Fri May 25, 2012 10:45 pm

Re: Increasing Storage Space

Post by FaceFlip »

johnnyg wrote:Find out where your download location is.
Simplest is to run:

Code: Select all

deluge-console "config download_location"
Then find out where that is stored & how much free space it has:

Code: Select all

df -h <download_location>
where you substitute <download_location> to whatever your default download location is (given to you by the first command)

You can then set a new download location by doing:

Code: Select all

deluge-console "config -s download_location <download_location>"
where you substitute <download_location> to whatever you want your default download location to be

When I run

deluge-console "config download_location

I receive:

Code: Select all

[  ERROR   ] 18:40:13 client:393 RPCError Message Received!
--------------------------------------------------------------------------------
RPCRequest: daemon.login(, )
--------------------------------------------------------------------------------
  File "/usr/lib/pymodules/python2.7/deluge/core/rpcserver.py", line 259, in dispatch
    ret = component.get("AuthManager").authorize(*args, **kwargs)
  File "/usr/lib/pymodules/python2.7/deluge/core/authmanager.py", line 87, in authorize
    raise BadLoginError("Username does not exist")

BadLoginError: Username does not exist
--------------------------------------------------------------------------------
FaceFlip
New User
New User
Posts: 4
Joined: Fri May 25, 2012 10:45 pm

Re: Increasing Storage Space

Post by FaceFlip »

crazycaveman wrote:What do you get if you run 'mount'? Also, you can run 'df -h', as johnny suggested, to see where each disk is mounted.
/dev/vda on / type ext4 (rw)
proc on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
devtmpfs on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
/dev/vdb on /mnt type ext3 (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
User avatar
Frederick888
New User
New User
Posts: 3
Joined: Sat Jun 09, 2012 8:41 pm

Re: Increasing Storage Space

Post by Frederick888 »

you may install a webui, that make things more easier... but i think that almost all VPS for seedbox has already installed

If not, run this in ssh

Code: Select all

sudo apt-get install deluge-web
after that just run the program, then you can visit it via http://theIpOfYourVPS:8112
the default password is "deluge", remember to edit it.
crazycaveman
Member
Member
Posts: 28
Joined: Mon Apr 30, 2012 3:08 am

Re: Increasing Storage Space

Post by crazycaveman »

Based on the output from your mount and fdisk commands, /mnt is the directory that has your 900 GB of disk space. I would set the download location to be in that directory (e.g. /mnt/downloads). Once you set the download location to here, deluge should show the free space you expect; if not, try restarting deluge and see if that helps.
Post Reply