From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id SJngH/vYMWTNQwAASxT56A (envelope-from ) for ; Sat, 08 Apr 2023 23:13:31 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id QHLKHvvYMWTUHwAAG6o9tA (envelope-from ) for ; Sat, 08 Apr 2023 23:13:31 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4A66A9711 for ; Sat, 8 Apr 2023 23:13:31 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1plFrt-0002UT-3I; Sat, 08 Apr 2023 17:13:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1plFrq-0002Tl-Ub for bug-guix@gnu.org; Sat, 08 Apr 2023 17:13:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1plFrq-0002Mo-MY for bug-guix@gnu.org; Sat, 08 Apr 2023 17:13:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1plFrq-0005Av-6e for bug-guix@gnu.org; Sat, 08 Apr 2023 17:13:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#62379: /gnu/store/.links filling the hard drive on foreign distro Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 08 Apr 2023 21:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62379 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Elias Kueny Cc: 62379@debbugs.gnu.org Received: via spool by 62379-submit@debbugs.gnu.org id=B62379.168098837919882 (code B ref 62379); Sat, 08 Apr 2023 21:13:02 +0000 Received: (at 62379) by debbugs.gnu.org; 8 Apr 2023 21:12:59 +0000 Received: from localhost ([127.0.0.1]:59730 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1plFrn-0005Ac-HY for submit@debbugs.gnu.org; Sat, 08 Apr 2023 17:12:59 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1plFrm-0005AQ-0o for 62379@debbugs.gnu.org; Sat, 08 Apr 2023 17:12:58 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1plFrg-0002LU-Fe; Sat, 08 Apr 2023 17:12:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=Wwbcw5gszReAhr0+gxzPi4d/Gy+MVJV/m2NyUsQAAsQ=; b=GH39x9hy/gpA4Q6Nt6es 2pOwZjWjvNAWFoWKvbyrp0cZ9HZpoMIwhHLQodyowZxdKqQ7jNdKoOm0bAIja7KYaKNtsk8FtT7yZ tfaXxZqKfWqm8ZxGh8BAXve5mhbRuKcnsDkLz28YNV7nJ4Il9YP/9OuqXHN43b1Wyxm9Y1GFCQgWZ 179IAjiwhC8pdf9RbzBzMeyUYu1bVHXywlnnMUSP1LEUD5qDpODpTk9v2O0PqZGFYoCsexi/GC+fV wIsvkNBQ0ng73xAaxDSNELErBRFLGy+PiVnIWc9NT6fYNClifwys3bYje2QY6kriVl0OxFMwRB2JN qVxcJNShobRQWA==; Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1plFrY-0002eR-Iy; Sat, 08 Apr 2023 17:12:46 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: Date: Sat, 08 Apr 2023 23:12:42 +0200 In-Reply-To: (Elias Kueny's message of "Wed, 22 Mar 2023 10:48:04 +0000") Message-ID: <87cz4eaxit.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1680988411; a=rsa-sha256; cv=none; b=D7TtWGWLuEmCGE55Unr/W6RvoPWvhzhsoZvoj4pIU0NJ8xYCD8z32YuXaY+V+TdhbjcM0g iUnssNxkp7ew2aOO30EohRjeIWv7/LgN0gUQhZ/MI1azLwnJ8GOiVd6DKtu/DlJPO8QaAN fOiHMPkDHsaNOTSiLEeNeibWB1Kwf1EgMbRVdg2fBnfv2OewZponW66dZpde456G9guI8/ 68I5nPVbKgnvcH+rM+rAC8U5lHTtR+i/OKKS7CZtS+1G18RWEYhe7y9RaIBRYJMoQtGo7l piJeUFrAo+S8XRM7XE8t249BWhSGK7kLo6U1V7J0gvqNKUqFYX1WFSxIDVthyA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=GH39x9hy; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1680988411; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Wwbcw5gszReAhr0+gxzPi4d/Gy+MVJV/m2NyUsQAAsQ=; b=H8SZHpWW6MDqvXYwHzjhcE0BjeErHSWwfZJaaqHrIDetzPlZudcXo74o+eaMDBj/oXtifm hMK1cEOp2/fLenwcH5gnkKbX7rT4Ag/n8f/OTQVGf9h/cU4IP4XzgjgLSmHwwBDajk6NnY LY9ijVF06B1oTCT+80fSUE0Ritoi6XftNdD6MGFGRC0TU7GUT9qaPcby+zQpA0YpZIYp/o oVKlCT3pGlSO1S1ee7liD41PgmMRy+2VZgF1UMkvjN+iP1DUEKBxWVpeXW5TYRxw4BBuS7 uTQGAkc/sCx3raOBc3+04JJthFIkGMDSd+oXdWnll2a517KurkFc565Nc4b0PQ== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=GH39x9hy; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -2.92 X-Spam-Score: -2.92 X-Migadu-Queue-Id: 4A66A9711 X-TUID: i4M41yjtd6NB Hi, Elias Kueny skribis: > The problem is the size of /gnu/store/.links: after garbage collection > with "guix gc --delete-generations=3D1w", /gnu/store is 17.4 GB in > total, and /gnu/store/.links is 14.5 GB (344120 items, ranging from 93 > MB to 4.1 kB each). This is expected: /gnu/store/.links contains hard links to other files in /gnu/store. IOW /gnu/store/.links is a subset of the rest of /gnu/store, sharing the same inodes. > The garbage collector prints that "currently hard linking saves > 3717.77 MiB". With a 40GB hard drive, the gnu store regularly fills > up all the available space if I'm not careful. I found from an old > issue (https://issues.guix.gnu.org/24937#1) that 10 millions links > should need around 700 MB, so this sounds like a bug. Note that the issue you mention was addressed to a large extent in 2021: https://issues.guix.gnu.org/24937#20 HTH! Ludo=E2=80=99.