From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id qMSSGXGyWGDyBAAA0tVLHw (envelope-from ) for ; Mon, 22 Mar 2021 15:06:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id eB1fFXGyWGD6eQAAB5/wlQ (envelope-from ) for ; Mon, 22 Mar 2021 15:06:25 +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 0160E1C1F5 for ; Mon, 22 Mar 2021 16:06:25 +0100 (CET) Received: from localhost ([::1]:44886 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOM8O-0000SU-2q for larch@yhetil.org; Mon, 22 Mar 2021 11:06:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44004) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOLd4-00084J-CM for guix-patches@gnu.org; Mon, 22 Mar 2021 10:34:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46694) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lOLd4-0006CL-4L for guix-patches@gnu.org; Mon, 22 Mar 2021 10:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lOLd4-0001ub-16 for guix-patches@gnu.org; Mon, 22 Mar 2021 10:34:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#45692] [PATCH v3 0/3] New patch series for Even Better ZFS Support on Guix References: In-Reply-To: Resent-From: raid5atemyhomework Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 22 Mar 2021 14:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45692 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "45692@debbugs.gnu.org" <45692@debbugs.gnu.org> Received: via spool by 45692-submit@debbugs.gnu.org id=B45692.16164235977287 (code B ref 45692); Mon, 22 Mar 2021 14:34:01 +0000 Received: (at 45692) by debbugs.gnu.org; 22 Mar 2021 14:33:17 +0000 Received: from localhost ([127.0.0.1]:58237 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOLcK-0001tS-OS for submit@debbugs.gnu.org; Mon, 22 Mar 2021 10:33:17 -0400 Received: from mail-40141.protonmail.ch ([185.70.40.141]:42384) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOLcI-0001tF-Ve for 45692@debbugs.gnu.org; Mon, 22 Mar 2021 10:33:16 -0400 Date: Mon, 22 Mar 2021 14:33:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1616423588; bh=DC02iGnLztxxykyEBl27bvddguEo/755+Ne4CN7ZtdA=; h=Date:To:From:Reply-To:Subject:From; b=nHnnzL4wPST9/Xd7FPFbnxNL/mLDznyJ4Y0XQJPFJvlgbp4pcubF22PdD7g9HEDt9 YYhDOMeES3dTk+Qw99mxv0uLNHbPAC47CnizGRL9E+s+B3RfzlVOG0oVSb46hrZz4C UJhTfOdr75+/PFwgSkoIjWDFaOWyAY/Utc5beI+Q= Message-ID: 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: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: raid5atemyhomework X-ACL-Warn: , raid5atemyhomework via Guix-patches From: raid5atemyhomework via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616425585; 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:resent-cc: 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=DC02iGnLztxxykyEBl27bvddguEo/755+Ne4CN7ZtdA=; b=LzPvmjjuG3A+ZbRBYgFSqbA7nIAqkgiCuQ2DVdRTp9X0WqCXUcdWun4pS/fUw7pXHKSH9z n10VFQhXwSTR8YREeP8sbPhEXsrZ/Gp+ENlbdQs29mo6VwlzCnmsM9upPuGzO4y/RLuoKa bugOXC2+i416V4Iawyqy85xVEB3/BpZCoWah9fLXz7N/Pv9Ixhd5oWNRI/MVyZsWOYU6tU MxwtcNe7uxXkUa9FFpx3TbKD/9yWJKFbqSLme5P/JZGKoJhVb1f/KS+e+sMBu4VqDpTmaE z8Abh5JMkG858bgnOChqOBduSlfBwFLTV1Lgu69nRP6YFY3bc/+3JenHZIWIYg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616425585; a=rsa-sha256; cv=none; b=uMGVYxobaUGYlZ3+UdhIfsSNjnMbaM2NgWR7TkgybWG4mfQnNjSfJS656WQzqgbDVDc7DU siI8yWZaOdxVEmSuXzorJorzTtCxXOeQDMjhmx2ppQfZbfEhXqFayzgOySH9kAaRfh1BhW P9Ozo/gRHB/jlgROQLsJSseIvCBR7zx2OrbNqpWcGXtYeUp0kN47k5jfu5UFgCXsuu02Bs 15GB9CXaGCtlyo/GUf4GjAypO+NrG0h8G7NEPnD8Kt4P/dVo8yXBqi0SlSbh/PIlSkvvxo KA/dME3nkZbLYbHnDpgTRwV68N/F0xUed3ZmHdYqmDP+ChYYI338FSZPDwl/VQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=nHnnzL4w; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.92 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=nHnnzL4w; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 0160E1C1F5 X-Spam-Score: -2.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: KaJI1X5zu5Zw This is a new patch series, please completely forget the previous patch ser= ies. Notable differences are: * ZFS automounted datasets are mounted before `user-processes` instead of `= file-systems`, since there is strong objection to modifying `file-systems` = so it can be extended to allow ZFS automounted datasets to be mounted befor= e `file-systems`. This prevents easy `/home` on ZFS (though see the added = documentation in 3/3 for a workaround). * The old `kernel-loadable-module-service-type` is renamed to `linux-loadab= le-module-service-type`, despite the corresponding `operating-system` field= being named `kernel-loadable-modules`, and the loader service type being n= amed `kernel-module-loader-service-type` :rolleyes:. * There is a new `linux-builder-service-type`, which can be extended with a= function to modify its `linux-builder-configuration`. The `linux-loadable= -module-service-type` extends this base service. I think this design pattt= ern should be more extensively used in Guix; currently services are only ex= tensible via one field of their configuration, this pattern allows creating= multiple service types for each extensible field of the configuration. In= this particular case, the `kernel` of the `linux-builder-service-type` can= be extended (by adding/removing `configure` or `make` flags, or added `inp= uts`) independently of the list of loadable modules using this design patte= rn. * Auto-scrub and auto-snapshot is now supported, with additional fields in = `zfs-configuration` to support it. * The auto-mounting Shepherd service has been renamed `zfs-auto-mount` (pre= viously `zfs-automount`). * Documentation includes a list of things that are currently not (fully) su= pported. Personally I'm not particularly motivated to push this anymore. I have a f= rankenstein's `configuration.scm` that gets me the bits of ZFS functionalit= y that I absolutely need, with the rest something I'm just living without, = and while it would be *nice* to have *some* out-of-the-box support for ZFS = (or at least make it easy to get a box to get support for ZFS out of), I pe= rsonally don't need it at this point. Patch 1/3 corresponds to the original Patch 1/4. Patch 2/3 has no correspo= nding patch in the original patch set, but is the same patch as https://iss= ues.guix.gnu.org/47134 which nobody is looking at, as usual. Patch 3/3 cor= responds to the original Patch 4/4. The original Patch 2/4 has been removed since it's what makes `/home` on ZF= S work by making `file-systems` extensible. The original Patch 3/4 was alr= eady merged. This patch series is minimally tested compared to the previous patch series= ; I have homework to store on my ZFS pool and should really stop fooling ar= ound with the operating system. I have this patch series running in a VM w= ith a ZFS pool. Auto-scrub is not tested, though auto-snapshot looks worki= ng. Auto-mounting works as with previous patch series. Encrypted and comp= ressed filesystems are untested but I don't expect it to be significantly r= egressed compared to the previous patch series. More work can be done for ZFS support. But I think the current set gives a= workable ZFS support; further work can be done piecemeal afterwards. The = documentation includes notes for anyone who feels motivated enough to keep = improving the ZFS support. Thanks raid5atemyhomework