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 gAemE2++V2TMxgAASxT56A (envelope-from ) for ; Sun, 07 May 2023 17:06:23 +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 aHXEEm++V2QNAgAAG6o9tA (envelope-from ) for ; Sun, 07 May 2023 17:06:23 +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 09AB818AE9 for ; Sun, 7 May 2023 17:06:23 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pvfxg-0005up-RQ; Sun, 07 May 2023 11:06:08 -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 1pvfxc-0005ot-AP for bug-guix@gnu.org; Sun, 07 May 2023 11:06:05 -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 1pvfxa-0008J4-SW for bug-guix@gnu.org; Sun, 07 May 2023 11:06:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pvfxa-0008Ok-NX for bug-guix@gnu.org; Sun, 07 May 2023 11:06:02 -0400 Subject: bug#62379: /gnu/store/.links filling the hard drive on foreign distro Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Sun, 07 May 2023 15:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 62379 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 62379-done@debbugs.gnu.org, Elias Kueny Mail-Followup-To: 62379@debbugs.gnu.org, maxim.cournoyer@gmail.com, elias.kueny@posteo.net Received: via spool by 62379-done@debbugs.gnu.org id=D62379.168347193032233 (code D ref 62379); Sun, 07 May 2023 15:06:02 +0000 Received: (at 62379-done) by debbugs.gnu.org; 7 May 2023 15:05:30 +0000 Received: from localhost ([127.0.0.1]:38158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pvfx4-0008Np-G6 for submit@debbugs.gnu.org; Sun, 07 May 2023 11:05:30 -0400 Received: from mail-qv1-f49.google.com ([209.85.219.49]:53320) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pvfx2-0008Nc-S8 for 62379-done@debbugs.gnu.org; Sun, 07 May 2023 11:05:29 -0400 Received: by mail-qv1-f49.google.com with SMTP id 6a1803df08f44-61a80fcc4c9so17077216d6.2 for <62379-done@debbugs.gnu.org>; Sun, 07 May 2023 08:05:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683471923; x=1686063923; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=9AaU+t7x4MzjNjVUZovIAquiYe4ruo7WXBEUa3xWbzY=; b=fivGjshbj7BQ2mF6q9rLYaw3jfXk0hLJszrxfK0cYF9eR5MzqZCCuzRUZaO7LohKeg YwzvgzBK+ObQQStYqU0nGErCPsj8I/0sdElghdVlDq0J+42+TgMcwlFwoj5jpGtRr6Yt C+zl9JXa+D0FW1kV01f/HXBxZpH++d20wfcv14/Wf4ki2gTAvcAnJ2Gt+FPD0VZwlaRg W564BuEvWx0pDnEqoTQ7K0ZwkcbxTmQtYbh32o/yhqyHlFG58yX3DG5ivYW5b/ppQS4U obqJNoIf17/JRTIoJzPlCmixw8q1BIZMAgdON85WJCXqhKWZ1ZR2riPfFXjpKx8cBi+N KECQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683471923; x=1686063923; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=9AaU+t7x4MzjNjVUZovIAquiYe4ruo7WXBEUa3xWbzY=; b=H+AJGBIZ1saBrTH3gpJPolZljLde28AlH60UWXQiXUQcz5bJnwYWECMANeiZXX0Jms 4JCrOR0Q+Tl/E/SPdJ4KLHRiBqsjzpABrCvqWbxzDmtMHKSZwbjTbr6j0aKU3mIYkyYc b8ThZUctE10sp9RlmhWkPBFYsXjiYj5u3l27PzbCwpReLgaHX5qU9EWKB75xrh9FVJMJ aO+xkCMm6IAngNm5CtmEyMuOvN5w3T2fS+E1EAFGdbZkvBED4SVqGAlU9MtVpW0yy0JD o4NfjkGKeYwK2tQOBGS+XPbAynAsNE+1yoK064dojNNMEx3uDosOJs9hjLGuWZb0JCSN vMsA== X-Gm-Message-State: AC+VfDz/tOoyrKWtgSHk3kx0asFJuR6DKVLK5qFugxW3XNrMYhDMZbO4 EyKiWqRInfP2/kQN+vw79/cT1JIebjKmqQ== X-Google-Smtp-Source: ACHHUZ5vOljwVm6wxWAOm/+51Vuo8FUNxLJ8Ynm+8lyTKlS5guOSoFo9k6zPD8sAIVE3G1Zybnm78w== X-Received: by 2002:ad4:5f8e:0:b0:616:5460:aafd with SMTP id jp14-20020ad45f8e000000b006165460aafdmr12035183qvb.3.1683471923239; Sun, 07 May 2023 08:05:23 -0700 (PDT) Received: from hurd (dsl-10-131-119.b2b2c.ca. [72.10.131.119]) by smtp.gmail.com with ESMTPSA id o11-20020ad443cb000000b0061b63237be3sm2090808qvs.131.2023.05.07.08.05.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 May 2023 08:05:22 -0700 (PDT) From: Maxim Cournoyer References: <87cz4eaxit.fsf@gnu.org> Date: Sun, 07 May 2023 11:05:21 -0400 In-Reply-To: <87cz4eaxit.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Sat, 08 Apr 2023 23:12:42 +0200") Message-ID: <877ctk18su.fsf@gmail.com> 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=1683471983; a=rsa-sha256; cv=none; b=gBvxWL5hxvBFtsCXlE2nHh1BGGlopb4u0q7CD42NB785JfNeMHdkNL8jKPo9VwblIYpkf+ BY62v1Pubxuimd3rhk2wGIfUnsn8ZdI+5b1hpIHe5/foSYuRPFB8xI75jMj/a5VM+T6q0b SpyP6RiObUZCJ5nfvS7gtPuN7aJ4ytm9M3DV8C6qsMLGotDnYSiAbyiGxPwavgx02KSsqt EuiQsHqMn1k1IQqhcNervAz1Va8NchV9nIw3fZpxhbD3kwgUXMywb98j5llkTFviOZXMJq lLTFJvaALS9xqOmuBblAMBIOdIKMGydU/oF7wb3m46nM815iyVfkfPh/brpfzw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=fivGjshb; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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=1683471983; 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-to: 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=9AaU+t7x4MzjNjVUZovIAquiYe4ruo7WXBEUa3xWbzY=; b=epvrOMAv8n8zJH8HR++VK9Kw0v6RgIMlrQ9TxzXe7J4LJ9VXkf8k0WqFqyJ9lScY2o/5mw uQh4k6G5xZU+W6ixiMR17kIplcar3V+eaHo/QV/qj2iSXDTvi7v0xxLtXXTdJxY7Tmb0A7 WVrJ0VUy8czB/ITug7fByAjbLDUfuFVY+2FO/Ei9ar98JwRsRQiRumYAs/rPDgIflOmiEJ PD4FUTId/zl0dUvXSWIFsF6lPoXiGmaRy+VxclfdZsU9y/CeAxKvaI640B9lH4ChuJ21vA NTHJnXDJsK7deFVTPsi3JnYF9Bc+TxSTHUITF+5oLH66v5+SFx3OOoWfQn+Zmw== X-Migadu-Spam-Score: -0.89 X-Spam-Score: -0.89 X-Migadu-Queue-Id: 09AB818AE9 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=fivGjshb; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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-TUID: xqf+AnEPwnm/ Hi, Ludovic Court=C3=A8s writes: > 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 > Closing, as this is working as intended. If you do not wish to use the guix-daemon deduplication feature, you can provide it with the '--disable-deduplication', with the caveat that your hard drive may be filled even faster :-). --=20 Thanks, Maxim