LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   My / partition is full. (https://www.linuxquestions.org/questions/linux-general-1/my-partition-is-full-897001/)

uhcafigdc 08-12-2011 12:42 PM

My / partition is full.
 
Computer is running Debian Lenny.

I installed it a while ago; not sure when it was.
I chose the automatic partitioning option that makes these separate partitions:
Code:

        /        259M
        /dev        10M
        /home        907G
        /tmp        373M
        /usr        4.6G
        /var        2.8G

Cool! Except, the kernel libraries are stored in /lib, which is on /, and the newer kernels have increased in size since then so that THE / PARTITION BECOMES FULL WHEN YOU INSTALL THEM.

The current sizes of the contents of some of the directories under / are:
Code:

        /lib        114M
        /etc        22M
        /bin        3.8M
        /boot        42M
        /sbin        3.2M

I am not sure what is using the rest of the partition; its currently full.

I have tried `aptitude clean` and `aptitude autoclean` already, which didn't free any disk space.

I want to avoid setting this system up over again from scratch at all costs, because it would require a lot of time. How else can I solve this problem without hosing the system or losing data?

yooy 08-12-2011 12:52 PM

I think you should boot with live cd that contains gparted or other partitioning tool and resize home partition and increase / partition space.

TobiSGD 08-12-2011 01:14 PM

Do you have the option to de-install older kernels? Otherwise I would go for yooy's suggestion.

anomie 08-12-2011 01:30 PM

And, tangentially, I agree that those aren't very sane default filesystem sizes. Disk space is cheap. Under the scheme you mentioned, go for 1GB on /, and give yourself breathing room.


All times are GMT -5. The time now is 06:59 PM.