From owner-freebsd-current@freebsd.org Tue Feb 2 00:50:05 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 4672B4EF462 for ; Tue, 2 Feb 2021 00:50:05 +0000 (UTC) (envelope-from joe@via.net) Received: from smtp1.via.net (smtp1.via.net [157.22.3.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "via.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DV5nS16rRz3lKB for ; Tue, 2 Feb 2021 00:50:03 +0000 (UTC) (envelope-from joe@via.net) Received: from mail.via.net (mail.via.net [157.22.3.34]) by smtp1.via.net (8.15.2/8.14.1-VIANET) with ESMTPS id 1120o2eR027682 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 1 Feb 2021 16:50:02 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.97.3 at smtp1.via.net Received: from [209.81.2.65] ([209.81.2.65]) by mail.via.net (8.15.2/8.14.1-VIANET) with ESMTP id 1120o2st024823; Mon, 1 Feb 2021 16:50:02 -0800 (PST) From: joe mcguckin Message-Id: Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: How to setup ZFS mirrored boot device Date: Mon, 1 Feb 2021 16:49:51 -0800 In-Reply-To: Cc: Tim Rice To: freebsd-current@freebsd.org References: <2E851399-1EA1-4EAE-BE34-D497A932E2F7@via.net> X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (smtp1.via.net [157.22.3.5]); Mon, 01 Feb 2021 16:50:02 -0800 (PST) X-Rspamd-Queue-Id: 4DV5nS16rRz3lKB X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of joe@via.net designates 157.22.3.5 as permitted sender) smtp.mailfrom=joe@via.net X-Spamd-Result: default: False [-2.90 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[157.22.3.5:from]; FREEFALL_USER(0.00)[joe]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+MX:c]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_NA(0.00)[via.net]; NEURAL_HAM_LONG(-1.00)[-1.000]; MID_RHS_MATCH_FROM(0.00)[]; SPAMHAUS_ZRD(0.00)[157.22.3.5:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:7091, ipnet:157.22.0.0/16, country:US]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current]; RCVD_IN_DNSWL_LOW(-0.10)[157.22.3.5:from] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 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:50:05 -0000 I did a scrub, it finished within 30 seconds. But the error was that it could not find the boot device it was looking = for. I=E2=80=99ve seen this before: If you create a boot device in slot = 0 (gets named da0) then move that drive to a different slot, FreeBSD will fail in the same manner. Joe McGuckin ViaNet Communications joe@via.net 650-207-0372 cell 650-213-1302 office 650-969-2124 fax > On Feb 1, 2021, at 4:34 PM, Tim Rice wrote: >=20 >=20 >=20 > On 2/1/21 3:56 PM, joe mcguckin wrote: >> I tried this but it=E2=80=99s not quite working. >>=20 >> LSI controller flashed with IT firmware. >>=20 >> 2) 1T SSD drives >>=20 >> 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. >>=20 >> Now it gets interesting: >>=20 >> I pull one drive after poweron but before FreeBSD starts - = everything boots ok, zpool status reports one drive missing and suggests = that I replace the missing drive and do a =E2=80=9Czpool online=E2=80=9D >> I do so and zpool reports everything=E2=80=99s ok. >>=20 >> Now lets reboot and just after Bios power on, pull drive 2. FreeBSD = boots until it wants to mount the root partition, can=E2=80=99t find it, = dumps me into a menual drive selection prompt. >>=20 >> Hmm, I thought the point of a mirror was that *either* drive could = fail. >>=20 >> 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? >=20 >>=20 >> Thanks, >>=20 >> Joe >>=20 >>=20 >> Joe McGuckin >> ViaNet Communications >>=20 >> joe@via.net >> 650-207-0372 cell >> 650-213-1302 office >> 650-969-2124 fax >>=20 > --=20 >=20 > Tim Rice > tim.rice@xinuos.com >=20 >=20 > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to = "freebsd-current-unsubscribe@freebsd.org"