From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 08 01:28:04 2021 Received: (at submit) by debbugs.gnu.org; 8 Feb 2021 06:28:04 +0000 Received: from localhost ([127.0.0.1]:49421 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l901k-0004Yj-Eo for submit@debbugs.gnu.org; Mon, 08 Feb 2021 01:28:04 -0500 Received: from lists.gnu.org ([209.51.188.17]:50106) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l901j-0004Yc-Jt for submit@debbugs.gnu.org; Mon, 08 Feb 2021 01:28:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34210) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l901Z-00025b-S6 for guix-patches@gnu.org; Mon, 08 Feb 2021 01:27:55 -0500 Received: from mail4.protonmail.ch ([185.70.40.27]:54310) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l900e-0005mt-1M for guix-patches@gnu.org; Mon, 08 Feb 2021 01:27:47 -0500 Date: Mon, 08 Feb 2021 06:25:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1612765545; bh=8f3vakDa0PSC+MpmUEEbq8x/pEN+kqp0SMX/+KjqP/k=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=fhkfIZFuaec4aWg4B9rA36cAncpnOP86Xf6tw1UYPH/SYf7lFq5svQ0cpRvoQ4cc4 0zlxuz/LGPIDlYLZwU70iw8LcUQAQdrO1hTMV6r4xnzGBlRFtedyp0fNs88zGP3ex5 Fl77S0RZxLnN3MBGNVUdbOsROECjW7TqY1DfDlzI= To: Danny Milosavljevic From: raid5atemyhomework Subject: Re: [bug#45692] [PATCH 4/4] gnu: Add ZFS service. Message-ID: In-Reply-To: <20210208043152.7cdd5900@scratchpost.org> References: <6wemXB-PfHUqbuVr5-XRf0-tY4cKGGtKiUqrZPrIZYXoBw17L3xRuZrGOJQfTo5PKfFNCM8KyRTllidoc7asPE2x98BTiJSPVR7OSjxCuw8=@protonmail.com> <4XtBUBZvLlaRj3Qw8d44cVUm2QWePWKlxR4G7yH_bwXA62SoedCr5VHkch5VkOXfEd5frGaddsTLEEyiVQC0kQmearhfiiveI626gGbVjts=@protonmail.com> <20210208043152.7cdd5900@scratchpost.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Received-SPF: pass client-ip=185.70.40.27; envelope-from=raid5atemyhomework@protonmail.com; helo=mail4.protonmail.ch X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: raid5atemyhomework via Guix-patches via , "45692@debbugs.gnu.org" <45692@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: raid5atemyhomework Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Sent with ProtonMail Secure Email. =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me= ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 On Monday, February 8, 2021 3:31 AM, Danny Milosavljevic wrote: > Hello, > > is it necessary to manually load the ZFS Linux kernel module? Usually, Li= nux > should autoload its drivers when the device files are accessed--module or= not. > > If that fails, didn't you patch the zfs package so it refers to modprobe = anyway? It does, for `udev`. Not certain if it would trigger the load, though. Pr= esumably it would, but I have not tested. A lot of this code was written in 0.8.5, where the ZFS tools will *not* att= empt to `modprobe` the module first, they just error out. I think in 2.0.1= upstream added code to load the module if the ZFS tool(s) were invoked whi= le the module was not loaded, which is why additional patch was added by me= for the 2.0.1 to patch in `modprobe`. I have not tested if the `modprobe`= -ing by the ZFS tools actually *works*, though. Maybe when I find some amount of motivation I can go test it. > > (I wanna prevent having 543 places in Guix where modprobe is invoked) > > If it doesn't autoload, we can totally modprobe it, though. Thanks raid5atemyhomework