-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add compatibility file for GRUB versions up to v2.06
GRUB is not able to detect ZFS pool if snaphsot of top level boot pool is created. This issue is observed with GRUB versions up to v2.06 if extensible_dataset feature is enabled on ZFS boot pool. compatibility=grub2-2.06 would enable all read-only compatible zpool features except extensible_dataset and other features that depend on it. The existing grub2 compatibility file is now renamed to grub2-2.12 to reflect the appropriate grub2 version. grub2-2.12 lists all read-only features that can be enabled on boot pool for grub2 with version 2.12 onwards. A new symlink grub2 is created that currently points to the grub2-2.12 compatibility file. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Alexander Motin <mav@FreeBSD.org> Signed-off-by: Umer Saleem <usaleem@ixsystems.com> Closes #13873 Closes #15261 Closes #15909
- Loading branch information
1 parent
aeb79f2
commit 2aafc2e
Showing
4 changed files
with
54 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Features which are supported by GRUB2 versions prior to v2.12. | ||
# | ||
# GRUB is not able to detect ZFS pool if snaphsot of top level boot pool | ||
# is created. This issue is observed with GRUB versions before v2.12 if | ||
# extensible_dataset feature is enabled on ZFS boot pool. | ||
# | ||
# This file lists all read-only comaptible features except | ||
# extensible_dataset and any other feature that depends on it. | ||
# | ||
allocation_classes | ||
async_destroy | ||
block_cloning | ||
device_rebuild | ||
embedded_data | ||
empty_bpobj | ||
enabled_txg | ||
hole_birth | ||
log_spacemap | ||
lz4_compress | ||
resilver_defer | ||
spacemap_histogram | ||
spacemap_v2 | ||
zpool_checkpoint |
2 changes: 1 addition & 1 deletion
2
cmd/zpool/compatibility.d/grub2 → cmd/zpool/compatibility.d/grub2-2.12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters