From owner-freebsd-fs@FreeBSD.ORG Thu Jul 4 11:03:00 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 48509AE0 for ; Thu, 4 Jul 2013 11:03:00 +0000 (UTC) (envelope-from kpaasial@gmail.com) Received: from mail-qc0-x22c.google.com (mail-qc0-x22c.google.com [IPv6:2607:f8b0:400d:c01::22c]) by mx1.freebsd.org (Postfix) with ESMTP id 125231EA8 for ; Thu, 4 Jul 2013 11:03:00 +0000 (UTC) Received: by mail-qc0-f172.google.com with SMTP id j10so700462qcx.3 for ; Thu, 04 Jul 2013 04:02:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=viEU5liQxtC92EO9PNkA704BLAVg3DY7kHizD59FOK4=; b=tCgRi/+mZz/++M42ucNlwbNre689/JQJoTsJRT8CN1yuSSp2tPOe4Ga/rU6o9MX3cY wOQZ2KlJVaN05FfHLeUx/qkjeVcOwwxa9mJlS+AkuQWv5QHbiwGQix1SFdJv0Jrx3dDu ElUdkrFuOJEk9nMS0t1n3adj+wA88HakS1UgqdK5fbl9O5L5nzCODE7bf9MUZwFTCqHM chWHOFonoXwIfb5crclRplv/GvZr061P26HvRFvtjprUykx3rmv/Z8dnReitKtk7S4s5 uvFv1yqbiFDKM+Mqt1VOAQHn/8tUvotedMsXpG+92OKD8ARanUE++m2a8Ai7pXkassmN gH7g== MIME-Version: 1.0 X-Received: by 10.49.127.196 with SMTP id ni4mr4959421qeb.5.1372935779662; Thu, 04 Jul 2013 04:02:59 -0700 (PDT) Received: by 10.224.138.78 with HTTP; Thu, 4 Jul 2013 04:02:59 -0700 (PDT) In-Reply-To: References: Date: Thu, 4 Jul 2013 14:02:59 +0300 Message-ID: Subject: Re: boot from ZFS: which pool types use? From: Kimmo Paasiala To: Dmitry Morozovsky Content-Type: text/plain; charset=UTF-8 Cc: freebsd-fs@freebsd.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jul 2013 11:03:00 -0000 On Thu, Jul 4, 2013 at 1:42 PM, Dmitry Morozovsky wrote: > Dear colleagues, > > I'm a bit stuck and possibly my google-fu sleeps somewhere, but I have > inconsistent cases on what pool types can one use to boot contemporary > (read: stable/9) FreeBSD from. > > For example, I have many older servers with UFS /bootdisk and ZFS-on-root. > While this is useable, it does not seem to be very consistent. > > On the other hand, I have a couple of servers with ZFS-only config which uses > complex raid10-like config on gpart disks, and they boot flawlessly, at lest > till now. > > Lastly, I'm now in process of setting up new server, and trying to do the same, > configuring ZFS with 4 pairs of SAS, now have > > Can't find /boot/zfsloader > > I suppose from line 619 from sys/boot/i386/zfsboot/zfsboot.c > > Configs are essentially the same, I double-check gpart bootcode and zpool.cache > (while I still did not found the guide how to interprete its content; at least > one of my ZFS servers successfully runs without it) > > Any hints? Are stripe-mirror configuration available for booting from (yes, I > do remember that all, or at last enough for degraded use, disks should be > exposed to BIOS by controller firmware, and it is usually constrained to 6 or 8 > disk devices) > > Thanks! > > > -- > Sincerely, > D.Marck [DM5020, MCK-RIPE, DM3-RIPN] > [ FreeBSD committer: marck@FreeBSD.org ] > ------------------------------------------------------------------------ > *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** > ------------------------------------------------------------------------ > _______________________________________________ I no longer have my FreeBSD 9-STABLE fileserver but I was booting succesfully from a four disk striped mirror ZFS pool (two 2-disk mirror vdevs in other words) that was pure ZFS, no UFS /boot involved. It always worked like a charm. -Kimmo