[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: partitioning hard drive & /usr is already 96% full



Andy <list@firman.us> writes:

> The only thing I have done is install KDE 3.1 and OpenOffice.org and now
> /usr is 96% full.  (/home is large due to temp. storage from another install)
> 
> Question for the list:
> What is the lists advice in managing my /usr partition
> so it does not completetly fill up and cause problems in the future?

My advice is to use LVM (Logical Volume Manager).  With LVM you don't
use disk partitions for your file systems, but instead create logical
volumes (LV), which can be easily created, deleted and resized
(extended and reduced), without moving data around.  This means you
can easily adapt your file systems sizes to your needs without even
rebooting.

For example, on my machine (not debian though), it looks like this:

    isnogud:urs$ df
    Filesystem           1k-blocks      Used Available Use% Mounted on
    /dev/vg0/root           126931     50529     69849  42% /
    /dev/sda1                 7988      2213      5775  28% /boot
    /dev/vg0/var            507748    396058     85476  83% /var
    /dev/vg0/news          2014611   1620327    394284  81% /var/spool/news
    /dev/vg0/usr           2579707   1874626    574009  77% /usr
    /dev/vg0/opt            253871     50038    193348  21% /opt
    /dev/vg0/home          8254992   5201281   2718167  66% /home
    /dev/vg0/galois          63461     15471     44714  26% /tftpboot/galois
    tmpfs                   128924        40    128884   1% /tmp
    /dev/vg0/old             63461     54190      6650  90% /OLD
    /dev/vg0/local          515940    244416    250553  50% /usr/local
    /dev/vg0/ftp           1031880    989616     42264  96% /usr/local/ftp
    
When I installed debian on another machine, however, there was AFAIR
no option to use LVM.  So you would have to do this by hand after
installation.


urs



Reply to: