From owner-freebsd-geom@freebsd.org Sun Oct 21 21:01:05 2018 Return-Path: Delivered-To: freebsd-geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 72DE31008A38 for ; Sun, 21 Oct 2018 21:01:05 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id C968277AEC for ; Sun, 21 Oct 2018 21:01:04 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 8C8631008A2B; Sun, 21 Oct 2018 21:01:04 +0000 (UTC) Delivered-To: geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7B0691008A26 for ; Sun, 21 Oct 2018 21:01:04 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4101177AE6 for ; Sun, 21 Oct 2018 21:01:04 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 70AA2512 for ; Sun, 21 Oct 2018 21:01:03 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w9LL13Ys003443 for ; Sun, 21 Oct 2018 21:01:03 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w9LL13NJ003433 for geom@FreeBSD.org; Sun, 21 Oct 2018 21:01:03 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201810212101.w9LL13NJ003433@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: geom@FreeBSD.org Subject: Problem reports for geom@FreeBSD.org that need special attention Date: Sun, 21 Oct 2018 21:01:03 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Oct 2018 21:01:05 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- In Progress | 218679 | [geli] add a verify command 1 problems total for which you should take action. From owner-freebsd-geom@freebsd.org Thu Oct 25 01:03:08 2018 Return-Path: Delivered-To: freebsd-geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 833421075C6D for ; Thu, 25 Oct 2018 01:03:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 20A238299E for ; Thu, 25 Oct 2018 01:03:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id D63421075C69; Thu, 25 Oct 2018 01:03:07 +0000 (UTC) Delivered-To: geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C4F811075C68 for ; Thu, 25 Oct 2018 01:03:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 64B2B82996 for ; Thu, 25 Oct 2018 01:03:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 9C4A1FA6C for ; Thu, 25 Oct 2018 01:03:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w9P136GG090175 for ; Thu, 25 Oct 2018 01:03:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w9P136lN090174 for geom@FreeBSD.org; Thu, 25 Oct 2018 01:03:06 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: geom@FreeBSD.org Subject: [Bug 232671] [gmirror] gmirror fails to recover from degraded mirror sets in some circumstances Date: Thu, 25 Oct 2018 01:03:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: cem@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: geom@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2018 01:03:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232671 Conrad Meyer changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |geom@FreeBSD.org CC| |markj@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-geom@freebsd.org Thu Oct 25 01:08:18 2018 Return-Path: Delivered-To: freebsd-geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2917C107607E for ; Thu, 25 Oct 2018 01:08:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id BA5D682BC0 for ; Thu, 25 Oct 2018 01:08:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 7DEF1107607D; Thu, 25 Oct 2018 01:08:17 +0000 (UTC) Delivered-To: geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6CB9E107607C for ; Thu, 25 Oct 2018 01:08:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0F2AD82BBD for ; Thu, 25 Oct 2018 01:08:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 29D63FA72 for ; Thu, 25 Oct 2018 01:08:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w9P18GHt095487 for ; Thu, 25 Oct 2018 01:08:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w9P18Gki095486 for geom@FreeBSD.org; Thu, 25 Oct 2018 01:08:16 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: geom@FreeBSD.org Subject: [Bug 232671] [gmirror] gmirror fails to recover from degraded mirror sets in some circumstances Date: Thu, 25 Oct 2018 01:08:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: cem@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: geom@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2018 01:08:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232671 --- Comment #1 from Conrad Meyer --- My proposed fix is, in g_mirror_update_device: don't transition from STARTI= NG to RUNNING unless we've got at least one ACTIVE mirror. What is a gmirror device going to do with zero active mirrors? It seems useless. Possible mitigations for similar classes of issue: * When a stale mirror is detected at runtime *and* we've already got a comp= lete mirrorset (#6 above), zero out the gmirror superblock or otherwise disassoc= iate it from the logical mirrorset. It's not going to get less stale if we igno= re it. * In g_mirror_update_device when we're in RUNNING and notice we have no mirrors, transition back to STARTING? This sounds a little silly to me; we should probably just avoid transitioning to RUNNING unless we have a valid mirror. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-geom@freebsd.org Thu Oct 25 01:17:10 2018 Return-Path: Delivered-To: freebsd-geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7F22F1076A68 for ; Thu, 25 Oct 2018 01:17:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id CAD2B832C7 for ; Thu, 25 Oct 2018 01:17:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 8F5601076A67; Thu, 25 Oct 2018 01:17:09 +0000 (UTC) Delivered-To: geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7E2FE1076A66 for ; Thu, 25 Oct 2018 01:17:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AD15F832C5 for ; Thu, 25 Oct 2018 01:17:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id DBE19FBCC for ; Thu, 25 Oct 2018 01:17:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w9P1H7nI015325 for ; Thu, 25 Oct 2018 01:17:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w9P1H7H4015324 for geom@FreeBSD.org; Thu, 25 Oct 2018 01:17:07 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: geom@FreeBSD.org Subject: [Bug 232671] [gmirror] gmirror fails to recover from degraded mirror sets in some circumstances Date: Thu, 25 Oct 2018 01:17:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cem@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: geom@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_severity Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2018 01:17:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232671 Conrad Meyer changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Affects Only Me |Affects Some People --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-geom@freebsd.org Thu Oct 25 10:22:27 2018 Return-Path: Delivered-To: freebsd-geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E78871037AF6 for ; Thu, 25 Oct 2018 10:22:26 +0000 (UTC) (envelope-from mikey@usa.com) Received: from mout.gmx.com (mout.gmx.com [74.208.4.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.com", Issuer "GeoTrust RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 74C757AF65 for ; Thu, 25 Oct 2018 10:22:26 +0000 (UTC) (envelope-from mikey@usa.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mail.com; s=dbd5af2cbaf7; t=1540462944; bh=nopooeqKKrHwUlu9XPAoZupBi2rKbh8xvbSkf7novgM=; h=X-UI-Sender-Class:From:To:Subject:Date; b=n4o981OimYPawduxF9vSqSEVkvy42Q8elOwPRTQccqbBAIe/a/vHaOJYuXC3FNvPe N02mK3/1ZwcHHk9IqMsHHDTC73ZkHgBJazKIPIZWQm6PGBDGiwe3c9DVmVb1K2Ma19 V+9szOARS+X3sJGkSUgTpWOCAk1BXm+4e4mr1zJ4= X-UI-Sender-Class: 214d933f-fd2f-45c7-a636-f5d79ae31a79 Received: from [81.108.220.86] ([81.108.220.86]) by web-mail.mail.com (3c-app-mailcom-lxa11.server.lan [10.76.45.12]) (via HTTP); Thu, 25 Oct 2018 12:17:09 +0200 Message-ID: From: "Michael .." To: freebsd-geom@freebsd.org Subject: GELI without passphrase on ZFS root Date: Thu, 25 Oct 2018 12:17:09 +0200 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:1a3XCALjdPGoN//3eq+UA6827LS14cozz65QrmY7739gMAW5DRvv8s1JVyTJEDJaO/N0V Acrcwyyu2Rwl1Bbv9PlJvp/JW4SYcARBMJY643HxdDuFSeKIjfQi0dwWrQcxW/PVK9v+8sb2mDS6 X2mOdEfFR2IbXEdIAZU894tF1z9jmMVzwmt0Yhsk4WSknoCom+1wCZyHHQCK73pBIY4uC/+wwGAm BTqYRwhId1yoLVkUr+1HFzIB1Sb0q4KW7tRFg3Zp8pnOk19aO76LsrDCiQ4Tf8XPcqXWVlzCoO4Z DY= X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V01:K0:TsVA9qD2rIs=:LhUoVmS4YfcZEx18OaUNBg /lsJZJGoyW4E6+NXcJqSBvFTM/K75DUuHaoydB+mezKAWm8kw9NyV5mYu8eV3KlpciQTonaiZ tZpLa5La2HsO1Ju42tz7LstePbtnY+x7LWez1xfnk4yROq1lcMGlGTilXv2j9iukeEmtxXSGt slz0XOuC5svpohd9PnCabM2BvmgYP3k+qPEwllUu8ackXt7QC2cpJ4M18QTfWop0eXmvxTJjq lyXqL0loximjP/IPJb/UoKlKNUheDDfrlB+eLxm0RA6SNWBPLQ3fC0gIsUUjKksNK7x/DYLIz UPw19H1EanG8mp1FVTkyifCVAznAZ61BzjBJVHAmubAF0i6SAVP56WmdfiklhByeiGq+KCdNm q+bKkfI/vvsZcogpWTgr6+9LkqBk5fX7xE/U6y/HvWKyxu7FTTen3I+1bjYiAg+ohWRGfrw0P vMxBqcxJ//pmMW27fnT6RzNkd0NXouPAyX7PApATSjvzvU81Mfov MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2018 10:22:27 -0000 From owner-freebsd-geom@freebsd.org Thu Oct 25 10:25:15 2018 Return-Path: Delivered-To: freebsd-geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 750D31037BDB for ; Thu, 25 Oct 2018 10:25:15 +0000 (UTC) (envelope-from mikey@usa.com) Received: from mout.gmx.com (mout.gmx.com [74.208.4.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.com", Issuer "GeoTrust RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 00E5A7AFFD for ; Thu, 25 Oct 2018 10:25:14 +0000 (UTC) (envelope-from mikey@usa.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mail.com; s=dbd5af2cbaf7; t=1540463114; bh=RpEguDkqaO2567tZs8pVCOdlRiUY98Gyvyjv7XOaW3U=; h=X-UI-Sender-Class:From:To:Subject:Date; b=FMCYxB+A3F3QaMgXKOj2mcnsKbxyeTruakd1ByXTeiAAuuqiL3tGWElKAAMC7pQik 6/YZh1aA4wNae5ZjdTLlCGflS1PNn25fzd699b0JFifStYzyoot7YuL4ox0Ps4OTaM EMq+qKso7xJ9eral7lg+XvQfbswcfMgXl7Db+4uA= X-UI-Sender-Class: 214d933f-fd2f-45c7-a636-f5d79ae31a79 Received: from [81.108.220.86] ([81.108.220.86]) by web-mail.mail.com (3c-app-mailcom-lxa11.server.lan [10.76.45.12]) (via HTTP); Thu, 25 Oct 2018 12:25:14 +0200 MIME-Version: 1.0 Message-ID: From: "Michael .." To: freebsd-geom@freebsd.org Subject: GELI without passphrase on ZFS root Content-Type: text/plain; charset=UTF-8 Date: Thu, 25 Oct 2018 12:25:14 +0200 Importance: normal Sensitivity: Normal Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-Provags-ID: V03:K1:uWzNfnoEoRupCuaZkhWbF6d8tEkD/53RKYrT+IIdk3R0e56yfeBxzsEFa0HzEKtdryKwQ LWS9ABk2I+2JD4QKGIOi54JX8+bV7aZXsX/oE+393e6jCLPbqCRxJC8T/ZwIkVBxa0YdUp8bgZ21 7JVyTkr0utpy/QVus7Z+yjbQCyoPiTBAqWCdr9PC0OrACizbJNwodne93S97tribY84WQ9LOCu78 V1/4GHbQ1rWnN12tdKyY4W4SxplFnJnvmOr50oHAKgueXOKNMBP9buOdAF33F/y2egh3yIGrtifH lo= X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V01:K0:rRNwanP1veo=:NhcMBTJopoi4JJuMVJBedN B/mBCfEyyso2zDZdxGXP54kPuyoj0wpiatiiq06Utc82Swr+v9nZXFBWnI6xTROWFIcICHw6R +u68UIIFT6XUtwQD6+Cdc0GY48sW7OGp/8MxBcmnE90vcblNMx5F0V53A/DeuLhKONdJ2rriw VuQN7oCZMcb8fF2udqaD/8CcYNsWnLzhhjql//71xpzTf83x8KxQWQzIMOM6lPA+nP7Ymm9gJ YJESuxGv9nz+4bgoYq/UQxM+3Fmz6b+fwtV491d59DJvDddfRldky/Rku78s4luvgRqGd+D/G JpdnGYNeoiFGrT+rVXwXB6UNyUjJCER+TFvWYR+Fzxs4pJ+05Um3Dypr3c5TL8p+pRx2MEx1B XtvxyC1frXBbvAbNKLP1rjhrBLZrIXrTp7eHpqxxKQtmli625mO3gdmD6ikdpj04FYWUACx7W Zb8eKNxOrqCImBmbE5WHut0J0hXyBOo2f2IE2wYdCO3CAE8GBYBO X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2018 10:25:15 -0000 Hi, =C2=A0 Has anyone been able to achieve this? =C2=A0 I installed FreeBSD 11=2E2 using AutoZFS option with encryption turned on= =2E=C2=A0 Passphrase is specified as part of install=2E =C2=A0 I want to switch to only a keyfile and no passphrase: =C2=A0 geli setkey -K /boot/encryption=2Ekey -P /dev/xyz =C2=A0 This completes, but I'm still prompted for passphrase on boot=2E=C2=A0 Not= hing appears accepted by the prompt (as the userkey is using only keyfile n= ow?) =C2=A0 Setting geom_eli_passphrase_prompt=3D"NO" doesn't help=2E =C2=A0 Michael=2E From owner-freebsd-geom@freebsd.org Thu Oct 25 15:39:44 2018 Return-Path: Delivered-To: freebsd-geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 77C37107B93B for ; Thu, 25 Oct 2018 15:39:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 1CA2F89DA7 for ; Thu, 25 Oct 2018 15:39:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id D2D29107B934; Thu, 25 Oct 2018 15:39:43 +0000 (UTC) Delivered-To: geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C19A6107B932 for ; Thu, 25 Oct 2018 15:39:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 62EA289D9F for ; Thu, 25 Oct 2018 15:39:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 9B0BE172A8 for ; Thu, 25 Oct 2018 15:39:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w9PFdgNd061769 for ; Thu, 25 Oct 2018 15:39:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w9PFdgj7061768 for geom@FreeBSD.org; Thu, 25 Oct 2018 15:39:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: geom@FreeBSD.org Subject: [Bug 232671] [gmirror] gmirror fails to recover from degraded mirror sets in some circumstances Date: Thu, 25 Oct 2018 15:39:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: geom@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2018 15:39:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232671 --- Comment #2 from Mark Johnston --- Nice. JFYI, there's a number of test cases in tests/sys/geom/class/mirror which attempt to reproduce issues like the one you described. Regarding the proposed fix, check out r306743. It aimed to fix a similar-sounding problem. I think it's not quite sufficient in that we make the decision to transition to RUNNING before checking for broken disks. In= the scenario you described, it sounds like we should transition back to STARTING and wait for a third disk to arrive. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-geom@freebsd.org Thu Oct 25 16:02:33 2018 Return-Path: Delivered-To: freebsd-geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 75975107D1F6 for ; Thu, 25 Oct 2018 16:02:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 11E248BBC4 for ; Thu, 25 Oct 2018 16:02:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id CB772107D1F5; Thu, 25 Oct 2018 16:02:32 +0000 (UTC) Delivered-To: geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A996D107D1F4 for ; Thu, 25 Oct 2018 16:02:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4A6558BBB9 for ; Thu, 25 Oct 2018 16:02:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 915F4176B7 for ; Thu, 25 Oct 2018 16:02:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w9PG2VRv042308 for ; Thu, 25 Oct 2018 16:02:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w9PG2V5x042307 for geom@FreeBSD.org; Thu, 25 Oct 2018 16:02:31 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: geom@FreeBSD.org Subject: [Bug 232671] [gmirror] gmirror fails to recover from degraded mirror sets in some circumstances Date: Thu, 25 Oct 2018 16:02:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cem@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: geom@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2018 16:02:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232671 --- Comment #3 from Conrad Meyer --- (In reply to Mark Johnston from comment #2) Yep, I did this code inspection on CURRENT from yesterday-ish, so that revi= sion was present. I'm not sure I want us to flip flop between STARTING and RUNNING in such a case; it seems like both (1) we are allowed to remain in STARTING indefinit= ely by just returning (as long as we can expect some future event to potentially transition us to RUNNING), and (2) we have enough information at STARTING t= ime to know that RUNNING will fail. I.e., I'd like to be slightly more conservative about when we transition to RUNNING. As far as particular code change for the root cause, adding a check for `if (ndisks =3D=3D 0) return;` right before the 'if (dirty =3D=3D 0) {' check s= eems like it *might* be sufficient to fix the correctness issue here (although not the admin-introspection issue(s)). After all, there is no point launching a gmirror with only broken and synchronizing disks ;-). Additionally, for administrability I'd like to record some information on t= he mirror softc about *why* the state is what it is. (Possibly at least two formatted string buffers -- why we last transitioned, and why we haven't yet transitioned to the next logical state. If either is not relevant, "n/a" w= ould be ok.) That way, when we timeout or whatever, that is discoverable (and ideally printed to console). It might also make sense to do a similar thing for g_mirror_disks. It'd al= so be good to add gmirror disk id to almost all of these log messages, since d= aNN devices can be enumerated in a different order between boots, and that was super confusing for this sighting. Certainly adding more test cases would be a good idea along with this revis= ion, thanks for the pointer. I can't promise any time to work on right now, sorry. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-geom@freebsd.org Thu Oct 25 16:06:28 2018 Return-Path: Delivered-To: freebsd-geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D230C107D563 for ; Thu, 25 Oct 2018 16:06:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 6F48C8BE62 for ; Thu, 25 Oct 2018 16:06:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 34DC9107D562; Thu, 25 Oct 2018 16:06:28 +0000 (UTC) Delivered-To: geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1F756107D561 for ; Thu, 25 Oct 2018 16:06:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AE19C8BE59 for ; Thu, 25 Oct 2018 16:06:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id E5DAC176BE for ; Thu, 25 Oct 2018 16:06:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w9PG6QkA046885 for ; Thu, 25 Oct 2018 16:06:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w9PG6Qoq046884 for geom@FreeBSD.org; Thu, 25 Oct 2018 16:06:26 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: geom@FreeBSD.org Subject: [Bug 232671] [gmirror] gmirror fails to recover from degraded mirror sets in some circumstances Date: Thu, 25 Oct 2018 16:06:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cem@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: geom@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2018 16:06:29 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232671 --- Comment #4 from Conrad Meyer --- Oh, and one more thing to consider: gmirror is really aggressive about destroying itself when it gets into a bad state. That might not be the best thing for resiliency, even if all mirrors are dead? I.e. it could stay ali= ve and ENXIO or EIO all IO and wait for an administrator to add or remove disks (or administratively kill it). This is mostly orthogonal to this bug, except I'd like gmirror's self-destr= uct function to log much more explicitly than it does today. The only hint we = have during the boot process is: "root_mount_rel[2352] 0xppppppp", and that only because we have GEOM debugging level 1 enabled! If a CAM device dies and removes itself, you bet the console hears about it. Just my 2=C2=A2. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-geom@freebsd.org Thu Oct 25 16:06:59 2018 Return-Path: Delivered-To: freebsd-geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D85A2107D5FC for ; Thu, 25 Oct 2018 16:06:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 72A218BEFB for ; Thu, 25 Oct 2018 16:06:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 38348107D5F9; Thu, 25 Oct 2018 16:06:59 +0000 (UTC) Delivered-To: geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 27136107D5F7 for ; Thu, 25 Oct 2018 16:06:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BDABB8BEF6 for ; Thu, 25 Oct 2018 16:06:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 00B12176C1 for ; Thu, 25 Oct 2018 16:06:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w9PG6va0047376 for ; Thu, 25 Oct 2018 16:06:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w9PG6vo2047374 for geom@FreeBSD.org; Thu, 25 Oct 2018 16:06:57 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: geom@FreeBSD.org Subject: [Bug 232671] [gmirror] gmirror fails to recover from degraded mirror sets in some circumstances Date: Thu, 25 Oct 2018 16:06:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cem@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: geom@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2018 16:07:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232671 --- Comment #5 from Conrad Meyer --- I'll start cloning some bugs for the sub issues. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-geom@freebsd.org Thu Oct 25 16:18:43 2018 Return-Path: Delivered-To: freebsd-geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 05DA5107DEC0 for ; Thu, 25 Oct 2018 16:18:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 94F238C742 for ; Thu, 25 Oct 2018 16:18:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5A5D9107DEBE; Thu, 25 Oct 2018 16:18:42 +0000 (UTC) Delivered-To: geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4933D107DEBC for ; Thu, 25 Oct 2018 16:18:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DEC738C73E for ; Thu, 25 Oct 2018 16:18:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 036E417831 for ; Thu, 25 Oct 2018 16:18:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w9PGIelq068519 for ; Thu, 25 Oct 2018 16:18:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w9PGIekx068518 for geom@FreeBSD.org; Thu, 25 Oct 2018 16:18:40 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: geom@FreeBSD.org Subject: [Bug 232671] [gmirror] gmirror fails to recover from degraded mirror sets in some circumstances Date: Thu, 25 Oct 2018 16:18:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cem@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: geom@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2018 16:18:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232671 --- Comment #6 from Conrad Meyer --- @Mark, any thoughts on this from comment #1? * When a stale mirror is detected at runtime *and* we've already got a comp= lete mirrorset (#6 above), zero out the gmirror superblock or otherwise disassoc= iate it from the logical mirrorset. It's not going to get less stale if we igno= re it. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-geom@freebsd.org Thu Oct 25 16:23:52 2018 Return-Path: Delivered-To: freebsd-geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E5C95107E507 for ; Thu, 25 Oct 2018 16:23:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id A3A138CF11 for ; Thu, 25 Oct 2018 16:23:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 69180107E500; Thu, 25 Oct 2018 16:23:51 +0000 (UTC) Delivered-To: geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 47555107E4FF for ; Thu, 25 Oct 2018 16:23:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DB0368CF0A for ; Thu, 25 Oct 2018 16:23:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 0554917989 for ; Thu, 25 Oct 2018 16:23:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w9PGNnWZ082166 for ; Thu, 25 Oct 2018 16:23:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w9PGNngc082165 for geom@FreeBSD.org; Thu, 25 Oct 2018 16:23:49 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: geom@FreeBSD.org Subject: [Bug 232683] [gmirror] gmirror could provide much better administrative introspection into decision-making processes Date: Thu, 25 Oct 2018 16:23:50 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cem@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc dependson Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2018 16:23:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232683 Bug ID: 232683 Summary: [gmirror] gmirror could provide much better administrative introspection into decision-making processes Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: cem@freebsd.org CC: geom@FreeBSD.org, markj@FreeBSD.org Depends on: 232671 +++ This bug was initially created as a clone of Bug #232671 +++ I'd like the gmirror softc and individual gmirror disk elements to record t= wo formatted messages: 1. Why did we switch to the current state from the previous one? 2. Why *haven't* we switched to some next state, where there is an obvious linear sequence of transitions. Additionally, I'd like that information available in DDB and perhaps the runtime geom commands. It may also be useful for printing at mountroot pan= ics. For the scenario described in the bug this was cloned from, that might be: root0.why_status =3D "Found enough (2/2) disks in ANY state and found 0 dir= ty disks (unforced)" root0.why_not_next =3D "n/a" root0.why_destroy =3D "0/2 mirror disks in ACTIVE or NEW state (need at lea= st 1)" da2p5.why_status =3D "broken (stale): old generation id N; current mirrorset generation is M" da2p5.why_not_next =3D "n/a" da16p3.why_status =3D "Synchronizing: Part of active mirrorset generation (= NN), but initiated synchronization operation has not completed" da16p3.why_not_next =3D "Synchronizing: progress: N/M bytes; last forward progress at time TTTT" In that scenario, da15p3 never made it in time for the mirror to still exis= t, but if it had: da15p3.why_status =3D "Clean mirror with active mirrorset generation (NN)" da15p3.why_not_next =3D "n/a" Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232671 [Bug 232671] [gmirror] gmirror fails to recover from degraded mirror sets in some circumstances --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-geom@freebsd.org Thu Oct 25 16:23:52 2018 Return-Path: Delivered-To: freebsd-geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6981D107E50A for ; Thu, 25 Oct 2018 16:23:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 070258CF14 for ; Thu, 25 Oct 2018 16:23:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id BD713107E506; Thu, 25 Oct 2018 16:23:51 +0000 (UTC) Delivered-To: geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AC211107E503 for ; Thu, 25 Oct 2018 16:23:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3BE518CF0E for ; Thu, 25 Oct 2018 16:23:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 749F71798C for ; Thu, 25 Oct 2018 16:23:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w9PGNowe082182 for ; Thu, 25 Oct 2018 16:23:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w9PGNo2X082181 for geom@FreeBSD.org; Thu, 25 Oct 2018 16:23:50 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: geom@FreeBSD.org Subject: [Bug 232671] [gmirror] gmirror fails to recover from degraded mirror sets in some circumstances Date: Thu, 25 Oct 2018 16:23:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cem@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: geom@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: blocked Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2018 16:23:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232671 Conrad Meyer changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |232683 Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232683 [Bug 232683] [gmirror] gmirror could provide much better administrative introspection into decision-making processes --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-geom@freebsd.org Thu Oct 25 16:24:09 2018 Return-Path: Delivered-To: freebsd-geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 93B9C107E569 for ; Thu, 25 Oct 2018 16:24:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 515E58CF79 for ; Thu, 25 Oct 2018 16:24:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 16E50107E563; Thu, 25 Oct 2018 16:24:09 +0000 (UTC) Delivered-To: geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 05DC3107E561 for ; Thu, 25 Oct 2018 16:24:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9AB278CF6A for ; Thu, 25 Oct 2018 16:24:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id D3AA917990 for ; Thu, 25 Oct 2018 16:24:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w9PGO7GU082516 for ; Thu, 25 Oct 2018 16:24:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w9PGO7e0082514 for geom@FreeBSD.org; Thu, 25 Oct 2018 16:24:07 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: geom@FreeBSD.org Subject: [Bug 232683] [gmirror] gmirror could provide much better administrative introspection into decision-making processes Date: Thu, 25 Oct 2018 16:24:07 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cem@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: geom@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2018 16:24:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232683 Conrad Meyer changed: What |Removed |Added ---------------------------------------------------------------------------- CC|geom@FreeBSD.org | Assignee|bugs@FreeBSD.org |geom@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.= From owner-freebsd-geom@freebsd.org Thu Oct 25 16:27:42 2018 Return-Path: Delivered-To: freebsd-geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DD8FC107E92B for ; Thu, 25 Oct 2018 16:27:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 990408D331 for ; Thu, 25 Oct 2018 16:27:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5B9A3107E922; Thu, 25 Oct 2018 16:27:42 +0000 (UTC) Delivered-To: geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4A705107E921 for ; Thu, 25 Oct 2018 16:27:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DF6E88D329 for ; Thu, 25 Oct 2018 16:27:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 1C05417999 for ; Thu, 25 Oct 2018 16:27:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w9PGResU086103 for ; Thu, 25 Oct 2018 16:27:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w9PGRe94086101 for geom@FreeBSD.org; Thu, 25 Oct 2018 16:27:40 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: geom@FreeBSD.org Subject: [Bug 232671] [gmirror] gmirror fails to recover from degraded mirror sets in some circumstances Date: Thu, 25 Oct 2018 16:27:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cem@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: geom@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: blocked Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2018 16:27:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232671 Conrad Meyer changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |232684 Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232684 [Bug 232684] [gmirror] gmirror overly aggressive provider destruction --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-geom@freebsd.org Thu Oct 25 16:27:42 2018 Return-Path: Delivered-To: freebsd-geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8B7C6107E924 for ; Thu, 25 Oct 2018 16:27:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 4A2A58D32D for ; Thu, 25 Oct 2018 16:27:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 0F81B107E920; Thu, 25 Oct 2018 16:27:42 +0000 (UTC) Delivered-To: geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E1C50107E91E for ; Thu, 25 Oct 2018 16:27:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 838A88D326 for ; Thu, 25 Oct 2018 16:27:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id A20B517996 for ; Thu, 25 Oct 2018 16:27:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w9PGReMS086086 for ; Thu, 25 Oct 2018 16:27:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w9PGRevB086083 for geom@FreeBSD.org; Thu, 25 Oct 2018 16:27:40 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: geom@FreeBSD.org Subject: [Bug 232684] [gmirror] gmirror overly aggressive provider destruction Date: Thu, 25 Oct 2018 16:27:40 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cem@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc dependson blocked Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2018 16:27:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232684 Bug ID: 232684 Summary: [gmirror] gmirror overly aggressive provider destruction Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: cem@freebsd.org CC: geom@FreeBSD.org, markj@FreeBSD.org Depends on: 232671 Blocks: 232683 +++ This bug was initially created as a clone of Bug #232671 +++ In the bug we cloned from, gmirror destroyed the root0 provider because the= two disks it currently knew about were both invalid (one stale, one partially sychronized). Transitioning to RUNNING with no ACTIVE disks is its own bug (the original we cloned) but in general gmirror is quick to kill itself whe= n it enters a bad state. I don't think this is necessarily a good idea. It might be best to limp al= ong in a degraded mode that ENXIO's all operations but allows (1) an administra= tor to re-plug devices to the system in case they had an ACTIVE mirror disk lyi= ng around disconnected or (2) maybe hardware was just slow to settle. I haven't thought through the ramifications of this proposal thoroughly and it's possible this is nonsensical. It's certainly a lower priority than the other two recent GEOM PRs I've filed. Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232671 [Bug 232671] [gmirror] gmirror fails to recover from degraded mirror sets in some circumstances https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232683 [Bug 232683] [gmirror] gmirror could provide much better administrative introspection into decision-making processes --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-geom@freebsd.org Thu Oct 25 16:27:43 2018 Return-Path: Delivered-To: freebsd-geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6BEC7107E930 for ; Thu, 25 Oct 2018 16:27:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 088EF8D338 for ; Thu, 25 Oct 2018 16:27:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id C22A9107E928; Thu, 25 Oct 2018 16:27:42 +0000 (UTC) Delivered-To: geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B114F107E926 for ; Thu, 25 Oct 2018 16:27:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 524118D32F for ; Thu, 25 Oct 2018 16:27:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 626181799B for ; Thu, 25 Oct 2018 16:27:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w9PGRf0x086126 for ; Thu, 25 Oct 2018 16:27:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w9PGRfQq086125 for geom@FreeBSD.org; Thu, 25 Oct 2018 16:27:41 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: geom@FreeBSD.org Subject: [Bug 232683] [gmirror] gmirror could provide much better administrative introspection into decision-making processes Date: Thu, 25 Oct 2018 16:27:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cem@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: geom@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: dependson Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2018 16:27:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232683 Conrad Meyer changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |232684 Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232684 [Bug 232684] [gmirror] gmirror overly aggressive provider destruction --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-geom@freebsd.org Thu Oct 25 16:28:57 2018 Return-Path: Delivered-To: freebsd-geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7505E107EA84 for ; Thu, 25 Oct 2018 16:28:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 06BA38D40F for ; Thu, 25 Oct 2018 16:28:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id C036B107EA80; Thu, 25 Oct 2018 16:28:56 +0000 (UTC) Delivered-To: geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AF0B2107EA7E for ; Thu, 25 Oct 2018 16:28:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 495438D40B for ; Thu, 25 Oct 2018 16:28:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 8198C1799E for ; Thu, 25 Oct 2018 16:28:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w9PGStfK087381 for ; Thu, 25 Oct 2018 16:28:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w9PGSt9X087380 for geom@FreeBSD.org; Thu, 25 Oct 2018 16:28:55 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: geom@FreeBSD.org Subject: [Bug 232684] [gmirror] gmirror overly aggressive provider destruction Date: Thu, 25 Oct 2018 16:28:55 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cem@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: geom@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2018 16:28:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232684 Conrad Meyer changed: What |Removed |Added ---------------------------------------------------------------------------- CC|geom@FreeBSD.org | Assignee|bugs@FreeBSD.org |geom@FreeBSD.org --- Comment #1 from Conrad Meyer --- Oh, and regardless of destruction *policy*, destruction itself should be a console-logged event like any CAM device's disappearance! During mountroot= the best clue we get is "root_mount_rel[2352] 0xppppppp" and that's *iff* GEOM debug level is set above zero. --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.= From owner-freebsd-geom@freebsd.org Thu Oct 25 16:29:33 2018 Return-Path: Delivered-To: freebsd-geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 57751107EAEB for ; Thu, 25 Oct 2018 16:29:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E4BFC8D43C for ; Thu, 25 Oct 2018 16:29:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id A5F5B107EAE8; Thu, 25 Oct 2018 16:29:32 +0000 (UTC) Delivered-To: geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 94AD0107EAE7 for ; Thu, 25 Oct 2018 16:29:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 333838D436 for ; Thu, 25 Oct 2018 16:29:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 473D01799F for ; Thu, 25 Oct 2018 16:29:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w9PGTVEg087969 for ; Thu, 25 Oct 2018 16:29:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w9PGTV3D087964 for geom@FreeBSD.org; Thu, 25 Oct 2018 16:29:31 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: geom@FreeBSD.org Subject: [Bug 232684] [gmirror] gmirror overly aggressive provider destruction Date: Thu, 25 Oct 2018 16:29:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cem@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: geom@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: blocked Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2018 16:29:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232684 Conrad Meyer changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|232683 | Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232683 [Bug 232683] [gmirror] gmirror could provide much better administrative introspection into decision-making processes --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-geom@freebsd.org Thu Oct 25 16:29:33 2018 Return-Path: Delivered-To: freebsd-geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B5BD2107EAED for ; Thu, 25 Oct 2018 16:29:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 4FDB88D43E for ; Thu, 25 Oct 2018 16:29:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 126A2107EAEA; Thu, 25 Oct 2018 16:29:33 +0000 (UTC) Delivered-To: geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 00432107EAE9 for ; Thu, 25 Oct 2018 16:29:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8D40E8D439 for ; Thu, 25 Oct 2018 16:29:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id BC1E8179A2 for ; Thu, 25 Oct 2018 16:29:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w9PGTVQX087994 for ; Thu, 25 Oct 2018 16:29:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w9PGTVo6087990 for geom@FreeBSD.org; Thu, 25 Oct 2018 16:29:31 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: geom@FreeBSD.org Subject: [Bug 232683] [gmirror] gmirror could provide much better administrative introspection into decision-making processes Date: Thu, 25 Oct 2018 16:29:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cem@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: geom@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: dependson Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2018 16:29:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232683 Conrad Meyer changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on|232684 | Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232684 [Bug 232684] [gmirror] gmirror overly aggressive provider destruction --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-geom@freebsd.org Thu Oct 25 17:36:55 2018 Return-Path: Delivered-To: freebsd-geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C216F108772A for ; Thu, 25 Oct 2018 17:36:55 +0000 (UTC) (envelope-from a@carniajeu.com) Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 38B926A945 for ; Thu, 25 Oct 2018 17:36:54 +0000 (UTC) (envelope-from a@carniajeu.com) Received: by mail-lj1-x22f.google.com with SMTP id z21-v6so9031324ljz.0 for ; Thu, 25 Oct 2018 10:36:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=belngo-info.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:cc; bh=s7OqWuaziniQO5QkTqa27cYRDhJabtWKZdGt7A2N7eY=; b=qIdKckgUCdw1faigkG2kiLC/On2RZltbAM99uuDYwd7iHSrEuCe95s4ABhLJ/awFZX 5mIrHzfI+rjahpU0tJeABX3wtlK0R3qsmDHWG4/eAiz6CgN+BJaUM2u1XgReDS/TEZqZ YPAPGbGhpnp/VY8QgUOf7mg2U8GgLQDvD+djmv3uhNdjJreQ9X3og9IEMVsGnvWc//le 5NHTcrmvpMOMw1Z7nlLzMXk+ctrvT+BAlWa6JUeYvkfh7F7Nt1PVWQKpVk+FjCRGQavJ tuH5vrSS7vaedrjzbtTiCMFZxqqfxOBeqFr9WMIp7JVxeeYFvgaOIXjo0oLVdQRRW5ey 9pYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:cc; bh=s7OqWuaziniQO5QkTqa27cYRDhJabtWKZdGt7A2N7eY=; b=GIxuxYZSJG+6+uwoXSdIqbtJ+39aZCZcvP5McO5OgPHvn+GYSYY9ktzQR328ltjt5v dBQPm29dzVz5bgjpSxYAzdD2sof+Wu6Ep1MRCusj43cCf53Gp5SvYSdbtFc8+3ei+eOn xXxD7OTxTFoE+Ty+IWlD4rCojW/qaPOxDUDdkw+/fSr4aanH+kYbSo471Is6+YYgsyde qKM2chTsxbJ8eyF0skRbVTTBujRRJ39AJUGXnyKVfIHWaUv4b14CrazzQw0k6DC7DSqD HOnyMVqQ/7HtlUfBaaC5cte4dNAhWv4Q8jXnKgyHWHEfDkT4HvCL95ANgKq6/8yLaaNN iwgQ== X-Gm-Message-State: AGRZ1gL2OH+ST81ZMN7roMYYfetn8Ym/6TLogMk5XFPtjCN1CWLsurac JfEQGVvtjlGZ4qTaEaIxR0i3XwUmkSY7piMUafsQ++ShWAY= X-Google-Smtp-Source: AJdET5c4Wy+a5SLT4cmipxUCutOnced9GybrTUrvSEdoLlc59igGZtmAfQFALiKGeirkkd6f9Wfl48zYFO+HjYluoXg= X-Received: by 2002:a2e:93ca:: with SMTP id p10-v6mr118023ljh.158.1540489013169; Thu, 25 Oct 2018 10:36:53 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Alaksiej Date: Thu, 25 Oct 2018 20:38:34 +0300 Message-ID: Subject: Re: GELI without passphrase on ZFS root Cc: freebsd-geom Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2018 17:36:56 -0000 Hi! I believe geom_eli asks for passphrase, when it finds BOOT flag in metadata. It doesn't check whether you really have passphrase set up, or not, just the flag status. Therefore, you have to do geli configure -B to clear the flag. See "configure" subcommand in man geli. Best, Alaksiej Carniajeu On Thu, Oct 25, 2018 at 1:25 PM Michael .. wrote: > Hi, > > Has anyone been able to achieve this? > > I installed FreeBSD 11.2 using AutoZFS option with encryption turned on. > Passphrase is specified as part of install. > > I want to switch to only a keyfile and no passphrase: > > geli setkey -K /boot/encryption.key -P /dev/xyz > > This completes, but I'm still prompted for passphrase on boot. Nothing > appears accepted by the prompt (as the userkey is using only keyfile now?) > > Setting geom_eli_passphrase_prompt="NO" doesn't help. > > Michael. > _______________________________________________ > freebsd-geom@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-geom > To unsubscribe, send any mail to "freebsd-geom-unsubscribe@freebsd.org" > From owner-freebsd-geom@freebsd.org Fri Oct 26 01:06:39 2018 Return-Path: Delivered-To: freebsd-geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8797410D05D1 for ; Fri, 26 Oct 2018 01:06:39 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gate2.funkthat.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EAE697BA96 for ; Fri, 26 Oct 2018 01:06:38 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (localhost [127.0.0.1]) by gold.funkthat.com (8.15.2/8.15.2) with ESMTPS id w9Q16UMT052096 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 25 Oct 2018 18:06:30 -0700 (PDT) (envelope-from jmg@gold.funkthat.com) Received: (from jmg@localhost) by gold.funkthat.com (8.15.2/8.15.2/Submit) id w9Q16UxK052095; Thu, 25 Oct 2018 18:06:30 -0700 (PDT) (envelope-from jmg) Date: Thu, 25 Oct 2018 18:06:30 -0700 From: John-Mark Gurney To: "Michael .." Cc: freebsd-geom@freebsd.org Subject: Re: GELI without passphrase on ZFS root Message-ID: <20181026010630.GD75530@funkthat.com> Mail-Followup-To: "Michael .." , freebsd-geom@freebsd.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 11.0-RELEASE-p7 amd64 X-PGP-Fingerprint: D87A 235F FB71 1F3F 55B7 ED9B D5FF 5A51 C0AC 3D65 X-Files: The truth is out there X-URL: https://www.funkthat.com/ X-Resume: https://www.funkthat.com/~jmg/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.6.1 (2016-04-27) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (gold.funkthat.com [127.0.0.1]); Thu, 25 Oct 2018 18:06:30 -0700 (PDT) X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2018 01:06:39 -0000 Michael .. wrote this message on Thu, Oct 25, 2018 at 12:25 +0200: > Has anyone been able to achieve this? >   > I installed FreeBSD 11.2 using AutoZFS option with encryption turned on.  Passphrase is specified as part of install. >   > I want to switch to only a keyfile and no passphrase: >   > geli setkey -K /boot/encryption.key -P /dev/xyz If this is on your ZFS root that is encrypted w/ the key file, how do you expect to be able to boot the system when the keyfile you need to decrypt is encrypted? > This completes, but I'm still prompted for passphrase on boot.  Nothing appears accepted by the prompt (as the userkey is using only keyfile now?) >   > Setting geom_eli_passphrase_prompt="NO" doesn't help. Well, the default boot I believe can only handle passphrase. You can look at this instructions on booting from a USB drive which can contain the key file: https://forums.freebsd.org/threads/zfs-boot-from-usb.45880/ I don't think zfsboot (which is needed for ZFS root booting) can handle key files, because it needs to get the key file from somewhere, and it is a very small binary, and so does not have the space to load it from other drives... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-geom@freebsd.org Fri Oct 26 09:51:03 2018 Return-Path: Delivered-To: freebsd-geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 798E510DD888 for ; Fri, 26 Oct 2018 09:51:03 +0000 (UTC) (envelope-from mikey@usa.com) Received: from mout.gmx.com (mout.gmx.com [74.208.4.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.com", Issuer "GeoTrust RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0CEB96EF68 for ; Fri, 26 Oct 2018 09:51:03 +0000 (UTC) (envelope-from mikey@usa.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mail.com; s=dbd5af2cbaf7; t=1540547453; bh=UrVbDrQB4bytLec85EZbml5LJ7bjoD4wWwUEEuLL/xo=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=O8mEBZ4ejoGRryIRhSpBMFnWycRH8VJkPwiN07fBJUclh0zq/u69YT6e5hFhgUGFh Zac4pWq4A5LLw1EBAE00w9+7YOYnaMsOWeL5LWi9BMMKCbIGRF1Bho1sNwHl7W7lxM bqjDhNEWGWZxjfbDa+NczAwPzOlWp/TOnvXDE2W8= X-UI-Sender-Class: 214d933f-fd2f-45c7-a636-f5d79ae31a79 Received: from [81.108.220.86] ([81.108.220.86]) by web-mail.mail.com (3c-app-mailcom-lxa10.server.lan [10.76.45.11]) (via HTTP); Fri, 26 Oct 2018 11:45:25 +0200 Message-ID: From: "Michael .." To: "John-Mark Gurney" Cc: freebsd-geom@freebsd.org Subject: Re: GELI without passphrase on ZFS root Date: Fri, 26 Oct 2018 11:45:25 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <20181026010630.GD75530@funkthat.com> References: <20181026010630.GD75530@funkthat.com> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:m3Rw/8/5q8hAa3AKJuAvTJFnwkUzhWyQWpVevqQMM0sjKOMtK8bW7r29N/1NhS7oIOa9S +sDYHfQCC6VRKojBXB/TVBuAtW7S9wF3uJpo6PGIuPYsjFlbXET5EnyoSyxQma9PhqSd3ysa3cMH yoWYp+Db7+lirp8p0tgCq9vd6sXOX902ZYmKXh9m358N/iPq8KKO3SAQgQSWpfhv8/wZY2YQsTzI BbdKuQq2wO5nhIn5paW5n53dInVn6rQvqblkSyTLtd0yCZklFUrFc02nTr+PNu8dkYxpKTsmRGU/ g0= X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V01:K0:NmhvmEWfc+Y=:cxX9C1oFw4qqF5KxV7cVEB BEC6RB8jpCWpeWW4727oPI3sRT4EZ+ItBHtZBG4FJ9U0f6iaSGKyXqovEAeSNy98WewxQYFcw HYplxvBG2dB/CRVtOrGIpUuSJj1+DI0lQBIs0up0Sq3Fz4/hLr7Tsbaic5aBj51tnt1bJFoXH 6V1I9aycczKgV5f7y2PgY8wHzuOMTwPZWmKKrXgGE4T2cMPvHt4EJ0wEtqsKqKtsFOg9VpVIC KuMpEOr7mZb7tjjMlJ6Ytier9VA93o2Q+wEupysw72Sgyt2IOZq8kaIWJAN8tRkepo5cyNjbN tE90RFH7XUirfhY55LxsZQBzB02Vgf3Y3yp4wDQLnlGxGiqSYJHp4wWghthKEwWLEhQO1CHzj AU7jCnnzkwbqVTpunKb0rX4USh5i4lQN0KvHx13gxShkUZ9ZsA+iVw0cQaZJmpPQAa/L9sv9Y VeCabfrXAcxFIsEIdDFQWsozpNp7PXemrheJOKHSTNe8lxSSsXb5 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2018 09:51:03 -0000 From owner-freebsd-geom@freebsd.org Fri Oct 26 09:54:53 2018 Return-Path: Delivered-To: freebsd-geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6B22D10DD95D for ; Fri, 26 Oct 2018 09:54:53 +0000 (UTC) (envelope-from mikey@usa.com) Received: from mout.gmx.com (mout.gmx.com [74.208.4.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.com", Issuer "GeoTrust RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0005A6F29C for ; Fri, 26 Oct 2018 09:54:52 +0000 (UTC) (envelope-from mikey@usa.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mail.com; s=dbd5af2cbaf7; t=1540547684; bh=8w4OFYHtkQzQKElsLpDAUnCZO4MWoM6wXvfWbrDr5t8=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=EkM5W/JvpPOVGofbqpHPWnzDsxBfupT+0dT7lpYIR3BHm0yLEMKLBxpoCHGMjR69b RZvn2jxRxkTX+wahcAkTBvYeY60lHnHyBy8QrWYYFnO5LcTY98/x9O5VpKB9YwsIkI 5I76S2el0hmaQyZ+I14XPhNPl7tT5CunHYa6oLKA= X-UI-Sender-Class: 214d933f-fd2f-45c7-a636-f5d79ae31a79 Received: from [81.108.220.86] ([81.108.220.86]) by web-mail.mail.com (3c-app-mailcom-lxa10.server.lan [10.76.45.11]) (via HTTP); Fri, 26 Oct 2018 11:54:44 +0200 MIME-Version: 1.0 Message-ID: From: "Michael .." To: "John-Mark Gurney" Cc: freebsd-geom@freebsd.org Subject: Re: GELI without passphrase on ZFS root Content-Type: text/plain; charset=UTF-8 Date: Fri, 26 Oct 2018 11:54:44 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <20181026010630.GD75530@funkthat.com> References: <20181026010630.GD75530@funkthat.com> Content-Transfer-Encoding: quoted-printable X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:WA63mUu2EcLQfIsNntDslbv5t7EWMq2gxMiXIKmrlDbKYxud+eSOPGPDcS3SickzepWqD y7o0+MysxKGaHZcZ0gyrCrXdsspB2LvnPRVAVxKAHNli4HJJDvHxfvXYGlrST4H7uAVL70NGB80D a7FQExBl06jlxjtfNZ+5F3At5EMuTWfqKxwV4m1Bj04Af1F2//ach95BVFdvzDWTrdBoueZ9Gg28 dAvTDIWTWOwk0jSL4fquw3kUHG91TWQiDuFEMTyZakH1A6Ktq9a/qFuhSlDIUJUnWHHGI+Nz0DVr 2s= X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V01:K0:013dej1GnRs=:9HLZOp42SGyxWHctdXwwI+ VDoN/B452oBu1HFwL8d9L2rLF/DbT+kRsNSzPVExiOPWkdZPQ0oIGTR62EoF6Crs8Ii5x50+W Z4Aq36YXIgF0Y4VCQpJuz9qHqOE80NRD2jQVT0DzeXSwB0BiVO9N3ejZNuvYSmz9aZVezxXZx ub8Mkr+waKxhca3Df6FSuIdh6E9gfgv0QpcW7mSpjOuuw3FHU8ekQy2Mpb+W5lDOyc3Qor/9l InM8p7TelF/mb+JL1arYr+pHC45/wfZlPXuAAZfwDh57NBWkDYRfhrOa7EHsNcudB2C+1DLxT nB4kJvDf3MM80PFH7nw8I94nXd09241yh8ULzRNOgXh+5Me4gM/LdmckHKa2g2uUQCHt0/4xz FJqdCocINt08e1OfVncO7vE4RlXGFBD5W55g08/YkTonGNnVc5gu3xNJOrl+T0CjwvjDBOQVn zAbMKN6hCdwObiw0WGR8iSB6TLHL8KyEzYQBzNC1HhlCl7NOzrry X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2018 09:54:53 -0000 I can boot using passphrase *and* keyfile encrypted userkey=2E The keyfile= is accessible on /boot/ unencrypted=2E (realise this is in no way "secure"= but proves keyfile is accessible) i=2Ee: geli setkey -K /boot/encryption=2Ekey /dev/xyz (prompted for new passphrase) Able to reboot correctly by entering new passphrase=2E The problem is as soon as I update the userkey to be without the passphras= e component, it is still requested during boot and then obviously there is = no correct entry=2E i=2Ee=2E geli setkey -K /boot/encryption=2Ekey -P /dev/xyz (no passphrase prompt due to -P) Passphrase is still requested during boot and cannot proceed=2E I tried "geli configure -B /dev/xyz" as suggested by Alaksiej, there is no= prompt for passphrase but booting breaks at mountroot (I guess because the= "boot" flag has been removed?)=2E Is this a bug in that geom_eli does not try to decrypt using just keyfile = before prompting user for passphrase? Regards, Michael=2E Sent:=C2=A0Friday, October 26, 2018 at 2:06 AM From:=C2=A0"John-Mark Gurney" To:=C2=A0"Michael =2E=2E" Cc:=C2=A0freebsd-geom@freebsd=2Eorg Subject:=C2=A0Re: GELI without passphrase on ZFS root Michael =2E=2E wrote this message on Thu, Oct 25, 2018 at 12:25 +0200: > Has anyone been able to achieve this? > =C2=A0 > I installed FreeBSD 11=2E2 using AutoZFS option with encryption turned o= n=2E=C2=A0 Passphrase is specified as part of install=2E > =C2=A0 > I want to switch to only a keyfile and no passphrase: > =C2=A0 > geli setkey -K /boot/encryption=2Ekey -P /dev/xyz If this is on your ZFS root that is encrypted w/ the key file, how do you expect to be able to boot the system when the keyfile you need to decrypt is encrypted? > This completes, but I'm still prompted for passphrase on boot=2E=C2=A0 N= othing appears accepted by the prompt (as the userkey is using only keyfile= now?) > =C2=A0 > Setting geom_eli_passphrase_prompt=3D"NO" doesn't help=2E Well, the default boot I believe can only handle passphrase=2E You can look at this instructions on booting from a USB drive which can contain the key file: https://forums=2Efreebsd=2Eorg/threads/zfs-boot-from-usb=2E45880/ I don't think zfsboot (which is needed for ZFS root booting) can handle key files, because it needs to get the key file from somewhere, and it is a very small binary, and so does not have the space to load it from other drives=2E=2E=2E -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not=2E" From owner-freebsd-geom@freebsd.org Fri Oct 26 10:14:36 2018 Return-Path: Delivered-To: freebsd-geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9DB2110DDF10 for ; Fri, 26 Oct 2018 10:14:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3B7AE6FAC6 for ; Fri, 26 Oct 2018 10:14:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id F1D4710DDF0D; Fri, 26 Oct 2018 10:14:35 +0000 (UTC) Delivered-To: geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E091910DDF0C for ; Fri, 26 Oct 2018 10:14:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7F8AE6FAC4 for ; Fri, 26 Oct 2018 10:14:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id AFE11C42 for ; Fri, 26 Oct 2018 10:14:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w9QAEYaD010756 for ; Fri, 26 Oct 2018 10:14:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w9QAEYOm010755 for geom@FreeBSD.org; Fri, 26 Oct 2018 10:14:34 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: geom@FreeBSD.org Subject: [Bug 232676] gconcat fails to advertise delete capability Date: Fri, 26 Oct 2018 10:14:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: geom@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2018 10:14:36 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232676 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |geom@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-geom@freebsd.org Fri Oct 26 10:18:27 2018 Return-Path: Delivered-To: freebsd-geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2503110DE210 for ; Fri, 26 Oct 2018 10:18:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D8C566FE75 for ; Fri, 26 Oct 2018 10:18:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 9E27710DE20A; Fri, 26 Oct 2018 10:18:26 +0000 (UTC) Delivered-To: geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8D01C10DE209 for ; Fri, 26 Oct 2018 10:18:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 20D3C6FE71 for ; Fri, 26 Oct 2018 10:18:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 59378C54 for ; Fri, 26 Oct 2018 10:18:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w9QAIPxi014810 for ; Fri, 26 Oct 2018 10:18:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w9QAIPxN014809 for geom@FreeBSD.org; Fri, 26 Oct 2018 10:18:25 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: geom@FreeBSD.org Subject: [Bug 232489] [gvinum] Fails to properly unregister geom consumer Date: Fri, 26 Oct 2018 10:18:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: geom@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2018 10:18:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232489 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |geom@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-geom@freebsd.org Fri Oct 26 19:31:19 2018 Return-Path: Delivered-To: freebsd-geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CD1A1108693F for ; Fri, 26 Oct 2018 19:31:18 +0000 (UTC) (envelope-from a@carniajeu.com) Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2F47F84919 for ; Fri, 26 Oct 2018 19:31:17 +0000 (UTC) (envelope-from a@carniajeu.com) Received: by mail-lf1-x131.google.com with SMTP id o2-v6so1729616lfl.13 for ; Fri, 26 Oct 2018 12:31:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=belngo-info.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:cc; bh=qjqefK6vzc6tHsTQisiPtAtHEDpQ/OPvthRCPcz7P+o=; b=TGX5MKcIUYGQTapvKOxVnu0ud0mDtG+H7/CM/Fk0rZNpsEsSLCQ70aRxxrnLUq2iCK wMUVfnJUd3G1RX61kjIvyjCCoxlWqyWU4g794KwRCwjoS3brMdt7XGiGXTjkDwI6pA2l JfINVTxwTbD7qzp5kYGdVTWHR+dtI+Mb8+eC3gQGACADddIXX/L1hgBJ3Rp96KjPV79z Wb3E3pyH5xX5ZlzA2g4G0EMG+8pxacxeepPjOc2DAHF+ig+0fCUutNCihtfDldAJ2u0l i2iKSjL+LRTYJ9jy6Fi5iSY8hLt7kK11JkYDBMKacucxkc5WVmhOwJKY+0s9NEq+hTrL wUWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:cc; bh=qjqefK6vzc6tHsTQisiPtAtHEDpQ/OPvthRCPcz7P+o=; b=L0qf36cVj5fFNpHfwqgerG4cOjZTkl2E1D/ONKcSExMdgkBJdN/rBtxlw1fW5E3aY7 hE0SSiCEatRVEELIbw+9zTU00w2+e0m4beuLk83kOTjqFUQ8kThAx3cVF0j9pknS+14F cL00MIR4YTDMDwu1XY9ZbPTti/KNuwQ/ciVb/4BZNBnyx9mmDSGgU5NnVvhq2HUpKg+/ 1BD2jKareJ17J7pTKNoOqEOLOWPJMFdBk6oUnjx/opfNS1BUZy+I0qKtOOK54kvbNCnH GLyd1IaSSM2qmbXYp+vaahpnFe3q48GROX0RSAf2F7o7qr8l9KMBlRc7/Q2jsvHK48lu VPSw== X-Gm-Message-State: AGRZ1gIcBdCq8IFx1xl3R+63A1RHWqKd1Fe1Gupb+WbtDRvWUqt5FFgF 6MpO8JXLSO95uxtq9SzLCOVFM9xEIeyrZ5wR5C7S1sGF X-Google-Smtp-Source: AJdET5cAxtoyB6yfcZSDkUCHCGXD1Zp8Trw5WWYO7J9Ad8YojZQudl0BFH+hXca6mFfdPA+4TpSLfVNkgxeZ2OhEBRA= X-Received: by 2002:a19:f813:: with SMTP id a19mr2949477lff.67.1540582276239; Fri, 26 Oct 2018 12:31:16 -0700 (PDT) MIME-Version: 1.0 References: <20181026010630.GD75530@funkthat.com> In-Reply-To: From: Alaksiej Date: Fri, 26 Oct 2018 22:33:02 +0300 Message-ID: Subject: Re: GELI without passphrase on ZFS root Cc: freebsd-geom Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2018 19:31:19 -0000 Michael, I very rarely use installer, so can be wrong, but I have glanced at how it works with 11.2, and it seems to me it doesn't make unencrypted /boot with Auto ZFS option. So it means you did something manually, right? What exactly? What is inside your loader.conf? What do you see exactly on your screen when OS refuses to proceed with loading? Leave no place for guessing, please. On Fri, Oct 26, 2018 at 12:55 PM Michael .. wrote: > I can boot using passphrase *and* keyfile encrypted userkey. The keyfile > is accessible on /boot/ unencrypted. (realise this is in no way "secure" > but proves keyfile is accessible) i.e: > > geli setkey -K /boot/encryption.key /dev/xyz > (prompted for new passphrase) > > Able to reboot correctly by entering new passphrase. > > The problem is as soon as I update the userkey to be without the > passphrase component, it is still requested during boot and then obviously > there is no correct entry. i.e. > > geli setkey -K /boot/encryption.key -P /dev/xyz > (no passphrase prompt due to -P) > > Passphrase is still requested during boot and cannot proceed. > > I tried "geli configure -B /dev/xyz" as suggested by Alaksiej, there is no > prompt for passphrase but booting breaks at mountroot (I guess because the > "boot" flag has been removed?). > > Is this a bug in that geom_eli does not try to decrypt using just keyfile > before prompting user for passphrase? > > Regards, > > Michael. > > Sent: Friday, October 26, 2018 at 2:06 AM > From: "John-Mark Gurney" > To: "Michael .." > Cc: freebsd-geom@freebsd.org > Subject: Re: GELI without passphrase on ZFS root > Michael .. wrote this message on Thu, Oct 25, 2018 at 12:25 +0200: > > Has anyone been able to achieve this? > > > > I installed FreeBSD 11.2 using AutoZFS option with encryption turned > on. Passphrase is specified as part of install. > > > > I want to switch to only a keyfile and no passphrase: > > > > geli setkey -K /boot/encryption.key -P /dev/xyz > > If this is on your ZFS root that is encrypted w/ the key file, how do > you expect to be able to boot the system when the keyfile you need to > decrypt is encrypted? > > > This completes, but I'm still prompted for passphrase on boot. Nothing > appears accepted by the prompt (as the userkey is using only keyfile now?) > > > > Setting geom_eli_passphrase_prompt="NO" doesn't help. > > Well, the default boot I believe can only handle passphrase. > > You can look at this instructions on booting from a USB drive which can > contain the key file: > https://forums.freebsd.org/threads/zfs-boot-from-usb.45880/ > > I don't think zfsboot (which is needed for ZFS root booting) can handle > key files, because it needs to get the key file from somewhere, and it > is a very small binary, and so does not have the space to load it from > other drives... > > -- > John-Mark Gurney Voice: +1 415 225 5579 > > "All that I will do, has been done, All that I have, has not." > _______________________________________________ > freebsd-geom@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-geom > To unsubscribe, send any mail to "freebsd-geom-unsubscribe@freebsd.org" > From owner-freebsd-geom@freebsd.org Fri Oct 26 21:06:48 2018 Return-Path: Delivered-To: freebsd-geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 80475108891F for ; Fri, 26 Oct 2018 21:06:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 1BF7F6A11E for ; Fri, 26 Oct 2018 21:06:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id D0812108891D; Fri, 26 Oct 2018 21:06:47 +0000 (UTC) Delivered-To: geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BF257108891B for ; Fri, 26 Oct 2018 21:06:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 616EF6A11C for ; Fri, 26 Oct 2018 21:06:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id A842B691F for ; Fri, 26 Oct 2018 21:06:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w9QL6kvF068657 for ; Fri, 26 Oct 2018 21:06:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w9QL6kBm068655 for geom@FreeBSD.org; Fri, 26 Oct 2018 21:06:46 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: geom@FreeBSD.org Subject: [Bug 232676] gconcat fails to advertise delete capability Date: Fri, 26 Oct 2018 21:06:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: geom@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2018 21:06:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232676 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |markj@FreeBSD.org --- Comment #1 from Mark Johnston --- Created attachment 198680 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D198680&action= =3Dedit candidate patch I believe the attached patch will fix the problem. Would you be willing to test it? So far I've only verified that it compiles. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-geom@freebsd.org Fri Oct 26 23:59:17 2018 Return-Path: Delivered-To: freebsd-geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3011810CD1EF for ; Fri, 26 Oct 2018 23:59:17 +0000 (UTC) (envelope-from mikey@usa.com) Received: from mout.gmx.com (mout.gmx.com [74.208.4.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.com", Issuer "GeoTrust RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9DC64705DC for ; Fri, 26 Oct 2018 23:59:16 +0000 (UTC) (envelope-from mikey@usa.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mail.com; s=dbd5af2cbaf7; t=1540598346; bh=3VQiWoMC73EXJe8Vu/WxJWtB3/wbLUaPxe+0I5v0tGg=; h=X-UI-Sender-Class:From:To:Subject:Date; b=h1rgHPvQthCZbUBR4/wrgZAeiu0Lfouflsd8K33el6V8zy1oe9QSO+2l0epqGqaAl j9UpMzYKrYYJrh2A5b6zJTBuZn0NYadhiKT/wNh8ONRsiD7wfB3E6rY4Kf8s04xuZT Gj9loQZl68sWaeSJnQD+qVcl8x26wXERrHAYdDsQ= X-UI-Sender-Class: 214d933f-fd2f-45c7-a636-f5d79ae31a79 Received: from [81.108.220.86] ([81.108.220.86]) by web-mail.mail.com (3c-app-mailcom-lxa01.server.lan [10.76.45.2]) (via HTTP); Sat, 27 Oct 2018 01:59:06 +0200 MIME-Version: 1.0 Message-ID: From: "Michael .." To: freebsd-geom@freebsd.org Subject: Re: GELI without passphrase on ZFS root Content-Type: text/plain; charset=UTF-8 Date: Sat, 27 Oct 2018 01:59:06 +0200 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:rkuwQ+JNSBvGg7dPIQ1BY/mGp+zJaQcePMkhaQJU0/z5AnSgEr80UScBWXczPhvJhBqEb jXmjPAmI5U4nEDVraD2k1iIA+J7EwjGSis4rYZzPfosqB/UZlP77VT38vG+8he0B9rwYkHVfwMmw /NHyV8omGbaYg0kbQxojKLGGTQpj9/Fykpupoc906sr0dHe/1c17RbPydVtovSI5xVaTKf/87tfS Bg7NAX/CqDUXV4SqFdSIVUfZrwKAIgIibKVBzBxSy2xLR1/Y2vfS53qfhIciDp+INPgTa0DBdzgf 3A= X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V01:K0:n/24effsyJI=:JipLvxbHAI/ffzflI2mNZu C9zcEysElR9Kj8qUs7yzYB5dLEDftKxY3W5ifKvcs6+GuM48Lay68clQ7azidyJCfnbwoc0Z3 jYVeKPZZ1ryRzb+WBuIFnyGqOeOUNHg+4g/wsQeR662SnUS2FIpyanh1xQNnXqb62mAoAZh7p D2Ql8/k3UHPEDx10W3pMUlj0+zdTCpXOptiqkePh9xTF9qETFV7FNtKwdcjMYsjBK4m6/aqTA hfbF4mak1F+3BNGtl3DiaGDWcjmlUPAmw2xhQ+JIa8ZU5YENQLk8R2elo/rRynZBcQ4Ybf5bI Rci6JmnXWAl+x3nQPXISay+J8x1EVCV6sQgjW3zckRGb9ynkEPCeplH9l7ZJYOnhRghDQbD7h T695HrlfSCLXZ87+CAfsJpjg2OqqEsD4gom+Qy/IZmnnzKDBu/0gGzPv1/8FheZDFC7fgjbqQ +LuR0evNsoPY/xh5GpcdANLdvN1Mb/M6DLZrmWy0yEBJSjdDMHfM X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2018 23:59:17 -0000 Alaksiej, You are correct. I originally tried to configure this on an installation of pfSense (using UEFI+GPT). The default AutoZFS installer with encryption for this does appear to create an unencrypted /boot/ with an encryption.key keyfile used along with passphrase. I tried to set the userkey using just the keyfile to remove the use of passphrase. I can reset a userkey using both passphrase and keyfile (located in /boot) and the system will boot successfully. I think this proves /boot is accessible unencrypted for reading the keyfile. loader.conf is (by default): geli_ada0p4_keyfile0_load="YES" geli_ada0p4_keyfile0_type="ada0p4:geli_keyfile0" geli_ada0p4_keyfile0_name="/boot/encryption.key" aesni_load="YES" geom_eli_load="YES" kern.cam.boot_delay=10000 kern.ipc.nmbclusters="1000000" kern.ipc.nmbjumbop="524288" kern.ipc.nmbjumbo9="524288" vfs.root.mountfrom="zfs:zroot/ROOT/default" kern.geom.label.disk_ident.enable="0" kern.geom.label.gptid.enable="0" zpool_cache_load="YES" zpool_cache_type="/boot/zfs/zpool.cache" zpool_cache_name="/boot/zfs/zpool.cache" geom_eli_passphrase_prompt="YES" zfs_load="YES" autoboot_delay="3" hw.usb.no_pf="1" Using geli configure -B /dev/ada0p4 as you suggested results in: Mounting from zfs:zroot/ROOT/default failed with error 2 Loader variables: vfs.root.mountfrom=zfs:zroot/ROOT/default When I couldn't get it working, I switched to a virtual machine running straight FreeBSD 11.2 (albeit BIOS+GPT). I realised this evening that the default disk partitioning is not the same - and a keyfile is not used by default when selecting encryption under AutoZFS installer option - just a passphrase. I guess the installer is customised for pfsense. Regards, Michael.