Trying to read linux-lvm on 11.0-RC2 using geom, bhyve, fail.
Allan Jude
allanjude at freebsd.org
Fri Sep 16 05:07:00 UTC 2016
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20160916/11a60d76/attachment.sig>
More information about the freebsd-current
mailing list