From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id CEyOJ6ZFhWYdSgEAe85BDQ:P1 (envelope-from ) for ; Wed, 03 Jul 2024 12:35:50 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id CEyOJ6ZFhWYdSgEAe85BDQ (envelope-from ) for ; Wed, 03 Jul 2024 14:35:50 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=mur.at header.s=dkim2 header.b=ahFo5ink; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-science-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-science-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1720010150; h=from:from:sender:sender:reply-to: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=YuKnqfUk5KFXaRyuhtGwpXQ0IG0tz4c3wP0THTEQz9Y=; b=WsCY/D2yHbfmlfV4OXDWunIuJ3HSl2YKDfLrnDGEoJP6Y48V3+MbhEM/PXo+gzBnP+UeXX QOAeIR2xch5gNE6dCwmgFIguQOrohbeu0ekO39renWcpKiLRGiB/c72KZ5nfOUIePKjlYS YlEWNKWLtZQQui9wb508ENiPTuFxbKy1mvgwx2tg47fIO6IkgmyQOj4UtGeAFZjLtE1Ago 2kMRZcQgmJ1eDHADqJvBmsoGzR2sDTXIsMw7zSb3agMSMmhuhsBwcEYwwfGThP1Om5GQbN Cv9PVqCZ7OwZb3Olqec+WFFbYo6FoLBGCbVzMXpqKhdTOVI5gsjEA2IJkAarUA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720010150; a=rsa-sha256; cv=none; b=Bmb5T44DQg4T1Yjrlv8zf03MsSzlNdso4trG/h34pvVBPRNMdkinUMjzfUHmUMSUBFUSJ0 s2HHflDbhgPEkh8c1u9/kcu0m7S+jiAjWYga+u/u85M24MY3Q6Xx230e8mc4i4zLNiqyJD hcYYja9n10XT6y/m2doM2/IisfTkPxtWrEX8zoX0DyJxjsd7X2EuBjfPxaQVxtrVZ/UEuH 9OYLx/3SY+anbf6t333vAqgwrAdJ3+NBLOf0lSAY2g6kKhNtwJIzhpypnzfLHdtpzei8EC vq66gfZ1I8GO1kkm6Ntf3ibXNElah0te95AMhr3ZmFY9IFz8o3hH/wCOaYRRhw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=mur.at header.s=dkim2 header.b=ahFo5ink; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-science-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-science-bounces+larch=yhetil.org@gnu.org" 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 24E7A3B313 for ; Wed, 03 Jul 2024 14:35:50 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sOzD2-0000V8-GD; Wed, 03 Jul 2024 08:35:40 -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 1sOz8G-00050d-Oo for guix-science@gnu.org; Wed, 03 Jul 2024 08:30:45 -0400 Received: from efeu.mur.at ([89.106.208.42]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sOz8D-0006qh-DW for guix-science@gnu.org; Wed, 03 Jul 2024 08:30:44 -0400 Received: from localhost (unknown [IPv6:2001:629:3800:12:c939:d028:b12d:f719]) by efeu.mur.at (Postfix) with ESMTPSA id D9F9845DC9 for ; Wed, 3 Jul 2024 14:30:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mur.at; s=dkim2; t=1720009828; bh=9yoCTblKIWrxWvFPtLhkFaJWVCf4gSRZA+EewWk+Gno=; h=Date:From:To:Subject:From; b=ahFo5inkIR1MHi+JicV2PN37H1/pSR6atr0v2BPvM9eOGSx8bVneD9ZHGyeu2lVWm /TBsSO1LiKlvCVb1rjz+RcwTG7Skr6O0MPP1UWj44oArPuuuSryFLIYQOIZXeFsvD5 FgSKaNfsbtTAmryVEuhs4StoBt8SCACU3UuCEtM7R/mIooUW9lyC8mTJxLiT2I6hXh deweZOk2m2jfzr47JdVVPeR9DQAb8jW78NhOs5XpKQVJMrMpLQX0ER4JRGuCD5/sit TVVPfLGEpYjIru5BjO6tlsU4uYJBvfMEm6wHOSJGPd8rrg3/XtHem26Lr25LxpmPwJ jBNyn1hxbl8PeXdC1tOcc0nKqZJLgCDnax0w+n4DMOYK53DgsrVXc0KnxvIqd8vlff 9uT6rwhRg3SJBG8mGSny6/1KcOjix0Yz4LW/lrBuxYNCIfMlGIaGm+9Auycsq2Z3Dy UQk0YPQIoaLwJcfAnI+4kRTWIyP+UJwHxOUZUPR5RPcjk3ZO+Lk Date: Wed, 3 Jul 2024 14:30:28 +0200 To: guix-science@gnu.org Subject: guix on a cluster: install into existing mount Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=89.106.208.42; envelope-from=adam@mur.at; helo=efeu.mur.at X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 03 Jul 2024 08:35:38 -0400 X-BeenThere: guix-science@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Adam McCartney via Guix-Science Reply-To: Adam McCartney Errors-To: guix-science-bounces+larch=yhetil.org@gnu.org Sender: guix-science-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -3.59 X-Spam-Score: -3.59 X-Migadu-Queue-Id: 24E7A3B313 X-Migadu-Scanner: mx11.migadu.com X-TUID: 6pik99q1kKDo Dear Guix-Science! Our team at the HPC center in Vienna is currently exploring possible options for a tool to manage our software stacks going forward. I'm quite happy to have the job of setting up a guix cluster to do some testing! If I understand the "Setting Up a Head Node" section of the tutorial correctly the idea is to make the head node an nfs server that provides the `/gnu/store`, `/var/guix` and `/var/log/guix`.[^1] The approach that I'm trying differs slightly in that I'd like to use an existing nfs server to handle the job of providing the store both to the head nodes and to other nodes on the cluster. I've already found some useful information in previous threads.[^2][^3] But wanted to ask here for some advice from you all on the specifics of what I am trying to do. As I mentioned, we're already using gpfs to provide a `/mnt/sw` on all the nodes in the cluster. For test purposes, I'm setting up a directory tree on the file system, after mounting it looks like this: ``` /mnt/sw/dev/guix/ ├── gnu │ └── store └── var ├── guix └── log └── guix ``` Using `mount --rbind`, I can remount the parts of the hierarchy that I need to their expected locations (`/gnu/store`, `/var/guix` and `/var/log/guix`). I then take a very hacky swipe at the `guix-install.sh` by commenting out the checks for existing "/gnu/store" and "/var/guix", then running the install script. The install process stalled for a while at the step `[ INFO ] Installing /var/guix and /gnu...`, but then went on the complete. Much to my surprise and delight, this appears to have worked to some degree. At least the store seems to have been populated by the initial install. There are a couple of things that still need to be ironed out: + The recursively mounted subtrees don't survive a reboot, despite there being fstab entries for them. + The guix daemon doesn't want to run, I think this maybe has something to do with the way that the `gnu.mount` service is set up? I guess that unit is maybe not expecting to find a mount under `/gnu/store`? Has anyone had similar experiences and/or could possibly spot a few places where I'm going wrong? Regards, Adam [^1]: [^2]: [^3]: -- Adam McCartney - https://admccartney.mur.at /