Thanks Hans,

I could not sleep so I got back up to check this out.  Turns out that /usr/lib is5.1 GB and /usr/share is 3.9 GB.  Nothing else is very big.  Guess I need to uninstall some things or resize the partition.


On Mon, Oct 28, 2013 at 10:50 PM, der.hans <PLUGd@lufthans.com> wrote:
Am 28. Oct, 2013 schwätzte Dazed_75 so:

moin moin,


On one of my machines I have two partitions for Ubuntu.  They are mounted
as / and /home.  I am getting a message saying the root filesystem is
nearly full.  When I run df -h, it shows me that /dev/sda5 is mounted as /
and had 13.5 GB of 14 GB used.  After I cleaned up some old kernels, unused
packages and a couple of other thing, it showed something like 11.5 GB of
14 GB used.

My question is:  What is the best way to find what else is overcrowding /?
In other words to do something like run du but restrict it to /dev/sda5.

Sorry, I am on a Windows system ATM.

Try 'du -sh /root /lib* /usr /var /tmp' is a good start. /root should
be small, but can pick up cruft. In your case probably not since it's a
self-adminned system using sudo :). Normally I would also include /boot,
but if you removed old kernel packages that should be rather small.

Most likely you'll be cleaning out /tmp if you don't boot very often or
something in /var.

ciao,

der.hans
--
#  http://www.LuftHans.com/        http://www.LuftHans.com/Classes/
#  If you don't think for yourself, others will think for you --
#  to their advantage.  -- Harold Gordon

---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss



--
Dazed_75 a.k.a. Larry

Please protect my address like I protect yours. When sending messages to multiple recipients, use the BCC: (Blind carbon copy). Remove addresses from a forwarded message body before clicking Send.