From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id B0A6C71426 for ; Wed, 11 May 2022 16:14:57 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id A61E21D7E3 for ; Wed, 11 May 2022 16:14:57 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id EB5501D7B6 for ; Wed, 11 May 2022 16:14:55 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 445E0434AA for ; Wed, 11 May 2022 16:06:53 +0200 (CEST) From: Stoiko Ivanov To: pbs-devel@lists.proxmox.com Date: Wed, 11 May 2022 14:06:35 +0000 Message-Id: <20220511140635.87279-6-s.ivanov@proxmox.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220511140635.87279-1-s.ivanov@proxmox.com> References: <20220511140635.87279-1-s.ivanov@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.200 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record T_SCC_BODY_TEXT_LINE -0.01 - Subject: [pbs-devel] [PATCH proxmox-backup 5/5] docs: zfs: update documentation about ZED X-BeenThere: pbs-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Backup Server development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 May 2022 14:14:57 -0000 This closely follows commit aa425868069818167ff0a3cca5c64a2acc88173e in pve-docs. Signed-off-by: Stoiko Ivanov --- docs/local-zfs.rst | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/docs/local-zfs.rst b/docs/local-zfs.rst index 4c4bd387..7b2d3850 100644 --- a/docs/local-zfs.rst +++ b/docs/local-zfs.rst @@ -211,27 +211,22 @@ Usually `grub.cfg` is located in `/boot/grub/grub.cfg` Activate e-mail notification ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -ZFS comes with an event daemon, which monitors events generated by the -ZFS kernel module. The daemon can also send emails on ZFS events like -pool errors. Newer ZFS packages ship the daemon in a separate package, -and you can install it using `apt-get`: +ZFS comes with an event daemon ``ZED``, which monitors events generated by the +ZFS kernel module. The daemon can also send emails on ZFS events like pool +errors. Newer ZFS packages ship the daemon in a separate package ``zfs-zed``, +which should already be installed by default in `Proxmox Backup`_. -.. code-block:: console - - # apt-get install zfs-zed - -To activate the daemon, it is necessary to to uncomment the ZED_EMAIL_ADDR -setting, in the file `/etc/zfs/zed.d/zed.rc`. +You can configure the daemon via the file ``/etc/zfs/zed.d/zed.rc`` with your +favorite editor. The required setting for email notfication is +``ZED_EMAIL_ADDR``, which is set to ``root`` by default. .. code-block:: console ZED_EMAIL_ADDR="root" -Please note that Proxmox Backup forwards mails to `root` to the email address +Please note that `Proxmox Backup`_ forwards mails to `root` to the email address configured for the root user. -IMPORTANT: The only setting that is required is `ZED_EMAIL_ADDR`. All -other settings are optional. Limit ZFS memory usage ^^^^^^^^^^^^^^^^^^^^^^ -- 2.30.2