From owner-freebsd-current@freebsd.org Mon Sep 19 05:14:25 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AD01FBDF585 for ; Mon, 19 Sep 2016 05:14:25 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: from mail-yw0-x22f.google.com (mail-yw0-x22f.google.com [IPv6:2607:f8b0:4002:c05::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6AD0FA4C; Mon, 19 Sep 2016 05:14:25 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: by mail-yw0-x22f.google.com with SMTP id g192so131997552ywh.1; Sun, 18 Sep 2016 22:14:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Dx9/IlQnrOcI8oQg+ne2S6LCXzB7SgFRXheg2ILGC2Y=; b=OsSu5/64TQOPAtCNeVQIIkpQaqP8yqyM0gA+VxH5Twrsu/kLllwMG0gulxyZ1LKc8t h2MRP8oRMLSCQzKCVDGw7JgceFxyi3Zy60ajsxJYzixvZnKbtHtY9MO1PpCJCLqXeGhz TjnOF5iX+wGGyGk7PCSt2kT9X7CqpH1xLYReSDoTJGGLu5CdVMmtB51AmO3vcv6Qcs7W tfbupUKJmULAaARwQW2qzcV6Gx+fRAIsAgMaNmp928UeVymc7GOHWF/eGArR0cSwB9g6 9s4N3Mzp8iIplf0peJIxqWGAJoOx5Qmf+dlntt3Ew4iwt+J5KdHX6TtqkOzVhsnsf5AX Zc2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Dx9/IlQnrOcI8oQg+ne2S6LCXzB7SgFRXheg2ILGC2Y=; b=RdoGR6FicJ9fSijzzK0cXS5J9fK9N8yy2BFMePKaSjNS4WlmWRm3zMnyWpoS4WRWBI UXmzJEODjq7cLpkrekx2U7pYKebNIa35/uvsXGHlj8h3Cfxq9rSJuQTe9LrE6JCK9DyS NDxVkPqVXzo9u77RwBPfMoEKb5jF2laxC+fd6waJ370YFkSx7lIJtpSTvHN9w+RGjAFB Bx7O3NxF/7ZzebN6DhLFc48Jab7FEiiBvZGkQp8TF/GYpAggr7Slsy+kFIn/6BAAhQM/ ITpNOboZdDl4PPLkPYyV7J6Ae+1xILNLTazchlBjavLOlnOlp9fsyCcreJQN31vXPisX w+eQ== X-Gm-Message-State: AE9vXwPVPo6QF3rfLnwSxtBfZgODzLM08jNeh/ZQXhJryCESfiZ+uCc8O48OXFcZLyonb3jxzxGgvO8GottOvg== X-Received: by 10.129.108.81 with SMTP id h78mr22146911ywc.292.1474262064321; Sun, 18 Sep 2016 22:14:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.161.37 with HTTP; Sun, 18 Sep 2016 22:14:23 -0700 (PDT) In-Reply-To: <538aa933-79e3-904e-0847-9a38485d41dd@freebsd.org> References: <538aa933-79e3-904e-0847-9a38485d41dd@freebsd.org> From: Zaphod Beeblebrox Date: Mon, 19 Sep 2016 01:14:23 -0400 Message-ID: Subject: Re: Trying to read linux-lvm on 11.0-RC2 using geom, bhyve, fail. To: Allan Jude Cc: freebsd-current Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Sep 2016 05:14:25 -0000 On Fri, Sep 16, 2016 at 1:06 AM, Allan Jude wrote: > On 2016-09-16 01:04, Zaphod Beeblebrox wrote: > > > > > > > > Are you using zvols to back the VMs? Make sure they are in > 'volmode=dev' > > not 'geom' (the default), or GEOM will lock the device when it > detects a > > partition table being written to the zvol (from the installer inside > > the VM) > > > > Note that this setting requires you to export/import the pool or > reboot > > to apply. > > > > > > No, no. The whole point here is that I was booting the raw disk. > > "ada1" as it were. > > > > You might try the dangerous 'shoot yourself in the foot mode' for geom: > > man 4 geom: > 0x10 (allow foot shooting) > Allow writing to Rank 1 providers. This would, for example, > allow the super-user to overwrite the MBR on the root disk or > write random sectors elsewhere to a mounted disk. The > implications are obvious. > > > sysctl kern.geom.debugflags=16 > > I get where you're going here, but it doesn't apply because at this point > I'm not even booting from ada1. >