Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #206821 > unrolled thread

Installing Debian root on ZFS mirror NetBoot

Started byMimiko <vbvbrj@gmail.com>
First post2019-03-31 09:50 +0200
Last post2019-04-01 13:30 +0200
Articles 7 — 4 participants

Back to article view | Back to linux.debian.user


Contents

  Installing Debian root on ZFS mirror NetBoot Mimiko <vbvbrj@gmail.com> - 2019-03-31 09:50 +0200
    Re: Installing Debian root on ZFS mirror NetBoot David Christensen <dpchrist@holgerdanske.com> - 2019-04-01 00:20 +0200
      Re: Installing Debian root on ZFS mirror NetBoot Matthew Crews <mailinglists@mattcrews.com> - 2019-04-01 05:00 +0200
        Re: Installing Debian root on ZFS mirror NetBoot Mimiko <vbvbrj@gmail.com> - 2019-04-01 08:30 +0200
          Re: Installing Debian root on ZFS mirror NetBoot Matthew Crews <mailinglists@mattcrews.com> - 2019-04-01 08:50 +0200
            Re: Installing Debian root on ZFS mirror NetBoot Mimiko <vbvbrj@gmail.com> - 2019-04-01 12:30 +0200
              Re: Installing Debian root on ZFS mirror NetBoot Reco <recoverym4n@enotuniq.net> - 2019-04-01 13:30 +0200

#206821 — Installing Debian root on ZFS mirror NetBoot

FromMimiko <vbvbrj@gmail.com>
Date2019-03-31 09:50 +0200
SubjectInstalling Debian root on ZFS mirror NetBoot
Message-ID<xHDo5-2gH-1@gated-at.bofh.it>
Hello.

I know that ZFS is not well supported as MD raids. All I've found on internet on installing Debian on ZFS is using a live disk.

My goal is to boot from network and install Debian root on ZFS raid mirror. I can do this using MD raid. I am searching for suggestions of how to 
enable ZFS during installing from network and partition disks using ZFS.

Any suggestion and ideas a welcome.

[toc] | [next] | [standalone]


#206846

FromDavid Christensen <dpchrist@holgerdanske.com>
Date2019-04-01 00:20 +0200
Message-ID<xHQY1-2mf-5@gated-at.bofh.it>
In reply to#206821
On 3/31/19 12:45 AM, Mimiko wrote:
> Hello.
> 
> I know that ZFS is not well supported as MD raids. All I've found on 
> internet on installing Debian on ZFS is using a live disk.
> 
> My goal is to boot from network and install Debian root on ZFS raid 
> mirror. I can do this using MD raid. I am searching for suggestions of 
> how to enable ZFS during installing from network and partition disks 
> using ZFS.
> 
> Any suggestion and ideas a welcome.

I migrated my SOHO file server to FreeBSD specifically for ZFS.  While 
FreeBSD rocks as a server OS, I find that graphical desktops are better 
on Debian.  On Debian, I use BTRFS.  I also use only one device for the 
system drive, and keep it small (16 GB SSD and USB flash drives) to 
facilitate taking, storing, and restoring images.


David

[toc] | [prev] | [next] | [standalone]


#206851

FromMatthew Crews <mailinglists@mattcrews.com>
Date2019-04-01 05:00 +0200
Message-ID<xHVkZ-4UH-1@gated-at.bofh.it>
In reply to#206846
On 3/31/19 3:12 PM, David Christensen wrote:
> On 3/31/19 12:45 AM, Mimiko wrote:
>> Hello.
>>
>> I know that ZFS is not well supported as MD raids. All I've found on
>> internet on installing Debian on ZFS is using a live disk.
>>
>> My goal is to boot from network and install Debian root on ZFS raid
>> mirror. I can do this using MD raid. I am searching for suggestions of
>> how to enable ZFS during installing from network and partition disks
>> using ZFS.
>>
>> Any suggestion and ideas a welcome.
> 
> I migrated my SOHO file server to FreeBSD specifically for ZFS.  While
> FreeBSD rocks as a server OS, I find that graphical desktops are better
> on Debian.  On Debian, I use BTRFS.  I also use only one device for the
> system drive, and keep it small (16 GB SSD and USB flash drives) to
> facilitate taking, storing, and restoring images.
> 
> 
> David
> 

Step-by-step instructions are found here:

https://github.com/zfsonlinux/zfs/wiki/Debian-Stretch-Root-on-ZFS

[toc] | [prev] | [next] | [standalone]


#206854

FromMimiko <vbvbrj@gmail.com>
Date2019-04-01 08:30 +0200
Message-ID<xHYCd-708-1@gated-at.bofh.it>
In reply to#206851
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.

[toc] | [prev] | [next] | [standalone]


#206855

FromMatthew Crews <mailinglists@mattcrews.com>
Date2019-04-01 08:50 +0200
Message-ID<xHYVz-76g-3@gated-at.bofh.it>
In reply to#206854

[Multipart message — attachments visible in raw view] — view raw

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?

[toc] | [prev] | [next] | [standalone]


#206863

FromMimiko <vbvbrj@gmail.com>
Date2019-04-01 12:30 +0200
Message-ID<xI2mw-O2-11@gated-at.bofh.it>
In reply to#206855
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?

[toc] | [prev] | [next] | [standalone]


#206865

FromReco <recoverym4n@enotuniq.net>
Date2019-04-01 13:30 +0200
Message-ID<xI3ix-1mO-1@gated-at.bofh.it>
In reply to#206863
	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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web