Re: Installing Debian root on ZFS mirror NetBoot
- Date: Mon, 1 Apr 2019 14:28:40 +0300
- From: Reco <recoverym4n@xxxxxxxxxxxx>
- Subject: Re: Installing Debian root on ZFS mirror NetBoot
On Mon, Apr 01, 2019 at 01:21:36PM +0300, Mimiko wrote:
> On 01.04.2019 09:40, Matthew Crews wrote:
> > On 3/31/19 11:20 PM, Mimiko wrote:
> > > On 01.04.2019 05:51, Matthew Crews wrote:
> > > > Step-by-step instructions are found here:
> > > >
> > > > https://github.com/zfsonlinux/zfs/wiki/Debian-Stretch-Root-on-ZFS
> > > Hello.
> > >
> > > I read this guide, but this implies to have a separate MD raid on disk.
> > > It is not fully /boot on ZFS.
> > >
> > Erm, this guide walks you through the process of getting / root on ZFS,
> > though it does make you do a little extra legwork to set up a Z-RAID.
> > I've followed this guide myself for an encrypted ZFS setup on Debian
> > with my Laptop.
> > You are aware that ZFS does not use traditional MDADM, but rather
> > integrates the RAID functionality directly into the file system, right?
> Yes, I know. In 2.2 is mentioned to partition disks. And in 2.3 ZFS pool is created from partitions, not using full disks. And this is confusing me. Why
> create additional partitions not managed by ZFS?
Because you cannot boot from GPT drive unless you have:
- ef02 type partition for EFI
- ef00 type partition for BIOS
And, unlike its Solaris counterpart, ZOL's /sbin/zpool does not label disk by itself.