Re: ZFS support in GRUB
- To: Robert Millan <firstname.lastname@example.org>
- Cc: email@example.com
- Subject: Re: ZFS support in GRUB
- From: Tuco <firstname.lastname@example.org>
- Date: Wed, 11 Aug 2010 18:01:26 -0400
- Message-id: <AANLkTi=_V5b0mG1rFqO6--8u+vhhO57XPsEfWYdrtN9W@mail.gmail.com>
- In-reply-to: <AANLkTimiYwn-o-EFJ-Yn3t-r9=sJWK8NAQ-PWvOmnQhP@mail.gmail.com>
- References: <AANLkTimiYwn-o-EFJ-Yn3t-r9=sJWK8NAQ-PWvOmnQhP@mail.gmail.com>
This is very nice. Right now I'm having some trouble with zpool, but
I'll try to boot from a ZFS root with GRUB as soon as I get the
On 8/10/10, Robert Millan <email@example.com> wrote:
> - Only ZFS up to (and including) version 14 is supported.
I just checked, version 14 is in kernel 8.1. Is this the version that
will be used for squeeze?
> For newer
> versions, we could make update-grub work with separate /boot with
> minimal effort (poke me if you think this is needed), but complete
> support for ZFS in root isn't currently being worked on. We need
> help in this area.
> - Multi-device arrays are not supported. If they're RAID1 (mirror),
> we work around this by selecting the first member and using that for
> boot later. For array types where more than one disk is needed, GRUB
> can't boot. Using a separate /boot can resolve this, however.
> - Gzip compression is not supported. It can probably be implemented
> without much effort, given that GRUB already has gzip code (for a
> different purpose, so the API isn't generic enough, but this can be
> fixed). Note that the default in ZFS is no compression, and when
> compression is enabled the default is LZJB, so this is not a big
> problem. Also note that in case you enable gzip compression, a
> separate /boot is not necessary to work around missing support in
> GRUB. Simply create new ZFS filesystems for /boot and /lib/modules
> inside the same zpool, and adjust compression settings accordingly.