From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cHkkGhuxNmJfcQEAgWs5BA (envelope-from ) for ; Sun, 20 Mar 2022 05:44:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id SLnnFhuxNmLBVgEAauVa8A (envelope-from ) for ; Sun, 20 Mar 2022 05:44:11 +0100 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 EBE4A11FBC for ; Sun, 20 Mar 2022 05:44:10 +0100 (CET) Received: from localhost ([::1]:57694 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nVnQH-0000wg-Gy for larch@yhetil.org; Sun, 20 Mar 2022 00:44:09 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37630) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nVnQA-0000wQ-1c for guix-patches@gnu.org; Sun, 20 Mar 2022 00:44:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38798) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nVnQ9-00055c-P8 for guix-patches@gnu.org; Sun, 20 Mar 2022 00:44:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nVnQ9-0008Ac-JQ for guix-patches@gnu.org; Sun, 20 Mar 2022 00:44:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#45692] [PATCH 0/3] Better Support for ZFS on Guix Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 20 Mar 2022 04:44: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 Cc: raid5atemyhomework@protonmail.com, maximedevos@telenet.be X-Debbugs-Original-To: raid5atemyhomework via Guix-patches via X-Debbugs-Original-Cc: raid5atemyhomework , Maxime Devos , "45692@debbugs.gnu.org" <45692@debbugs.gnu.org> Received: via spool by submit@debbugs.gnu.org id=B.164775138731316 (code B ref -1); Sun, 20 Mar 2022 04:44:01 +0000 Received: (at submit) by debbugs.gnu.org; 20 Mar 2022 04:43:07 +0000 Received: from localhost ([127.0.0.1]:60925 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nVnPH-000892-6S for submit@debbugs.gnu.org; Sun, 20 Mar 2022 00:43:07 -0400 Received: from lists.gnu.org ([209.51.188.17]:35138) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nVnPF-00088s-JD for submit@debbugs.gnu.org; Sun, 20 Mar 2022 00:43:05 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37568) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nVnPE-0000td-Tl for guix-patches@gnu.org; Sun, 20 Mar 2022 00:43:04 -0400 Received: from [2607:f8b0:4864:20::735] (port=39884 helo=mail-qk1-x735.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nVnPD-0004xc-4o for guix-patches@gnu.org; Sun, 20 Mar 2022 00:43:04 -0400 Received: by mail-qk1-x735.google.com with SMTP id b67so9654716qkc.6 for ; Sat, 19 Mar 2022 21:43:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=ZCPLfdZaqFb+B/MPHmbDYaQ8a3d+nuswbQMv4+KCB4M=; b=qWFY/4GpZHVBEJdwiOHmxRELDnmv85yTHY/S52vZmeR5M/JY0qaIZI98kbJAYJXmr0 jyCEcv4cRu5ZDquOChurrUIibaUQv1YmTKDtcI38bdyuppAstUVR3zfSCWs1JkmC95Uu 3X/KtpVF8zrr2XLzsbhlUJv9bAyh45/fH29bN7Kv4prWHv75AFR4WbEu4uS0/GRl5QIv vs+uIbosqClHd6N2oly/gWsvYePPyAVeUJhCfEvVCdzzTywHdCVTIaMLT3DMmHNGbimf 32bY3OsCs7noGQPgVXpBVIzNjYbuzlcOTeNvZjssqgny56yPDyL122pbhFC25yF1P2Kb uDtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=ZCPLfdZaqFb+B/MPHmbDYaQ8a3d+nuswbQMv4+KCB4M=; b=rDPHU+bcQcanBTZnfkXwWmBiDRT+WBqtQL/x5kz58rAJM8nc+kXL70oRvGXbPdfHXl eO1r+Hrs/mv1OEecRK3ipC1b2R/WcMeFaM3x4n1K/11OZCwZCkTq6inz3EpaDyhWNnhq SgfLStm44FnmsEiwAwZmL2e70IaJUUHbsNOHiITXjYnJ/4fdCfkx/Ap0D/Jj3gUqZrKa DHu5qeP8Xe+ZplbSobqX+aK+5Yr/ga+aJCc+OfRtGYRbGq3BGNwYqFSA7iabFqBMbPAT Ckf7ZLzzvyGC5Xb+NZXw6Ludlel9TdM+3XEas9oCvnJRE9jwHqV/D2w/8zq20/497PzA /8bA== X-Gm-Message-State: AOAM533xb65bnB9GGwX2FMdiBg3MfSu1mI9+hXw5wgQmW1eVJVxA+4qt 56ObHtctyD+auuzytxD04ZA= X-Google-Smtp-Source: ABdhPJzLw3rbhBLWB9U31hLQyg7gLBDFwnfVaWh5dTh3hOnumAb9LA4yjgQOJRmum35B1MQ5jnLhOQ== X-Received: by 2002:a05:620a:448d:b0:67d:b59e:8720 with SMTP id x13-20020a05620a448d00b0067db59e8720mr9603411qkp.769.1647751381771; Sat, 19 Mar 2022 21:43:01 -0700 (PDT) Received: from hurd (dsl-10-132-234.b2b2c.ca. [72.10.132.234]) by smtp.gmail.com with ESMTPSA id f14-20020ac8068e000000b002dd1bc00eadsm8418985qth.93.2022.03.19.21.43.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Mar 2022 21:43:01 -0700 (PDT) From: Maxim Cournoyer References: <1e72240bff6b2c5986cc26a3af5fe9517ad4db74.camel@telenet.be> Date: Sun, 20 Mar 2022 00:42:59 -0400 In-Reply-To: (raid5atemyhomework via Guix-patches via's message of "Sat, 19 Mar 2022 14:24:22 +0000") Message-ID: <87zgll2q0c.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::735 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::735; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qk1-x735.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 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, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=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: 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" 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=1647751451; 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: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=ZCPLfdZaqFb+B/MPHmbDYaQ8a3d+nuswbQMv4+KCB4M=; b=S2DM/ah1I6HMqG8Pcdlt2Npq1QQA8dod2FGzrzQVuBFCMucYOw0DASJD0gTAQ0b6QLwLvh q5KT5mYHzpbbQiVSv4xq07/4H0QmqheWnkTxgXtZTYKgvG+rqhFvHllDZ1O5iyYmz7BT6o lfDE81pOhjC14bvdzjSqTeQ1kz4OSv4nbdZCHqc5qEuerP1VZjbO8Y1aiA5zwzReE0Ensc G5ZiBC3ObqYmtbelwR4L0Cih0F9kS9qhJtvf7UHy9u/P5w3RNN1aQLEcp7SujLjBlyDE0q MMRZOnpovVDMG06VukRh/FmnagLnC6t3pvM0gemaA1zXFzxrVkKNlLSGMevykQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647751451; a=rsa-sha256; cv=none; b=uK3AaA9+7f3MbsY8fYYwXTGDH6ZufBzYExe5d/184q/n1Pmvf8Yz3HSAkhSrekW9Ky7evM P30pkjTBoNFHljTQF/Mkgbfno84dUncerwq5xujet+eHMXa15CjY/z7Z9UY374JizFVaf6 Ddh5PKhbkhLBGeJwrUBL8J8EIkCs604/h44/6Y9LJCThAGEyG+fPetDo2+lE6LoAfEfsIm mNWykM/Ep7QNpKdjbp+CibTUEI/+++bX9jRARODLzxcYX2t6Cyl6wr73+gPTSKX+jXg5/K FNzwAkTQVVDv0IwpATmTmNRxHJtsOUHElKNc84iAEJCIT1BiA8hXtilRiaWVEA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="qWFY/4Gp"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.77 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="qWFY/4Gp"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: EBE4A11FBC X-Spam-Score: 5.77 X-Migadu-Scanner: scn1.migadu.com X-TUID: MvPT0nfQjX+P Hi, raid5atemyhomework via Guix-patches via writes: > Hello Maxime, > >> - That seems rather inconvenient, why not use BTRFS instead which >> seems quite capable and doesn't have this weird restriction? > > BTRFS IS NOT CAPABLE. > > Did you notice my pseudonym? "`raid5` ate my homework". I used the > BTRFS `raid5` mode, once. It LOST MY DATA. Never again. ZFS > supports RAIDZ1 and has not lost my data at all yet. I've replaced > ZFS disks on my pool. No data loss. It keeps on going on. > > A file system that loses data is not a file system. It is a disaster. > > > BTRFS is not an acceptable substitute for ZFS. > > If ZFS is removed from Guix, I am switching to Ubuntu and keeping my > ZFS pool, I am not going to switch to BTRFS just to keep running Guix, > I would *like* to run only fully-free software, especially since I > took the trouble of paying a premium for a server that had coreboot, > but my data is more important and BTRFS is not an acceptable > substitute for ZFS. Btrfs RAID5 or RAID6 having a write hole leading to potential data loss upon hard reset has been a known issue for like a decade, and nobody has worked on improving that [0]. RAID10 is fine though, and so is RAID1 or RAID0. I've used it (Btrfs RAID1 with zstd compression) for years on various Guix systems without any issue. > The only restriction needed is to prevent binary redistribution. Yes, > I agree it is inconvenient to always have to transfer source code and > recompile each time. But it is a ***lot*** more inconvenient to > replace my lost data because BTRFS couldn't cut it despite more than a > decade of development. At least I can re-download the source code for > ZFS each time from many trivial sources. My `/home`, I cannot. That > is a bigger inconvenience. With my personal experience suggesting that Btrfs is a solid file system, I respectfully disagree :-). At any rate, don't forget to backup your precious data to somewhere safe; as RAID is no substitute (ever had a PSU failure blowing up multiple components?). Thanks, Maxim [0] https://btrfs.wiki.kernel.org/index.php/Status#RAID56