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 ms5.migadu.com with LMTPS id 4J4EGOW3kGJJcQEAbAwnHQ (envelope-from ) for ; Fri, 27 May 2022 13:37:09 +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 eJcVF+W3kGI74gAAG6o9tA (envelope-from ) for ; Fri, 27 May 2022 13:37:09 +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 23DEA28642 for ; Fri, 27 May 2022 13:37:09 +0200 (CEST) Received: from localhost ([::1]:37766 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nuYHE-00053q-0I for larch@yhetil.org; Fri, 27 May 2022 07:37:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44040) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nuYGz-00053S-7f for guix-devel@gnu.org; Fri, 27 May 2022 07:36:53 -0400 Received: from [2a02:c205:2020:6054::1] (port=36614 helo=tobias.gr) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nuYGx-0002VJ-2W for guix-devel@gnu.org; Fri, 27 May 2022 07:36:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=ZbjHrpmH62bi9 UJDNuwJ/+nHGG/U1XZf+vj+QjQTIuA=; h=in-reply-to:date:subject:cc:to: from:references; d=tobias.gr; b=MTABXcbSy78F+Bv5V3qgCscW6Fg0BAO4BA7hJ2 y0G037eggzb3HqdwDscto2ZwPh+M0N6KK1ucN9eje77wf5sjCWjWy//jWc7L0wJhgNKKuj wpI16lJmIIkz3dBQWX3qa/bb0/Su/zDDwC2c+j0BUlsB1GXLfy0YMIoNPu5R7TCzaylmD9 2PCX2iHMeAHGzuu0u1MS9ZJf9oOPLxIbEjbXSDfx2DCu9GP4Glde5JGToBAGhSEEjFthfR OnVkbbPJcZRSmaywrdT8KMm8EzVMgyIFDSm4wRx2zT7LohunDfgbIMh3xcpsUd0w4A9whR 4n4AdyZsPvni3pBI/Z955zgw== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id a566c29f (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Fri, 27 May 2022 11:36:42 +0000 (UTC) References: <87czg1mk77.fsf@gmail.com> <87wne8mvum.fsf@xelera.eu> <874k1cmuyl.fsf@gmail.com> <87v8tsvzn7.fsf@gmail.com> From: Tobias Geerinckx-Rice To: =?utf-8?Q?Th=C3=A9o?= Maxime Tyburn Cc: Kaelyn , Giovanni Biscuolo , guix-devel@gnu.org Subject: Re: Move /gnu/store to another filesystem Date: Fri, 27 May 2022 13:28:52 +0200 In-reply-to: <87v8tsvzn7.fsf@gmail.com> BIMI-Selector: v=BIMI1; s=default; Message-ID: <87v8trurzp@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a02:c205:2020:6054::1 (deferred) Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1653651429; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ZbjHrpmH62bi9UJDNuwJ/+nHGG/U1XZf+vj+QjQTIuA=; b=OFu6lJv/uDzliBYwMlWRAr5A9Frlr6xomjMbs/OEcoS4B9P0KpgA+NpV6lS7s52s1j1MSj 0niooGJp29FLngCNcl4USJ2TwuZ84SnqCzhMMfGEcfhJ/JgP14dIOSmkbVoD8yRznw5YKd EPjF841fUyU+pxxCPg2ZRrOzH5mnBFtgF4Rmb4dbbBYxa6KxRREuTu9B0N4MzjPwy/+AUj W+sHbgGk8h4TcGctmeFw4FETyBeXppSAeiJRUGq/GqK1H4jwCzNKFf/+KpscB8EsLo3oCk tgFAUg/BsJHL/HLGLJ+2cSVg6L8EcW+chFnCeFLOUoFDclf6KC8j8n3EG0sJdw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653651429; a=rsa-sha256; cv=none; b=hGBt6LrqEzE35o+esimtxN8KGo292r3aNBesPj4mIRaNGpZQ1Ehg/rp9xj2AEARa5CX2N5 ZuS3/6fstJjxxivTaId2Cb3J6d2FlGGbxkPAjfGuyFxMhmhhESnBE6+rM5kUtBzV7qAUQF tOfo2H9gBYL4bSZEOXkSQkH8GO9ChtdsTwQc1T+himUzYpTPLvmCTF0BpsZx3toiRIwSYW /lStl6qtf3XwW/KYKV6x4X/pgh/psQ2r5932f51cEeL3crDscxYbZ/CfrgbCLb+3S+oqbR vqE9UpWeIlhWKyY8suTf5JzD1XaH0Yn6I9PLvnv5dAqeYzrJVz9CcVXc4E4vGw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=tobias.gr header.s=2018 header.b=MTABXcbS; dmarc=pass (policy=reject) header.from=tobias.gr; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -9.25 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tobias.gr header.s=2018 header.b=MTABXcbS; dmarc=pass (policy=reject) header.from=tobias.gr; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 23DEA28642 X-Spam-Score: -9.25 X-Migadu-Scanner: scn0.migadu.com X-TUID: F1spoSkjHw3L --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Hi Th=C3=A9o, Th=C3=A9o Maxime Tyburn =E5=86=99=E9=81=93=EF=BC=9A > I figured out where the problem came from. I forgot to use the=20 > -p option > while copying the store with cp. I think this will probably work (I mean=E2=80=94it obviously did, but also= =20 longer-term). However, =E2=80=98cp -p=E2=80=99 does not preserve everything, including ha= rd=20 links. Applications shouldn't care but you might be surprised at=20 how much disc space hard links save on my system: ~ =CE=BB du -hs /gnu/store 86G /gnu/store ~ =CE=BB du -hs --count-links /gnu/store 192G /gnu/store I was! =E2=80=98cp -a=E2=80=99 should preserve hard links but I personally recomme= nd=20 using rsync instead, with a paranoid helping of -aHAX flags.=20 Unlike cp, it's resumable, which is nice when copying 100s of=20 gigabytes. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYpC3yg0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15X1MA/01gKUMZm9KuKI9SdmE5r9O/qeyrmG5LWTnw9mH6 WtSFAP96L+FqWyxz6+zqXkl42LP8IxTDMoFfzsCaRsw19YkaAA== =nhJR -----END PGP SIGNATURE----- --=-=-=--