You are not logged in.

#1 2011-04-11 06:11:59

iso
Member
Registered: 2008-12-27
Posts: 46

[SOLVED] I am using 78% of my root partition after clearing the cache

I installed the Archbang distro a couple of months ago and other then RubyOnRails libs and Latex (which I am now uninstalling) I haven't installed that much more.

I have cleared the pacman cache `sudo pacman -Scc`, but am still using 78%, 67% with Latex removed.

Using gparted, can I safely increase the size of the root partition?

Last edited by iso (2011-04-13 18:02:05)

Offline

#2 2011-04-11 06:19:59

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: [SOLVED] I am using 78% of my root partition after clearing the cache

I suppose the best answer is: it depends.

The more info you give about your hard disk, file systems and partitions, the better the advice.


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#3 2011-04-11 06:25:21

iso
Member
Registered: 2008-12-27
Posts: 46

Re: [SOLVED] I am using 78% of my root partition after clearing the cache

Here you go

[chris@archlinux ~]$ df
Filesystem           1K-blocks      Used Available Use% Mounted on
udev                     10240           260      9980   3% /dev
/dev/sda3              7060308       4120388   2581272  62% /
shm                    1897880        812   1897068   1% /dev/shm
/dev/sda1                38888       14882     21998  41% /boot
/dev/sda4            473099188  33354924 415712232   8% /home
[chris@archlinux ~]$ 

Offline

#4 2011-04-11 07:52:25

rekado
Member
From: Shanghai, China
Registered: 2009-01-13
Posts: 98
Website

Re: [SOLVED] I am using 78% of my root partition after clearing the cache

Increasing the size of the root partition should work as long as you can resize the following partition (in your case this is sda4). I've done this a couple of times for virtual machines running Arch and never experienced any problems. Moving around or playing with your boot partition is something that might bite you, though you wouldn't have to touch your boot partition in your case.

I see you don't have separate partitions for /tmp and /var; I've seen some log files in /var growing to enormous sizes, so you might want to run something like this to see if there are huge files you could do without:

du / | sort -n

Offline

#5 2011-04-11 07:55:55

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: [SOLVED] I am using 78% of my root partition after clearing the cache

Agreed that it is a good idea to have /var separate - especially as pacman's cache sits there as well.

As for / some people get away with 4GB, others with 30GB. 15GB should suffice for most needs (and give you plenty of space to install whatever you like).


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#6 2011-04-11 12:51:41

keenerd
Package Maintainer (PM)
Registered: 2007-02-22
Posts: 647
Website

Re: [SOLVED] I am using 78% of my root partition after clearing the cache

To attack the problem from the other end, try running "pacgraph -c", that will tell you if there are any other huge applications sitting on your drive.

Offline

#7 2011-04-11 22:24:23

cell
Member
Registered: 2007-10-23
Posts: 111

Re: [SOLVED] I am using 78% of my root partition after clearing the cache

Or if you can not safely increase the / partition you can move the cache to whatever partition or harddisk you wish with pacman.conf and the CacheDir option.
http://www.archlinux.org/pacman/pacman.conf.5.html

Offline

#8 2011-04-13 18:01:38

iso
Member
Registered: 2008-12-27
Posts: 46

Re: [SOLVED] I am using 78% of my root partition after clearing the cache

I will try resizing the partitions when I finish up a project.  I am curious to why the default partition size is so small considering most hardware setups now days consist of a harddrive of at least 500GB.

Thanks for the help

Offline

Board footer

Powered by FluxBB