root partition full
Amedee Van Gasse
amedee-ubuntu at amedee.be
Wed Dec 21 13:34:22 UTC 2011
On Tue, December 20, 2011 18:32, CJ Tres wrote:
> I've followed the guide at
> http://ubuntuforums.org/showthread.php?t=1122670
>
> Unmounting all but system partitions,
> I've run apt-get-clean and -autoclean along with --autoremove, emptied
> trash in root and home and after I removed old kernels and headers I've
> reduced / by 4%.
> There are no large or numerous log files, although I did delete the
> oldest ones in each group.
>
> I did install doodle yesterday, which created a 20G directory in /var/lib.
> As an experiment I moved that folder to another hd but the size of /
> wasn't reduced, it's still 96% full! - 28G total 26G used 1.1G
> available. When I tried to put it back there wasn't enough room.
> Remaining directories are at or < 1%.
>
> Analyzing the file system with disk usage analyzer (gksudo boabab) still
> reports root as 100% full (after doing the above steps) and the size as
> 13.5G, home as 62.3% full - 8.4G, /usr as 27.5% at 3.7G and /var - 4,5%
> - 617.1 MB.
>
> df -Th | sort says:
> /dev/sda1 ext3 28G 26G 1.1G 96% /
> /dev/sda7 ext4 51G 13G 36G 27% /home
> Filesystem Type Size Used Avail Use% Mounted on
> none devtmpfs 4.0G 704K 4.0G 1% /dev
> none tmpfs 4.0G 0 4.0G 0% /var/lock
> none tmpfs 4.0G 432K 4.0G 1% /var/run
> none tmpfs 4.0G 788K 4.0G 1% /dev/shm
>
> Is there something else I'm missing that I may be able to do to get the
> percentage down or is my / partition just too small?
Since 96% is in use, not 100%, you will still be able to install small
programs. Install ncdu (NCurses Disk Usage):
sudo apt-get install ncdu
then run it as root:
sudo ncdu -x /
(the -x option tells it to only look on the same filesystem)
More info at http://dev.yorhel.nl/ncdu
I have given this advice several times on this list, and in all cases
people have thanked me. :)
--
Amedee
More information about the ubuntu-users
mailing list