unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Nathan Dehnel <ncdehnel@gmail.com>
Cc: 45266@debbugs.gnu.org
Subject: bug#45266: "guix gc" needs free disk space to function
Date: Tue, 22 Dec 2020 15:37:29 +0100	[thread overview]
Message-ID: <875z4t29g6.fsf@gnu.org> (raw)
In-Reply-To: <CAEEhgEs98HiGKE2QPee09M0VnpvgnqD840V_wkV8bukrLw_+WA@mail.gmail.com> (Nathan Dehnel's message of "Wed, 16 Dec 2020 00:36:54 -0600")

Hi,

Nathan Dehnel <ncdehnel@gmail.com> skribis:

> It would be better if guix gc could run on a disk that was completely
> full, as right now it cannot be used to free space on a full disk.

The daemon reserves a bit of extra space before starting operation (see
‘reserve-space?’ in (guix store)), which should be enough to gracefully
handle situations where builds are filling the disk.

However, there can also be non-Guix processes filling the disk, to the
point where it’s completely full, and at that point sqlite3 (which the
daemon uses) may be unable to operate.

I’m afraid there’s little we can do in this case.

Thoughts?

Ludo’.




  reply	other threads:[~2020-12-22 14:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-16  6:36 bug#45266: "guix gc" needs free disk space to function Nathan Dehnel
2020-12-22 14:37 ` Ludovic Courtès [this message]
2020-12-22 18:05   ` Nathan Dehnel
2021-03-12  4:56 ` Vincent Legoll

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=875z4t29g6.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=45266@debbugs.gnu.org \
    --cc=ncdehnel@gmail.com \
    /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).