On Fri, Sep 16, 2016 at 1:06 AM, Allan Jude <allanj...@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.
>
_______________________________________________
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to