[zfs-discuss] Re: Gentoo Linux on ZFS
rudd-o at rudd-o.com
Tue Feb 21 19:52:40 EST 2012
Yup. Dracut is so much better than previous things. Full disclosure: I wrote
the Dracut stuff for ZFS.
On Tuesday, February 21, 2012 12:43:03 devsk wrote:
> Richard Yao,
> IMO, since a lot of work already went into making dracut work with
> ZFS, it would be better if you devoted some time looking at that as an
> option. I have booted both of my Gentoo systems using dracut and ZFS
> in the past. So, I know it works on Gentoo.
> I did hack genkernel for ZFS/suspend-to-disk some time back to make it
> work, but I find dracut a much cleaner modularized implementation. And
> it just works!
> -devsk (A long term Gentoo user and contributor...:))
> On Feb 21, 12:02 pm, Richard Yao <r... at cs.stonybrook.edu> wrote:
> > Dear Manuel,
> > I am looking into possibly make some minor improvements to genkernel,
> > but basically all of my bits are already in the Gentoo tree. The
> > hurdles left are to patch to support ZFS inside of Gentoo without
> > resorting to the Illumos stage2 binary, make a Gentoo LiveCD and write
> > documentation
> > For now, since the zfs ebuilds are currently 9999 ebuilds, changes
> > that apply to upstream can be made there and Gentoo will receive them
> > automatically. Things will remain this way until 0.6.0-rc7 is
> > released.
> > Yours truly,
> > Richard Yao
> > On Tue, Feb 21, 2012 at 2:58 PM, Manuel Amador <rud... at rudd-o.com> wrote:
> > > How best to integrate your bits with upstream tree?
> > >
> > > On Monday, February 20, 2012 19:06:23 Richard Yao wrote:
> > >> Dear Everyone,
> > >>
> > >> I have been working on ZFS support in Gentoo Linux for the past 6
> > >> weeks. I achieved an important milestone last night, so I thought I
> > >> would post an announcement to the list. In specific, I successfully
> > >> booted Gentoo Linux off a root ZFS raidz2 on physical hardware, using
> > >> Linux 3.2.6 without support for any in-tree filesystem (i.e. ext4,
> > >> xfs, btrfs, etcetera), LVM or mdadm. This used 6x2TB hard drives and
> > >> it involves the following hacks:
> > >>
> > >> - The disks were divided into two partitions, a 64MB partition for a
> > >> mirrored /boot pool named bpool and the remainder for a raidz2 / pool
> > >> named rpool
> > >> - Open Indiana's GRUB stage2 binary was used.
> > >> - GRUB was installed to each disk using dd, as if they were floppy
> > >> disks
> > >> - /boot was made into a symbolic link to /bpool/boot
> > >> - /boot/grub/grub.conf was made into a symbolic link to menu.lst (it
> > >> is the other way around on Gentoo)
> > >>
> > >> With that said, I have been pushing changes I make back to Gentoo so
> > >> that other people can benefit from them. The portage tree now has
> > >> sys-kernel/spl-9999 and sys-fs/zfs-9999 ebuilds and I am handling the
> > >> bug reports for them as a proxy maintainer. I patched Gentoo's
> > >> genkernel software with ZFS support and my patches have been accepted
> > >> for the next release, although anyone who wants to try it now can use
> > >>
> > >> sys-kernel/genkernel-9999. I also maintain a FAQ hosted at github:
> > >>https://github.com/gentoofan/zfs-overlay/wiki/FAQ
> > >>
> > >> I have received requests in IRC on freenode for documentation on how
> > >> to install Gentoo on ZFS. I plan to write documentation, but I plan to
> > >> eliminate the need to do most of the hacks I needed to do first. I
> > >> expect that the documentation would be analogous to the official
> > >> "Gentoo Linux x86 with Software Raid and LVM2 Quick Install Guide"
> > >> once it is written.
> > >>
> > >> Feel free to reply with any comments or questions that you have.
> > >>
> > >> Yours truly,
> > >> Richard Yao
More information about the zfs-discuss