From aa425868069818167ff0a3cca5c64a2acc88173e Mon Sep 17 00:00:00 2001 From: Fabian Ebner Date: Mon, 4 Apr 2022 10:50:22 +0200 Subject: [PATCH] zfs: update documentation about ZED It's installed and enabled by default since PVE 6.1. Signed-off-by: Fabian Ebner --- local-zfs.adoc | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/local-zfs.adoc b/local-zfs.adoc index d38a4c9..e77595f 100644 --- a/local-zfs.adoc +++ b/local-zfs.adoc @@ -426,20 +426,17 @@ xref:sysboot_proxmox_boot_setup[Setting up a new partition for use as synced ESP # grub-install ---- -Activate E-Mail Notification -~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Configure 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 `zfs-zed` package, which should +already be installed by default in {pve}. ----- -# apt-get install zfs-zed ----- - -To activate the daemon it is necessary to edit `/etc/zfs/zed.d/zed.rc` with your -favorite editor, and uncomment the `ZED_EMAIL_ADDR` setting: +You can configure the daemon via the file `/etc/zfs/zed.d/zed.rc` with your +favorite editor. The required setting for email notification is +`ZED_EMAIL_ADDR`, which is set to `root` by default. -------- ZED_EMAIL_ADDR="root" @@ -448,9 +445,6 @@ ZED_EMAIL_ADDR="root" Please note {pve} 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. - [[sysadmin_zfs_limit_memory_usage]] Limit ZFS Memory Usage -- 2.39.2