Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update bpool creation note to reflect compatibility property. #461

Merged
merged 1 commit into from
Oct 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions docs/Getting Started/Debian/Debian Bookworm Root on ZFS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -244,15 +244,15 @@ Step 2: Disk Formatting
-O canmount=off -O mountpoint=/boot -R /mnt \
bpool ${DISK}-part3

You should not need to customize any of the options for the boot pool.

GRUB does not support all of the zpool features. See ``spa_feature_names``
in `grub-core/fs/zfs/zfs.c
<http://git.savannah.gnu.org/cgit/grub.git/tree/grub-core/fs/zfs/zfs.c#n276>`__.
This step creates a separate boot pool for ``/boot`` with the features
limited to only those that GRUB supports, allowing the root pool to use
any/all features. Note that GRUB opens the pool read-only, so all
read-only compatible features are “supported” by GRUB.
*Note:* GRUB does not support all zpool features (see
``spa_feature_names`` in
`grub-core/fs/zfs/zfs.c <https://git.savannah.gnu.org/cgit/grub.git/tree/grub-core/fs/zfs/zfs.c#288>`_).
We create a separate zpool for ``/boot`` here, specifying the
``-o compatibility=grub2`` property which restricts the pool to only those
features that GRUB supports, allowing the root pool to use any/all features.

See the section on ``Compatibility feature sets`` in the ``zpool-features``
man page for more information.

**Hints:**

Expand Down
Loading