From 7493fd37e4b516cb6d41475e0c414a95242b8857 Mon Sep 17 00:00:00 2001 From: Richard Laager Date: Fri, 20 May 2022 23:21:01 -0500 Subject: [PATCH] Debian: Revert compatibility=grub2 This doesn't work on Debian Bullseye. While I tested the actual create command on unstable, I know I looked at a file list on packages.debian.org. I must have looked at bullseye-backports by mistake. That's what I get for not testing the whole thing! This partially reverts commit 7343c2253f46fdb00ba272a3f4dcf71b5a326e36. Reported-by: anarcat Closes #309 Signed-off-by: Richard Laager --- .../Debian/Debian Bullseye Root on ZFS.rst | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/docs/Getting Started/Debian/Debian Bullseye Root on ZFS.rst b/docs/Getting Started/Debian/Debian Bullseye Root on ZFS.rst index 45da65c..2f2b139 100644 --- a/docs/Getting Started/Debian/Debian Bullseye Root on ZFS.rst +++ b/docs/Getting Started/Debian/Debian Bullseye Root on ZFS.rst @@ -227,9 +227,19 @@ Step 2: Disk Formatting zpool create \ -o cachefile=/etc/zfs/zpool.cache \ - -o ashift=12 -o autotrim=on \ - -o compatibility=grub2 \ + -o ashift=12 -o autotrim=on -d \ + -o feature@async_destroy=enabled \ + -o feature@bookmarks=enabled \ + -o feature@embedded_data=enabled \ + -o feature@empty_bpobj=enabled \ + -o feature@enabled_txg=enabled \ + -o feature@extensible_dataset=enabled \ + -o feature@filesystem_limits=enabled \ + -o feature@hole_birth=enabled \ + -o feature@large_blocks=enabled \ -o feature@livelist=enabled \ + -o feature@lz4_compress=enabled \ + -o feature@spacemap_histogram=enabled \ -o feature@zpool_checkpoint=enabled \ -O acltype=posixacl -O canmount=off -O compression=lz4 \ -O devices=off -O normalization=formD -O relatime=on -O xattr=sa \ @@ -238,9 +248,6 @@ Step 2: Disk Formatting You should not need to customize any of the options for the boot pool. - Ignore the warnings about the features “not in specified 'compatibility' - feature set.” - GRUB does not support all of the zpool features. See ``spa_feature_names`` in `grub-core/fs/zfs/zfs.c `__.