From: Manuel Federanko <m.federanko@proxmox.com>
To: pdm-devel@lists.proxmox.com
Subject: [pdm-devel] [PATCH datacenter-manager 1/3] docs: fix formatting of local-zfs documentation.
Date: Thu, 22 Jan 2026 12:21:03 +0100 [thread overview]
Message-ID: <20260122112106.118611-2-m.federanko@proxmox.com> (raw)
In-Reply-To: <20260122112106.118611-1-m.federanko@proxmox.com>
Signed-off-by: Manuel Federanko <m.federanko@proxmox.com>
---
docs/local-zfs.rst | 43 ++++++++++++++++++++++++-------------------
1 file changed, 24 insertions(+), 19 deletions(-)
diff --git a/docs/local-zfs.rst b/docs/local-zfs.rst
index 37682f9..38abc4e 100644
--- a/docs/local-zfs.rst
+++ b/docs/local-zfs.rst
@@ -146,19 +146,21 @@ or `gdisk`
The maximum size of a log device should be about half the size of physical memory, so this is
usually quite small. The rest of the SSD can be used as cache.
- .. code-block:: console
+.. code-block:: console
-# zpool add -f <pool> log <device-part1> cache <device-part2>
+ # zpool add -f <pool> log <device-part1> cache <device-part2>
-Changing a failed device ^^^^^^^^^^^^^^^^^^^^^^^^
+Changing a failed device
+^^^^^^^^^^^^^^^^^^^^^^^^
- .. code-block:: console
+.. code-block:: console
-# zpool replace -f <pool> <old device> <new device>
+ # zpool replace -f <pool> <old device> <new device>
-Changing a failed bootable device ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Changing a failed bootable device
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Depending on how `Proxmox Datacenter Manager`_ was installed, it is either using `grub` or
`systemd-boot` as a bootloader.
@@ -167,21 +169,22 @@ In either case, the first steps of copying the partition table, reissuing GUIDs
ZFS partition are the same. To make the system bootable from the new disk, different steps are
needed which depend on the bootloader in use.
- .. code-block:: console
+.. code-block:: console
-# sgdisk <healthy bootable device> -R <new device> # sgdisk -G <new device> # zpool replace -f
-<pool> <old zfs partition> <new zfs partition>
+ # sgdisk <healthy bootable device> -R <new device>
+ # sgdisk -G <new device>
+ # zpool replace -f <pool> <old zfs partition> <new zfs partition>
- .. NOTE:: Use the `zpool status -v` command to monitor how far the resilvering process of the new
+.. NOTE:: Use the `zpool status -v` command to monitor how far the resilvering process of the new
disk has progressed.
With `systemd-boot`:
- .. code-block:: console
+.. code-block:: console
-# proxmox-boot-tool format <new ESP> # proxmox-boot-tool init <new ESP>
+ # proxmox-boot-tool format <new ESP> # proxmox-boot-tool init <new ESP>
- .. NOTE:: `ESP` stands for EFI System Partition, which is setup as partition #2 on bootable disks
+.. NOTE:: `ESP` stands for EFI System Partition, which is setup as partition #2 on bootable disks
setup by the Proxmox Datacenter Manager installer. For details, see :ref:`Setting up a new partition for use
as synced ESP <systembooting-proxmox-boot-setup>`.
@@ -189,12 +192,13 @@ With `grub`:
Usually `grub.cfg` is located in `/boot/grub/grub.cfg`
- .. code-block:: console
+.. code-block:: console
-# grub-install <new disk> # grub-mkconfig -o /path/to/grub.cfg
+ # grub-install <new disk> # grub-mkconfig -o /path/to/grub.cfg
-Activate e-mail notification ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Activate e-mail notification
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ZFS comes with an event daemon, ``ZED``, which monitors events generated by the ZFS kernel module.
The daemon can also send emails upon ZFS events, such as pool errors. Newer ZFS packages ship the
@@ -205,15 +209,16 @@ You can configure the daemon via the file ``/etc/zfs/zed.d/zed.rc``, using your
The required setting for email notification is ``ZED_EMAIL_ADDR``, which is set to ``root`` by
default.
- .. code-block:: console
+.. code-block:: console
-ZED_EMAIL_ADDR="root"
+ ZED_EMAIL_ADDR="root"
Please note that Proxmox Datacenter Manager forwards mails to `root` to the email address configured
for the root user.
-Limit ZFS memory usage ^^^^^^^^^^^^^^^^^^^^^^
+Limit ZFS memory usage
+^^^^^^^^^^^^^^^^^^^^^^
It is good to use at most 50 percent (which is the default) of the system memory for ZFS ARC, to
prevent performance degradation of the host. Use your preferred editor to change the configuration
--
2.47.3
_______________________________________________
pdm-devel mailing list
pdm-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel
next prev parent reply other threads:[~2026-01-22 11:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-22 11:21 [pdm-devel] [PATCH datacenter-manager 0/3] docs: fix formatting of local-zfs docs Manuel Federanko
2026-01-22 11:21 ` Manuel Federanko [this message]
2026-01-22 11:21 ` [pdm-devel] [PATCH datacenter-manager 2/3] docs: remove superfluous "setup" in zfs documentation Manuel Federanko
2026-01-22 11:21 ` [pdm-devel] [PATCH datacenter-manager 3/3] docs: make commands, file paths and config options inline code blocks Manuel Federanko
2026-01-22 12:53 ` Manuel Federanko
2026-01-23 10:21 ` Lukas Wagner
2026-01-23 10:15 ` [pdm-devel] applied: [PATCH datacenter-manager 0/3] docs: fix formatting of local-zfs docs Lukas Wagner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260122112106.118611-2-m.federanko@proxmox.com \
--to=m.federanko@proxmox.com \
--cc=pdm-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.