docs: zfs: update documentation about ZED
This closely follows commit aa425868069818167ff0a3cca5c64a2acc88173e in pve-docs. Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
This commit is contained in:
parent
0ae5f76277
commit
5225817de6
@ -211,27 +211,22 @@ Usually `grub.cfg` is located in `/boot/grub/grub.cfg`
|
|||||||
Activate e-mail notification
|
Activate 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 kernel module. The daemon can also send emails on ZFS events like
|
ZFS kernel module. The daemon can also send emails on ZFS events like pool
|
||||||
pool errors. Newer ZFS packages ship the daemon in a separate package,
|
errors. Newer ZFS packages ship the daemon in a separate package ``zfs-zed``,
|
||||||
and you can install it using `apt-get`:
|
which should already be installed by default in `Proxmox Backup`_.
|
||||||
|
|
||||||
.. code-block:: console
|
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
|
||||||
# apt-get install zfs-zed
|
``ZED_EMAIL_ADDR``, which is set to ``root`` by default.
|
||||||
|
|
||||||
To activate the daemon, it is necessary to to uncomment the ZED_EMAIL_ADDR
|
|
||||||
setting, in the file `/etc/zfs/zed.d/zed.rc`.
|
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
ZED_EMAIL_ADDR="root"
|
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.
|
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
|
Limit ZFS memory usage
|
||||||
^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
Loading…
Reference in New Issue
Block a user