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

Re: /root is full



No need to CC me. I am subscribed

Am Dienstag, 29. Juli 2014, 14:16:02 schrieb Haines Brown:
> On Tue, Jul 29, 2014 at 05:08:01PM +0200, Martin Steigerwald wrote:
[…]
> > I suggest something like
> > 
> > merkaba:~> du -d 1 -hx / | sort -rh | head -10
> > 20G     /
> > 16G     /usr
> > 2,7G    /var
> > 1,2G    /opt
> > 747M    /lib
> > 57M     /root
> > 21M     /bin
> > 19M     /sbin
> > 19M     /etc
> > 12K     /lib64
> > 
> > and go from there. Make it -d 2 and remove head -10 for another level of
> > dirs.
> > 
> > Or try something like ncdu once you are able to install it again.
> 
> Ncdu was new to me and I tried it. I did:
> 
>   $ ncdu -rx /
> 
> and it says total disk usage is 130.7MiB. I take this to mean total
> partition usage is 130.7 Mb. Although this seems extraordinarily big, it
> is well less than the 500 Mb partition. It seems that 95 Mb for lib is
> too big, and when I roughtly added up the size of the files in /lib, it
> seems far more than that. It is also a lot different than what df says,
> which is that the partition is 100% full with 474.4 Mb of files.

Well, okay. I have no ad hoc explanation for the difference.

In case du and ncdu have different oppinions I´d go with du :)

-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7


Reply to: