Gentoo Archives: gentoo-user

From: Rich Freeman <rich0@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts
Date: Tue, 31 Aug 2021 19:54:35
Message-Id: CAGfcS_=07_R4=26h2mNa1dVJDdVisQ5kK+u5zGiEfg+42h5cqg@mail.gmail.com
In Reply to: Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts by Michael
1 On Tue, Aug 31, 2021 at 3:44 PM Michael <confabulate@××××××××.com> wrote:
2 >
3 > Please beware, I have not used zfs to date, only btrfs, so the above merely
4 > reflects my understanding rather than in depth experience of the difficulty in
5 > managing such a setup.
6
7 To save you digging through the thread, the issue with zfs is that it
8 adds new features over time, and grub isn't necessarily compatible
9 with all of them. You can control which features are enabled on-disk
10 for compatibility, but grub doesn't do a great job documenting which
11 features are/aren't supported in any particular version. So, it is a
12 bit of a guessing game.
13
14 It has been pointed out that there are various guides online, but:
15
16 1. They don't all say the exact same thing.
17 2. They aren't official upstream docs.
18 3. They rarely specify what version of grub they're talking about.
19
20 The typical solution is to either use very conservative settings for
21 your root partition (which isn't ideal from a zfs standpoint), or have
22 a separate /boot pool which means that you don't have to encumber the
23 rest of the system with whatever grub's limitations might be. Then
24 you just never update that partition and it shouldn't break. That
25 basically is no different than just having /boot on ext4 or vfat or
26 whatever. With this solution you also can't just freely resize /boot
27 the way you could if it were part of the pool.
28
29 --
30 Rich

Replies

Subject Author
Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts Michael <confabulate@××××××××.com>