Author Topic: Root partion is almost full  (Read 756 times)

Offline deathromantik

  • Sr. Member
  • ****
  • Posts: 497
  • Got any blacker?
Root partion is almost full
« on: June 04, 2011, 10:23:15 AM »
My root is at 166.9Mb free and I am wondering if this is going to be a problem.
PCLinuxOS KDE - 64bit RC1, COMPAQ Presario Laptop (Turned upside down so it won't overheat!
BenQ external monitor, AMD Athlon II P320 Dual-Core CPU, ATI Manhattan [Mobility Radeon HD 5430 Series] GPU, Toshiba MK3265GS SATA 320 gb HDD and 4 GB RAM

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Root partion is almost full
« Reply #1 on: June 04, 2011, 10:40:00 AM »
My root is at 166.9Mb free and I am wondering if this is going to be a problem.

Hi,

short answer Yes, you are going to have issue, too much few space available, additionally the last %5 is normally available only from root user.
you can run bleachbit to cleanup some temporary files, both as user and as root.

AS

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12510
Re: Root partion is almost full
« Reply #2 on: June 04, 2011, 10:42:06 AM »
My root is at 166.9Mb free and I am wondering if this is going to be a problem.

Well of course it is.

Thanks to everyone who donates. You keep the servers running.

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6235
Re: Root partion is almost full
« Reply #3 on: June 04, 2011, 11:19:53 AM »
How big are your partitions?

It could be that most of the space is taken by stuff you dont even know are in your system taking up space.

Open the terminal, log in as root and then run these two commands(copy and paste them on the terminal) and give their output. The last time will take some time to produce its output.

df -h

cd / &&  du -sch `ls -d * | sed  's/proc\///'`


« Last Edit: June 04, 2011, 11:29:37 AM by muungwana »
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline deathromantik

  • Sr. Member
  • ****
  • Posts: 497
  • Got any blacker?
Re: Root partion is almost full
« Reply #4 on: June 05, 2011, 01:57:59 AM »
Code: [Select]
[root@linux deathromantik]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             7.4G  6.9G  141M  99% /
/dev/sdb5              13G  8.8G  4.2G  68% /home
none                 1009M   14M  995M   2% /tmp
/dev/sdc5             257G   36G  222G  14% /media/PORTABLE MU
/dev/sdc1             675G  223G  453G  33% /media/Elements
[root@linux deathromantik]# cd / &&  du -sch `ls -d * | sed  's/proc\///'`
15M     bin/
21M     boot/
1.4M    dead.letter
820K    dev/
43M     etc/
8.6G    home/
8.0K    initrd/
165M    lib/
16K     lost+found/
258G    media/
4.0K    mnt/
Root is the internal SSD and home is on a 16GB SDHC card with 2GB as swap.
PCLinuxOS KDE - 64bit RC1, COMPAQ Presario Laptop (Turned upside down so it won't overheat!
BenQ external monitor, AMD Athlon II P320 Dual-Core CPU, ATI Manhattan [Mobility Radeon HD 5430 Series] GPU, Toshiba MK3265GS SATA 320 gb HDD and 4 GB RAM

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Root partion is almost full
« Reply #5 on: June 05, 2011, 03:35:18 AM »
deathromantik,

the listing you are reporting look like not completed (i.e. don't see /usr, /var ... possibly others).
You should retry muungwana's command:
Code: [Select]
cd / &&  du -sch `ls -d * | sed  's/proc\///'`or alternatively try the following (more or less will give the same result)
Code: [Select]
du -s /*
of course, type commands from root console.

AS


Offline bicol_willem

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2378
Re: Root partion is almost full
« Reply #6 on: June 05, 2011, 04:18:09 AM »
It looks you are reaching the maximum you can install (apps/games/whatever). As you have "2 hdd's" so to say, you have no option to resize / as you reached the max capacity of your SSD drive.

Clean apt if not yet done and if clean ..... you know the scope  ;) Try to remove all you don't need (think apps, video drivers you don't need, etc.)

Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15296
  • ┌∩┐(◕_◕)┌∩┐
Re: Root partion is almost full
« Reply #7 on: June 05, 2011, 04:27:27 AM »
Quote
Root is the internal SSD and home is on a 16GB SDHC card with 2GB as swap.

If you install sometime in the future you may want to consider switching around:

/root = 16GB
/home = 8GB

especially as you have a 320GB drive on to which you can move stuff to from /home
PCLinuxOS 32bit KDE 4.10.1; kernel-3.4.11-pclos1.bfs & 64bit 3.2.18bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000

Offline deathromantik

  • Sr. Member
  • ****
  • Posts: 497
  • Got any blacker?
Re: Root partion is almost full
« Reply #8 on: June 05, 2011, 05:17:35 AM »
I am thinking of upgrading to a 32 or 64 GB SDHC. I removed an old kernel and cleaned apt and cache.
running the du -s /* command gives:
Code: [Select]
[root@linux deathromantik]# du -s /*
15M     /bin
12M     /boot
1.4M    /dead.letter
852K    /dev
43M     /etc
du: cannot access `/home/deathromantik/.gvfs': Permission denied
8.7G    /home
8.0K    /initrd
119M    /lib
16K     /lost+found
^[[B^[[B^[[B^[[B^[[B^[[B^[[A^[[A^[[A258G        /media
4.0K    /mnt
4.0K    /Module.symvers
0       /null
448M    /opt
du: cannot access `/proc/18412/task/18412/fd/4': No such file or directory
du: cannot access `/proc/18412/task/18412/fdinfo/4': No such file or directory
du: cannot access `/proc/18412/fd/4': No such file or directory
du: cannot access `/proc/18412/fdinfo/4': No such file or directory
0       /proc
15M     /root
19M     /sbin
4.0K    /swap
0       /sys
64M     /tmp
5.2G    /usr
256M    /var
PCLinuxOS KDE - 64bit RC1, COMPAQ Presario Laptop (Turned upside down so it won't overheat!
BenQ external monitor, AMD Athlon II P320 Dual-Core CPU, ATI Manhattan [Mobility Radeon HD 5430 Series] GPU, Toshiba MK3265GS SATA 320 gb HDD and 4 GB RAM

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Root partion is almost full
« Reply #9 on: June 05, 2011, 05:29:57 AM »
deathromantik,

you can try to look in /var/log, probably several old log files can be deleted (those ending. with .0 .1 .2 ... and ending with .gz),
because of a know bug in logrotate package probably many log files are grown ... you can zero out these files using a command
like:

> logfilename

additionally, file in /tmp can be safely deleted.

look in /root/tmp too, and delete temporary files.

Of course, the real solution is to upgrade to a larger disk.

AS