From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MLYaJ0XdkGIqKwEAbAwnHQ (envelope-from ) for ; Fri, 27 May 2022 16:16:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id OKMWJ0XdkGKTQQAA9RJhRA (envelope-from ) for ; Fri, 27 May 2022 16:16:37 +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 410F431837 for ; Fri, 27 May 2022 16:16:37 +0200 (CEST) Received: from localhost ([::1]:59060 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nualY-0006ce-FP for larch@yhetil.org; Fri, 27 May 2022 10:16:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40914) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nuaax-00010w-Pp for guix-devel@gnu.org; Fri, 27 May 2022 10:05:39 -0400 Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]:39627) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nuaaw-0002Tz-7q for guix-devel@gnu.org; Fri, 27 May 2022 10:05:39 -0400 Received: by mail-ed1-x529.google.com with SMTP id u20so5561872edd.6 for ; Fri, 27 May 2022 07:05:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=IWVitQ6FGO8+5+A3GHqlJQRbpn2HgPHvPsZAmMYUUvQ=; b=BwWCpKHRi/vO5bp+CS8MJbDOx4biHj2eYC90aP+/v16KP9E+6pKrR9H37XEK2B8UF4 rPczr8dC0vXBcqNwc2Mfxh7531nV4wgt83euqeAKBkuxMTx9G7gUzqPSG502rdgdrlMh WIfs9C3uI2gN3c1kWjcHiXb1VJ7AHfYYvic+0E/4uI4HaKpW5S5+7VpVI0cIuZ8GxjEN DutfBoGVt3zrsz0mqtc+cqS9XKAOK0eydPyvz/AYL2/8Mp/4/V+Jcc1g3myjUTYY5lTT /KrFj0hiJpdpTixn2aiIhe+ASKY+7sg/s6rRWcbuijDJ4XbXQsii9BEwlc8bFdAsD+n4 tJZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version:content-transfer-encoding; bh=IWVitQ6FGO8+5+A3GHqlJQRbpn2HgPHvPsZAmMYUUvQ=; b=3WB7tFoaZAtJ6VN7+QLu/sCb4MaPfLW+jTzPQSNJquxLwzW4eIIsJpN+xbf690KilJ L32X5ecUHazqrws0in7eAvGZes0JUCfCcSDhEdsJ0glx9auhF3swpCUrxykaxOT6ppyM fBDCoBYFMCzhDdWCn1HY8vMcfY+mj6XoUKgcCoevfxeOILiVP/iEFQPfj7j+7NtrGJ/O HT9zTkNsIIaeXIHHiJbNS50SsOc1zohEsReneltDvcfv3RXD9jQ6fjvdSCYzPqRBYdAT 9Hawa+2Y7A5VC+GLEDhGdRHu6fbyksWQaLzmd56dsUItZmLIh2ef0rm6qyDevzM5vvL6 QnEQ== X-Gm-Message-State: AOAM533c/fuKQC6OIB94brIGG/FDmZDkSm4bB5U+cRHQPgDuKoKm6992 a/XjFuKmseJvBMs88krJKzbxFeWIBk8= X-Google-Smtp-Source: ABdhPJz49Q99sjnpdiC0IK+oRHFed+nRK4iC5K8p8FjNrGmexdVEWRKfNmFmIeZorZkgwvop/mzGtA== X-Received: by 2002:a05:6402:2694:b0:42b:251d:185 with SMTP id w20-20020a056402269400b0042b251d0185mr38460731edd.44.1653660335505; Fri, 27 May 2022 07:05:35 -0700 (PDT) Received: from gazelle.gmail.com (p579ad9d4.dip0.t-ipconnect.de. [87.154.217.212]) by smtp.gmail.com with ESMTPSA id gz5-20020a170906f2c500b006f4c82c2b12sm1513706ejb.19.2022.05.27.07.05.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 May 2022 07:05:34 -0700 (PDT) References: <87czg1mk77.fsf@gmail.com> <87wne8mvum.fsf@xelera.eu> <874k1cmuyl.fsf@gmail.com> <87v8tsvzn7.fsf@gmail.com> <87v8trurzp@nckx> User-agent: mu4e 1.6.10; emacs 28.1.50 From: =?utf-8?Q?Th=C3=A9o?= Maxime Tyburn To: Tobias Geerinckx-Rice Cc: Kaelyn , Giovanni Biscuolo , guix-devel@gnu.org Subject: Re: Move /gnu/store to another filesystem Date: Fri, 27 May 2022 15:56:03 +0200 In-reply-to: <87v8trurzp@nckx> Message-ID: <87k0a7136b.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::529; envelope-from=theo.tyburn@gmail.com; helo=mail-ed1-x529.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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=1653660997; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=IWVitQ6FGO8+5+A3GHqlJQRbpn2HgPHvPsZAmMYUUvQ=; b=IEksKCWSyx9/YwSNIzmvp+GDmfYN1wcQTAfBgMJOl3Ov3YmEu/nBgdiEGFxUH2G08R+7ke lEwYRCXzYnTmzgvwpyjdDZ1FB4ivv3n8F3BKmj8MR63QKhUUiVK4A8zIYB12Or6EUzWfxt n9lTKSYW0BYC+3SMZhYnbGsM1F3JJPq993UpnlqdXJA+l8QRtm7o++XFWRp+PR+mrjnJf4 6JyrQJnt0Av9p6m4f8MXIXkjyes7+ttiKs1a1ERa9DSMWpuNEig+M8DSDRyrVnwAaZhmLD QOSEgdqNnqsJNK9BH2v8Dj3o1L6tBePqCPb9B1+05HWaX+6CkTmgjm6y/04DWg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653660997; a=rsa-sha256; cv=none; b=dN7qrUi1Fr6eM+k2KkGC/dhk3vK1i7apG+33hEXGt5M8Cq+YFSuKrJ1aj8yn4YRTyXqeTu SykScajhugsKx32g1HMr/DJ0NtbPeF4OfAu0w7LvRpdRydXRcXptrA0mA3Swrs9kf/6Jd4 8zJrl9bQC9PJZzzS9u0MwpqlCe0WKwEO4+H8H1r5gFTc3DZilrwvuAEbt7i4MvjAeos32p DXdmn1CzF32ulMMoWTRGOns4JCk8xG15vRYdb/peKxbaBbCAUjRpyzCllH6ISAPC5v93Nn pvF0M9IzlPxAAcNx3ofRECyI/+hHUBW0EFPM61IgzL1l+PaIERuxqDcq7WJ46Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=BwWCpKHR; dmarc=pass (policy=none) header.from=gmail.com; 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: -8.84 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=BwWCpKHR; dmarc=pass (policy=none) header.from=gmail.com; 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: 410F431837 X-Spam-Score: -8.84 X-Migadu-Scanner: scn0.migadu.com X-TUID: ZtrbtHga2Y73 Hi Tobias, Tobias Geerinckx-Rice writes: > However, =E2=80=98cp -p=E2=80=99 does not preserve everything, including = hard links. > Applications shouldn't care but you might be surprised at 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! Wow! > =E2=80=98cp -a=E2=80=99 should preserve hard links but I personally recom= mend using > rsync instead, with a paranoid helping of -aHAX flags. Unlike cp, it's > resumable, which is nice when copying 100s of gigabytes. Yes I wasn=E2=80=99t sure if keeping links could not break something. But I guess it shouldn=E2=80=99t harm since after mounting everything will have t= he same place on the filesystem. I agree that rsync -aHAX seems a much better option. I would have resorted to that if things kept breaking with cp. That=E2=80=99s what I mea= nt by "just using cp is a bit brutal". I wasn=E2=80=99t sure which of the uncountable options of rsync to use though ^^ > Kind regards, > > T G-R Thanks for the feedback, Th=C3=A9o