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

From: Allan Jude <>
Date: Fri, 16 Sep 2016 01:06:51 -0400
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

Allan Jude

Received on Fri Sep 16 2016 - 03:07:00 UTC

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