Re: Trying to read linux-lvm on 11.0-RC2 using geom, bhyve, fail.

From: Zaphod Beeblebrox <zbeeble_at_gmail.com>
Date: Mon, 19 Sep 2016 01:14:23 -0400
On Fri, Sep 16, 2016 at 1:06 AM, Allan Jude <allanjude_at_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.
>
Received on Mon Sep 19 2016 - 03:14:25 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:08 UTC