Web lists-archives.com

Re: Installing Debian root on ZFS mirror NetBoot




	Hi.

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.

Reco