all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Change free space warning threshold from relative to absolute
@ 2020-02-20  9:29 Pierre Neidhardt
  2020-02-20 12:36 ` Julien Lepiller
  0 siblings, 1 reply; 4+ messages in thread
From: Pierre Neidhardt @ 2020-02-20  9:29 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 785 bytes --]

Hi!

Currently we display

--8<---------------cut here---------------start------------->8---
guix package: warning: only 4.9% of free space available on /gnu/store
hint: Consider deleting old profile generations and collecting garbage, along
these lines:

     guix gc --delete-generations=1m
--8<---------------cut here---------------end--------------->8---

when the drive has less than 5% free space.

I believe the 5% threshold to be not so relevant.  Indeed, on a 1 TiB
partition, 5% is 50 GiB.  I would not worry to much about deleting
generations then!

What about changing the threshold to 5 GiB?

By the way, this reminds me of the same Windows XP misfeature that bugged
millions of users for years :D

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Change free space warning threshold from relative to absolute
  2020-02-20  9:29 Change free space warning threshold from relative to absolute Pierre Neidhardt
@ 2020-02-20 12:36 ` Julien Lepiller
  2020-02-20 12:45   ` Pierre Neidhardt
  0 siblings, 1 reply; 4+ messages in thread
From: Julien Lepiller @ 2020-02-20 12:36 UTC (permalink / raw)
  To: guix-devel, Pierre Neidhardt

Le 20 février 2020 04:29:25 GMT-05:00, Pierre Neidhardt <mail@ambrevar.xyz> a écrit :
>Hi!
>
>Currently we display
>
>--8<---------------cut here---------------start------------->8---
>guix package: warning: only 4.9% of free space available on /gnu/store
>hint: Consider deleting old profile generations and collecting garbage,
>along
>these lines:
>
>     guix gc --delete-generations=1m
>--8<---------------cut here---------------end--------------->8---
>
>when the drive has less than 5% free space.
>
>I believe the 5% threshold to be not so relevant.  Indeed, on a 1 TiB
>partition, 5% is 50 GiB.  I would not worry to much about deleting
>generations then!
>
>What about changing the threshold to 5 GiB?
>
>By the way, this reminds me of the same Windows XP misfeature that
>bugged
>millions of users for years :D

Well, I'd always receive the warning on one of my systems with only 20 GB of disk. Maybe make it 5GB or 5%, whichever is lower?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Change free space warning threshold from relative to absolute
  2020-02-20 12:36 ` Julien Lepiller
@ 2020-02-20 12:45   ` Pierre Neidhardt
  2020-02-22 10:50     ` Pierre Neidhardt
  0 siblings, 1 reply; 4+ messages in thread
From: Pierre Neidhardt @ 2020-02-20 12:45 UTC (permalink / raw)
  To: Julien Lepiller, guix-devel

[-- Attachment #1: Type: text/plain, Size: 255 bytes --]

Julien Lepiller <julien@lepiller.eu> writes:

> Well, I'd always receive the warning on one of my systems with only 20 GB of disk. Maybe make it 5GB or 5%, whichever is lower?

That's better indeed! :)

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Change free space warning threshold from relative to absolute
  2020-02-20 12:45   ` Pierre Neidhardt
@ 2020-02-22 10:50     ` Pierre Neidhardt
  0 siblings, 0 replies; 4+ messages in thread
From: Pierre Neidhardt @ 2020-02-22 10:50 UTC (permalink / raw)
  To: Julien Lepiller, guix-devel

[-- Attachment #1: Type: text/plain, Size: 86 bytes --]

Patch sent to 39734@debbugs.gnu.org.

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-02-22 10:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-20  9:29 Change free space warning threshold from relative to absolute Pierre Neidhardt
2020-02-20 12:36 ` Julien Lepiller
2020-02-20 12:45   ` Pierre Neidhardt
2020-02-22 10:50     ` Pierre Neidhardt

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.