Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Sep 2016 01:06:51 -0400
From:      Allan Jude <allanjude@freebsd.org>
To:        Zaphod Beeblebrox <zbeeble@gmail.com>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: Trying to read linux-lvm on 11.0-RC2 using geom, bhyve, fail.
Message-ID:  <538aa933-79e3-904e-0847-9a38485d41dd@freebsd.org>
In-Reply-To: <CACpH0MdvTKPMWBBqs%2BSY1YBD0SRe_fTwwf0APwEL4LhqaeM9eQ@mail.gmail.com>
References:  <CACpH0MdSk0KVBNw7a1DPswsUr0JRyFA4i2R7NM6apoZPdG3-Pw@mail.gmail.com> <ec30810e-6020-ae35-31f8-39772cb03588@freebsd.org> <CACpH0MdvTKPMWBBqs%2BSY1YBD0SRe_fTwwf0APwEL4LhqaeM9eQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--onCjmsPLD3rXht5r95Fh1tfpDSlvBplAr
Content-Type: multipart/mixed; boundary="tKDNqrP5PCHptGRdjG43aSDT5uLGrKFlu";
 protected-headers="v1"
From: Allan Jude <allanjude@freebsd.org>
To: Zaphod Beeblebrox <zbeeble@gmail.com>
Cc: freebsd-current <freebsd-current@freebsd.org>
Message-ID: <538aa933-79e3-904e-0847-9a38485d41dd@freebsd.org>
Subject: Re: Trying to read linux-lvm on 11.0-RC2 using geom, bhyve, fail.
References: <CACpH0MdSk0KVBNw7a1DPswsUr0JRyFA4i2R7NM6apoZPdG3-Pw@mail.gmail.com>
 <ec30810e-6020-ae35-31f8-39772cb03588@freebsd.org>
 <CACpH0MdvTKPMWBBqs+SY1YBD0SRe_fTwwf0APwEL4LhqaeM9eQ@mail.gmail.com>
In-Reply-To: <CACpH0MdvTKPMWBBqs+SY1YBD0SRe_fTwwf0APwEL4LhqaeM9eQ@mail.gmail.com>

--tKDNqrP5PCHptGRdjG43aSDT5uLGrKFlu
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 2016-09-16 01:04, Zaphod Beeblebrox wrote:
>=20
>=20
>=20
>     Are you using zvols to back the VMs? Make sure they are in 'volmode=
=3Ddev'
>     not 'geom' (the default), or GEOM will lock the device when it dete=
cts a
>     partition table being written to the zvol (from the installer insid=
e
>     the VM)
>=20
>     Note that this setting requires you to export/import the pool or re=
boot
>     to apply.
>=20
>=20
> No, no.  The whole point here is that I was booting the raw disk.=20
> "ada1" as it were.
> =20

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=3D16

--=20
Allan Jude


--tKDNqrP5PCHptGRdjG43aSDT5uLGrKFlu--

--onCjmsPLD3rXht5r95Fh1tfpDSlvBplAr
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQIcBAEBAgAGBQJX233xAAoJEBmVNT4SmAt+U0IP/jLtrf56nlbRhnyH19u/vKRm
C/5NTOBLjwHI6ERXlPVnXkdqpLaJMJHFmykdEHGGpEHT64ZfaIBQxfvDHi/kjz7e
03+9yDBQdZv5O3+TE72CUTiZbtnYzJmu5T9WY/9gmS4lQaF+eSl0mSXWNVpLg4oV
lJ+0R1lvd6VgTlqMUbn18X3MY+Or+qkH9ULxQk5tWKIFkZ3URsp7aiuOC52kiLHJ
EjdrzK8+hj94+AETgIn03JhL4SGqt6N4CHCqgJqsJD8ig8r9uMjyDT46cLnhr2Gg
yuc+m1e0bwExFicNqLcUA+URdA//yexYHoctjAoCpw8NwWRu2+3U+CkCblM/gf/U
P4QXw07M5hneL5EXx8pxBILHHaAd2uMG9PckJJrSb/dCnzQ4VISl3RrF27gD4XXj
6tt0Y9rPnbD7GAiXmZMaklIwcO4tdLMgmifOjW0LOsal5FCqmMmtLvPZfaZO0PBI
mZrB3Oh++o1O1iFU++QhBxcMzhrBUSyMFAF/W17CbSNGcJwGQHPZapeJFUKNMowP
UAIg2AvSqIlt3BQtkja9gxPhfK7xhby0mLjprrtFz7jOOCH2xG0ckl+japCyQjAB
4OK6POmG77sd2m+W7EMXHH653Uo4gTftM32T6VHgiIg6lk6SHA2dqVyLzUeQMpNp
yF8T1SVGYkKM3fpTKtGF
=p+Ua
-----END PGP SIGNATURE-----

--onCjmsPLD3rXht5r95Fh1tfpDSlvBplAr--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?538aa933-79e3-904e-0847-9a38485d41dd>