public inbox for [email protected]  
help / color / mirror / Atom feed
From: Greg Sabino Mullane <[email protected]>
To: Mikael Petterson <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: Disk is filling up with large files. How can I clean?
Date: Wed, 9 Oct 2024 12:01:17 -0400
Message-ID: <CAKAnmmKUaeqPjsMdaqK6F8xk0kJ1nzkYN_tbR7i-0xiQp_dVqw@mail.gmail.com> (raw)
In-Reply-To: <GV1PR08MB83052D322AD3FB9A65125339B87E2@GV1PR08MB8305.eurprd08.prod.outlook.com>
References: <GV1PR08MB83052D322AD3FB9A65125339B87E2@GV1PR08MB8305.eurprd08.prod.outlook.com>

On Wed, Oct 9, 2024 at 4:10 AM Mikael Petterson <[email protected]>
wrote:

> Hi,
>
> I find our disk is filling up.
>
> sudo find /var/lib -type f -size +100M -exec ls -lh {} \; | awk '{ print
> $9 ": " $5 }'
>
...

Those files only add up to about 30GB. That's pretty small these days :
time for a bigger disk? Or perhaps the space is elsewhere: probably want to
do something like
sudo find / -xdev -maxdepth 2 -exec du -sh {} \; | grep -E 'G|M' | sort -g

Cheers,
Greg


view thread (4+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Disk is filling up with large files. How can I clean?
  In-Reply-To: <CAKAnmmKUaeqPjsMdaqK6F8xk0kJ1nzkYN_tbR7i-0xiQp_dVqw@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox