From owner-freebsd-current@freebsd.org Tue Feb 2 00:43:32 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AC12B4EE07E for ; Tue, 2 Feb 2021 00:43:32 +0000 (UTC) (envelope-from tim@xinuos.com) Received: from zhost.uxsglobal.com (zhost.xinuos.com [132.147.224.105]) by mx1.freebsd.org (Postfix) with ESMTP id 4DV5dv4gnZz3kCL for ; Tue, 2 Feb 2021 00:43:31 +0000 (UTC) (envelope-from tim@xinuos.com) Received: from zhost.uxsglobal.com (localhost [127.0.0.1]) by zhost.uxsglobal.com (Postfix) with ESMTPS id 3718B18D8744 for ; Mon, 1 Feb 2021 18:34:58 -0600 (CST) Received: from localhost (localhost [127.0.0.1]) by zhost.uxsglobal.com (Postfix) with ESMTP id 196F118D874E for ; Mon, 1 Feb 2021 18:34:58 -0600 (CST) DKIM-Filter: OpenDKIM Filter v2.9.2 zhost.uxsglobal.com 196F118D874E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xinuos.com; s=710E410E-A6C0-11E6-9C55-A8275FB0EC07; t=1612226098; bh=xIprEZ9XoXbCdVkkjB49XmxoeNDs7/aEwf5MIDYHLpY=; h=Subject:To:Reply-To:From:Message-ID:Date:MIME-Version: Content-Type:Content-Transfer-Encoding; b=aacwDEttW/d15kHtURECYRB0sTyuxUqfZV3uIbmN7VkVtQNkaNj15Tl3A74GkNhg4 4ur55PbtVUqj/ruQ0Tzpok8cVEb/97axTOvt48joFfrnsPaWMD+h9vRpfBy+E5n1Xh 2rQOI+uuaTbnaHLVnWmp2LdNEVeG2otZv+hRZMfg= Received: from zhost.uxsglobal.com ([127.0.0.1]) by localhost (zhost.uxsglobalhost.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id q9fqp64ccWLP for ; Mon, 1 Feb 2021 18:34:58 -0600 (CST) Received: from mac-mini02.willits.xinuos.com (unknown [173.164.249.139]) by zhost.uxsglobal.com (Postfix) with ESMTPSA id D2FCD18D8744 for ; Mon, 1 Feb 2021 18:34:57 -0600 (CST) Subject: Re: How to setup ZFS mirrored boot device To: freebsd-current@freebsd.org References: <2E851399-1EA1-4EAE-BE34-D497A932E2F7@via.net> Reply-To: freebsd-current@freebsd.org From: Tim Rice Message-ID: Date: Mon, 1 Feb 2021 16:34:37 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: <2E851399-1EA1-4EAE-BE34-D497A932E2F7@via.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-WatchGuard-AntiVirus: part scanned. clean action=allow X-Rspamd-Queue-Id: 4DV5dv4gnZz3kCL X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=pass header.d=xinuos.com header.s=710E410E-A6C0-11E6-9C55-A8275FB0EC07 header.b=aacwDEtt; dmarc=none; spf=pass (mx1.freebsd.org: domain of tim@xinuos.com designates 132.147.224.105 as permitted sender) smtp.mailfrom=tim@xinuos.com X-Spamd-Result: default: False [1.72 / 15.00]; HAS_REPLYTO(0.00)[freebsd-current@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:132.147.224.105]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[xinuos.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[132.147.224.105:from]; REPLYTO_EQ_TO_ADDR(5.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:36489, ipnet:132.147.224.0/20, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.88)[-0.875]; R_DKIM_ALLOW(-0.20)[xinuos.com:s=710E410E-A6C0-11E6-9C55-A8275FB0EC07]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[xinuos.com: no valid DMARC record]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[132.147.224.105:from:127.0.2.255]; GREYLIST(0.00)[pass,body]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2021 00:43:32 -0000 On 2/1/21 3:56 PM, joe mcguckin wrote: > I tried this but it=E2=80=99s not quite working. > > LSI controller flashed with IT firmware. > > 2) 1T SSD drives > > During the install process, I select to create a mirrored ZFS root. It = appears to be created=20 > and there is a zroot dataset. zpool status shows everythings ok. > > Now it gets interesting: > > I pull one drive after poweron but before FreeBSD starts - everything = boots ok, zpool status reports one drive missing and suggests that I repl= ace the missing drive and do a =E2=80=9Czpool online=E2=80=9D > I do so and zpool reports everything=E2=80=99s ok. > > Now lets reboot and just after Bios power on, pull drive 2. FreeBSD boo= ts until it wants to mount the root partition, can=E2=80=99t find it, dum= ps me into a menual drive selection prompt. > > Hmm, I thought the point of a mirror was that *either* drive could fail= . > > What am I doing wrong? You did wait for the resilver to complete after bringing the 1st drive back online before the 2nd test, right? > > Thanks, > > Joe > > > Joe McGuckin > ViaNet Communications > > joe@via.net > 650-207-0372 cell > 650-213-1302 office > 650-969-2124 fax > --=20 Tim Rice tim.rice@xinuos.com