From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cIeALaoltmBAGQAAgWs5BA (envelope-from ) for ; Tue, 01 Jun 2021 14:18:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id wAzTKKoltmAzfQAA1q6Kng (envelope-from ) for ; Tue, 01 Jun 2021 12:18:50 +0000 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 B8B651A8A0 for ; Tue, 1 Jun 2021 14:18:49 +0200 (CEST) Received: from localhost ([::1]:33140 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lo3M8-00037F-8w for larch@yhetil.org; Tue, 01 Jun 2021 08:18:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57206) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lo3Lo-000375-3E for help-guix@gnu.org; Tue, 01 Jun 2021 08:18:28 -0400 Received: from lepiller.eu ([2a00:5884:8208::1]:56432) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lo3Ll-0007AA-JU for help-guix@gnu.org; Tue, 01 Jun 2021 08:18:27 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id f24ffe87; Tue, 1 Jun 2021 12:18:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date :in-reply-to:references:mime-version:content-type :content-transfer-encoding:subject:to:from:message-id; s=dkim; bh=SQ5ny+dt8fYPGcJnTb63A3Obb77xh3DsWzM7OzBqsMY=; b=YQRNygV57wir L7flahASqkU+SBC0M/70FBWWpYMtj89HGZX/zdZvk5nXwEF/Bwz1QYXtMGOIMEZQ bN1Gc214GZUpFX1QlRp4mMT+maGqYxssbA1r2pUja+P+A0Ot/46ohS9kOKpbb6EV 2pa+hm8OAJVH4FwoqyPcouWJq1SuknwqejWrByuO2FBu9i8quXpuzotDiPFpFJJ1 lzuByyD7tiWBAPuSohSKUBABLJEogQ+FTk6xjNfkbklw4Pe2u41hYIqR2KVLPRqI G9M0D6LEnpR9xZdKyCAq90tPFr4A4VoV6zUrR157qx9E6LjcoK5FMY8S60mMKlDP GFJaKuzE6g== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id eae8bfe6 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Tue, 1 Jun 2021 12:18:20 +0000 (UTC) Date: Tue, 01 Jun 2021 08:18:12 -0400 User-Agent: K-9 Mail for Android In-Reply-To: References: MIME-Version: 1.0 Subject: Re: updating takes so much memory To: help-guix@gnu.org, =?ISO-8859-1?Q?Tom=E1s_Chapunov?= From: Julien Lepiller Message-ID: <9A8B5A55-6303-4B4B-851A-4D7AC9FFD784@lepiller.eu> Received-SPF: pass client-ip=2a00:5884:8208::1; envelope-from=julien@lepiller.eu; helo=lepiller.eu 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, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622549930; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=kDjNBVK7b4PuFBM5WkplxkIPxLEaytstGCLq0LoB/aw=; b=b2tnT+rqc2Vu6W3oTDmYpB95KPJMhZ7ETQiOFBtu395i87ehx5rwHq+MHqQZpxEX5fsMXj 96Y/L78aZqOEQy0jh/7nsJIa3yyIh0xL2tfo1BX37a5mnRBAthEJAdgInxXvMSyUJolp0V KW/u5/+ZPJ0KxmfDUg4OXo9ftWo58GN/IKuxii/cgopRzOWNFDvjaeLITy381aDQnrxVQT 6mSbfjgUW3cJa/1Gsnp4Cfgc6PRzjJmRHPdD7wxpha60fIwZldMQqj1Wo8n7OpW5KPiADX kI/9E5LVCuNDDlWAWc+vKNKZ1nHlfqd+wmRMr/6ZOVreTNMdefL5O0daXenS2Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622549930; a=rsa-sha256; cv=none; b=chKcc0ZLIFsENxWdSvkhnIUDHNXGzfXhjG/1LlPM3cQ9bW7GJqD3h8TgJE2MxvIxhT0nV+ Fw2ydOBR994uePAa94E6bxwAcAH5FXR2qMh9C8rKOFG/+PF65/Vr0i1Q9jqn9HWUM3Ulos Hm9/yEx92Zztxfe6yygb6Lj+O7Yq1C8qe6LmRW6t7Mmg1UZmcmUwSB3JbkGMeXGUyTiczc L0OpEgTmERM+s6I50vEBNkt6Q5UwPQD0+xY9aSc/l0EOr+MG5Bdzj5FxkOXljCiqU0sQQ2 faTdnrzK6X+lsdggcty6z3zABc9fGFtbdlisCbMGcqMXWiMyLxgBzPmHfe0h6w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=lepiller.eu header.s=dkim header.b=YQRNygV5; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=lepiller.eu header.s=dkim header.b=YQRNygV5; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: B8B651A8A0 X-Spam-Score: -1.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: 7VFqlDmP9WGc You'll have to be very careful=2E Last time I tried, you couldn't symlink t= he store, but you can mount another file system on /gnu=2E The main issue i= s the database in /var/guix=2E It needs to be in sync with what's in the store=2E If you share the store = between the two systems, and install packages on both, the database will on= ly know about some packages, so guix gc will wipe the other system=2E In addition, you'll need to keep profiles in sync on both systems othewise= guix gc will also wipe the profiles from che other system, since they are = not gc roots on the current system=2E Le 1 juin 2021 08:00:47 GMT-04:00, "Tom=C3=A1s Chapunov" a =C3=A9crit : >Can I move the Store to another disk? > >I have two installations of Guix=2E >- One Guix SD, it works fine=2E I'm fiddling with it, but it's a work in >progress=2E >- One Guix package manager on top of my main debian 10 system=2E I have >some >packages installed, but texlive is giant=2E When I do: > >$ guix package -u > >it uses so much memory that always exhaust my PC=2E > >I wonder if I can symlink the store, and relocate it in another disk=2E I >have more than one=2E >Is there any best practices recommendation about doing this? Can I >break >something? >Is there any issue I have to consider about performance or anything >like >that? > >Thanks! Guix is marvelous, but it takes a steep learning curve=2E