zfs: update documentation about ZED

It's installed and enabled by default since PVE 6.1.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
This commit is contained in:
Fabian Ebner 2022-04-04 10:50:22 +02:00 committed by Thomas Lamprecht
parent f4e692a333
commit aa42586806

View File

@ -426,20 +426,17 @@ xref:sysboot_proxmox_boot_setup[Setting up a new partition for use as synced ESP
# grub-install <new disk> # grub-install <new disk>
---- ----
Activate E-Mail Notification Configure E-Mail Notification
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ZFS comes with an event daemon, which monitors events generated by the ZFS comes with an event daemon `ZED`, which monitors events generated by the ZFS
ZFS kernel module. The daemon can also send emails on ZFS events like kernel module. The daemon can also send emails on ZFS events like pool errors.
pool errors. Newer ZFS packages ship the daemon in a separate package, Newer ZFS packages ship the daemon in a separate `zfs-zed` package, which should
and you can install it using `apt-get`: already be installed by default in {pve}.
---- You can configure the daemon via the file `/etc/zfs/zed.d/zed.rc` with your
# apt-get install zfs-zed favorite editor. The required setting for email notification is
---- `ZED_EMAIL_ADDR`, which is set to `root` by default.
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:
-------- --------
ZED_EMAIL_ADDR="root" ZED_EMAIL_ADDR="root"
@ -448,9 +445,6 @@ ZED_EMAIL_ADDR="root"
Please note {pve} forwards mails to `root` to the email address Please note {pve} forwards mails to `root` to the email address
configured for the root user. 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]] [[sysadmin_zfs_limit_memory_usage]]
Limit ZFS Memory Usage Limit ZFS Memory Usage