Date: Mon, 19 Sep 2016 01:14:23 -0400 From: Zaphod Beeblebrox <zbeeble@gmail.com> To: Allan Jude <allanjude@freebsd.org> Cc: freebsd-current <freebsd-current@freebsd.org> Subject: Re: Trying to read linux-lvm on 11.0-RC2 using geom, bhyve, fail. Message-ID: <CACpH0McigcnSb07fHQtErCxJPf4xj5Z8fGzkNo6ZfSDG8ciE8Q@mail.gmail.com> In-Reply-To: <538aa933-79e3-904e-0847-9a38485d41dd@freebsd.org> References: <CACpH0MdSk0KVBNw7a1DPswsUr0JRyFA4i2R7NM6apoZPdG3-Pw@mail.gmail.com> <ec30810e-6020-ae35-31f8-39772cb03588@freebsd.org> <CACpH0MdvTKPMWBBqs%2BSY1YBD0SRe_fTwwf0APwEL4LhqaeM9eQ@mail.gmail.com> <538aa933-79e3-904e-0847-9a38485d41dd@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 16, 2016 at 1:06 AM, Allan Jude <allanjude@freebsd.org> 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. >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACpH0McigcnSb07fHQtErCxJPf4xj5Z8fGzkNo6ZfSDG8ciE8Q>