unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Tobias Geerinckx-Rice <me@tobias.gr>
Cc: guix-devel@gnu.org
Subject: Re: No more space left on device issue
Date: Thu, 22 Dec 2016 10:00:40 -0800	[thread overview]
Message-ID: <87shpf973r.fsf@gmail.com> (raw)
In-Reply-To: <68d8a700-6075-b16f-9030-bda788e2b986@tobias.gr> (Tobias Geerinckx-Rice's message of "Wed, 21 Dec 2016 23:17:03 +0100")

Hello Tobias,

Tobias Geerinckx-Rice <me@tobias.gr> writes:

> Maxim,
>
> On 21/12/16 22:48, Ludovic Courtès wrote:
>> Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:
>>> What I don't understand is why the all the inodes are used at only 71%
>>> of disk usage (11GB left!). There's not much else than Guix there; I
>>> have a documents folder (700 MB with 4k files) and some git
>>> repositories (2.6 GB, 38k files), but that's it.
>> 
>> Not sure, I don’t know of inode usage profiling tools.
>
> There's always ‘du --inode’ (in combination with ‘-s’ if needed) to
> quickly point the finger o' blame in the right direction.

My 37 GiB ext4 partition apparently has a total of around 2.5 M
inodes. Currently (after recently running the garbage collector), its
inodes usage is at 15%:

df -i /dev/sda1
Filesystem      Inodes  IUsed   IFree IUse% Mounted on
/dev/sda1      2445984 358647 2087337   15% /

My home dir only uses 56 k inodes:

du --inodes -s ~
56002   /home/maxim

This would suggest that in my case it really was the Guix store which
was responsible for consuming all the available inodes. I'll keep
monitoring it as it progressively fills up again.

Thanks for pointing at the --inodes option of du, I didn't know about
it!

Maxim

  reply	other threads:[~2016-12-22 18:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-18 19:16 No more space left on device issue Maxim Cournoyer
2016-12-19 13:52 ` Ludovic Courtès
2016-12-21 18:52   ` Maxim Cournoyer
2016-12-21 21:48     ` Ludovic Courtès
2016-12-21 22:17       ` Tobias Geerinckx-Rice
2016-12-22 18:00         ` Maxim Cournoyer [this message]
2016-12-22 17:41       ` Maxim Cournoyer

Reply instructions:

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

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

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87shpf973r.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=me@tobias.gr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).