unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Gottfried <gottfried@posteo.de>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: help-guix@gnu.org
Subject: Re: Garbage Collector - for your Information
Date: Wed, 10 Aug 2022 16:06:33 +0000	[thread overview]
Message-ID: <7c49acde-7742-aab2-7ece-e2292e04c622@posteo.de> (raw)
In-Reply-To: <87r11p41cm.fsf@gnu.org>


[-- Attachment #1.1.1: Type: text/plain, Size: 1563 bytes --]

Hi Guixers,

thanks for Your advice Ludo and all other Guixers,

for Your information (first time of using gc):

After using Guix System for 6 month I did a:
"guix gc"

It collected about 50 GB and deleted that.
(I wanted to do that to get to know how it collects without deleting 
generations)
Than I deleted all generations
I did a "guix gc" again
and it deleted approx 40 GB again.

After that I did a
guix pull,
guix package -u,
sudo guix system reconfigure /etc/config.scm

and it downloaded approx 2,2 GB of packages.

The result of that is, that in future I will do a
"guix gc -F20G"
in order not to delete too much and later to redownload and rebuild them.

Gottfried



Am 09.08.22 um 22:18 schrieb Ludovic Courtès:
> Hi,
> 
> Felix Lechner via <help-guix@gnu.org> skribis:
> 
>> On Mon, Jul 25, 2022 at 2:52 AM Gottfried <gottfried@posteo.de> wrote:
>>>
>>> The manual says that it is dangerous to use: "guix gc"
>>> because it can delete too much.
>>
>> I agree that 'guix gc' deletes too much, but it's probably not
>> dangerous. You will just see some downloads and builds repeated when
>> reconfiguring later.
> 
> Indeed, it’s not dangerous, and I don’t think the manual suggests that.
> 
> To avoid collecting things just to redownload/rebuild them later, I
> usually ask ‘guix gc’ to free up some amount of space, as in:
> 
>    guix gc -F20G
> 
> That ensures 20G (more or less) are available on my disk and doesn’t try
> to collect more than that.
> 
> Thanks,
> Ludo’.



[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3191 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

      reply	other threads:[~2022-08-10 16:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-25  9:51 Garbage Collector Gottfried
2022-07-25 14:57 ` (
2022-07-25 15:20 ` Felix Lechner via
2022-07-28 17:27   ` Gottfried
2022-07-28 17:36   ` Gottfried
2022-07-30  9:40   ` Gottfried
2022-08-09 20:18   ` Ludovic Courtès
2022-08-10 16:06     ` Gottfried [this message]

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=7c49acde-7742-aab2-7ece-e2292e04c622@posteo.de \
    --to=gottfried@posteo.de \
    --cc=help-guix@gnu.org \
    --cc=ludo@gnu.org \
    /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.
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).