'Root is full' problem

R Kimber richardkimber at btinternet.com
Mon Jul 6 15:11:13 UTC 2015


On Mon, 6 Jul 2015 16:00:11 +0100
Colin Law wrote:

> On 6 July 2015 at 14:05, Richard Kimber <richardkimber at btinternet.com>
> wrote:
> >
> > I've hunted for large files but can't see anything obvious.  There
> > ought to be an easy way of listing files larger than a particular size
> > (e.g. 1GB), but I don't know what it might be.

In fact, it turned out that it wasn't one very large file but many files.

> To get a sorted directory usage from current directory down use
> sudo du -k * | sort -nr | cut -f2 | xargs -d '\n' du -sh | more
> 
> sudo not required unless permissions require it of course.
> 
> Even better is to install ncdu if you can then
> sudo ncdu -x /path/to/analyse

Thanks. ncdu doesn't seem to be in the repos, Ill have to look for it.

- Richard
-- 
Richard Kimber





More information about the ubuntu-users mailing list