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

Re: /home partition filling immediately after recent sid upgrade



On Fri, 2021-03-12 at 18:13 +0200, Andrei POPESCU wrote:
> On Vi, 12 mar 21, 09:02:23, Charles Curley wrote:
> > On Fri, 12 Mar 2021 10:45:22 -0500
> > Mitchell Laks <debianuser2021@gmail.com> wrote:
> > 
> > > I recently upgraded a system that uses sid and the /home
> > > partition
> > > filled.
> > 
> > I find "du | sort -n" useful in such situations. Start at /home and
> > work your way down.
> 
> My personal favorite:
> 
>     du -hx --max-depth=1 <path> | sort -h
> 

You can use the short option -d instead of --max-depth, and make it's
parameter '1' come straight after [1], so my go-to command for tracking
down where disk space is been used is...

du -hd1 | sort -h

then 'cd' into a likely candidate directory and repeat.

[1] parameters for short options like this only works for last short
option in a joined list, e.g. -d1h is invalid.

-- 
Tixy


Reply to: