Debian/Ubuntu: Add a note about ZFS_INITRD_ADDITIONAL_DATASETS

Putting /etc on a separate dataset leads to a bad time.

Closes #356
This commit is contained in:
Richard Laager
2023-01-05 22:46:22 -06:00
parent 2af017fe58
commit 33de2eef4b
3 changed files with 15 additions and 0 deletions

View File

@@ -528,6 +528,11 @@ Step 3: System Installation
to limit the maximum space used. Otherwise, you can use a tmpfs (RAM to limit the maximum space used. Otherwise, you can use a tmpfs (RAM
filesystem) later. filesystem) later.
**Note:** If you separate a directory required for booting (e.g. ``/etc``)
into its own dataset, you must add it to
``ZFS_INITRD_ADDITIONAL_DATASETS`` in ``/etc/default/zfs``. Datasets
with ``canmount=off`` (like ``rpool/usr`` above) do not matter for this.
#. Mount a tmpfs at /run:: #. Mount a tmpfs at /run::
mkdir /mnt/run mkdir /mnt/run

View File

@@ -573,6 +573,11 @@ Step 3: System Installation
to limit the maximum space used. Otherwise, you can use a tmpfs (RAM to limit the maximum space used. Otherwise, you can use a tmpfs (RAM
filesystem) later. filesystem) later.
**Note:** If you separate a directory required for booting (e.g. ``/etc``)
into its own dataset, you must add it to
``ZFS_INITRD_ADDITIONAL_DATASETS`` in ``/etc/default/zfs``. Datasets
with ``canmount=off`` (like ``rpool/usr`` above) do not matter for this.
#. Optional: Ignore synchronous requests: #. Optional: Ignore synchronous requests:
microSD cards are relatively slow. If you want to increase performance microSD cards are relatively slow. If you want to increase performance

View File

@@ -580,6 +580,11 @@ Step 3: System Installation
to limit the maximum space used. Otherwise, you can use a tmpfs (RAM to limit the maximum space used. Otherwise, you can use a tmpfs (RAM
filesystem) later. filesystem) later.
**Note:** If you separate a directory required for booting (e.g. ``/etc``)
into its own dataset, you must add it to
``ZFS_INITRD_ADDITIONAL_DATASETS`` in ``/etc/default/zfs``. Datasets
with ``canmount=off`` (like ``rpool/usr`` above) do not matter for this.
#. Mount a tmpfs at /run:: #. Mount a tmpfs at /run::
mkdir /mnt/run mkdir /mnt/run