From owner-freebsd-current@freebsd.org Thu Sep 15 06:15:16 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CC62CBDBA8B for ; Thu, 15 Sep 2016 06:15:16 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from mx1.scaleengine.net (mx1.scaleengine.net [209.51.186.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9210F1D73 for ; Thu, 15 Sep 2016 06:15:16 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from [10.1.1.2] (unknown [10.1.1.2]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id A8D6012EE for ; Thu, 15 Sep 2016 06:15:09 +0000 (UTC) Subject: Re: Trying to read linux-lvm on 11.0-RC2 using geom, bhyve, fail. To: freebsd-current@freebsd.org References: From: Allan Jude Message-ID: Date: Thu, 15 Sep 2016 02:15:05 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="brkCqAR4SbAfrV35mp0d5j1SSlR2VPHWH" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2016 06:15:16 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --brkCqAR4SbAfrV35mp0d5j1SSlR2VPHWH Content-Type: multipart/mixed; boundary="TOwsQAgjfnW1IAqdVghxTaEkNgRN4Rusr"; protected-headers="v1" From: Allan Jude To: freebsd-current@freebsd.org Message-ID: Subject: Re: Trying to read linux-lvm on 11.0-RC2 using geom, bhyve, fail. References: In-Reply-To: --TOwsQAgjfnW1IAqdVghxTaEkNgRN4Rusr Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2016-09-15 01:10, Zaphod Beeblebrox wrote: > I'm converting some Xen/Debian/Windows domain servers to > FreeBSD/Bhyve/Samba domain servers. Windows is still required for a cou= ple > of applications, but I've recently had enough success with Samba4 to tr= y > this. Not the problem. >=20 > The machines have two disks (was RAID-1 before, will be RAID-1 after) a= nd > I've run the FreeBSD install on one disk leaving the other alone. I'd = like > to copy off some of what's on the other disk, so I set about trying to = read > it. >=20 > BHYVE ATTEMPT >=20 > Believe-it-or-not, I tried bhyve first. Being the more complex solutio= n, > of course. I tried booting the other disk in bhyve. I chalked that > failure up to it still being a Xen config... wasn't sure how that would= > boot for fail under bhyve... so I grabbed a debian live CD from the net= and > tried to boot it. >=20 > Now, I'm following the directions from > https://www.freebsd.org/doc/handbook/virtualization-host-bhyve.html ...= >=20 > And the error both times was failing to find init. Both booting the CD= > _and_ booting the disk. >=20 > I can't seem to find any further documentation on my problem. Linux bo= ots > to it's initrd filesystem state and fails to leave it because it (claim= s > it) can't find /sbin/init (even though in the CD case, it's there) >=20 > GEOM ATTEMPT >=20 > After this fail, I decided I didn't really _need_ to run linux here and= I > discovered 'geom_linux_lvm.ko' ... cool. But fail, too. Doesn't emit = any > messages. I even enabled the debug messages for it. >=20 > The linux disk is partitioned thusly: >=20 > =3D> 63 1953525105 ada1 MBR (932G) > 63 1985 - free - (993K) > 2048 1953523120 1 linux-data [active] (932G) > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.o= rg" >=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 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. --=20 Allan Jude --TOwsQAgjfnW1IAqdVghxTaEkNgRN4Rusr-- --brkCqAR4SbAfrV35mp0d5j1SSlR2VPHWH 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) iQIcBAEBAgAGBQJX2jxtAAoJEBmVNT4SmAt+I3UP/0V6dRb2NHQpMI8+k5H/i7/D FmWngOXfDIFrWYhk3wHaI6lKt3n6EJ9Cx6XL27noe3gJPRqJ+CvtcQLGDFsYZnfy UvzzBDGHsY5WouFIodgqjtk/igu4dvhmpyqgGjwIhUIoEzoNa+dEG4a6G12OIdx5 75PRzlzRErgbxCTpZWWhGwhptgZaMA4fuA0m0LA8NFuj7QLR2DhiL55ObgZNX8jo /rrlXo3UqXJGxD3Vg5SfmLnlExHqNadnxgxrRgs9so2wzp1TaTCrXmcpkCanYrUP iIhs5l1tXVuWOu51QPIs1ANjHurO3YfLzs4szwz3Y3YxleNI/baSLp+8PdaEZUv6 4BlfuA+VhGfGj8eTNuSFureKT7qC6ZA+5aVpJwaT9t9uta6F2qCOyWTxpwJ0I6ZB uOpMuC6CKGuVH70H2XhRdbJlMqc0jf3ClXOm93p6EjzMc1Ask6qhuhsoVsiLwjxS GbhSN4Q+INx/tvWogDsinBsf4/W8h2jSZgogVsSYQafUWgSHQsMnaoqTRkAPtTOw Tt5saYQEgZwYqrRN0AoODqipwfpOd/Ic4knWY14FxhheRocisE1XLhCX9/OJt+BW 1axIhCauxDPj8pJkj7VDHweLi6JVilHKZDUGQerao3C7pOwDJNkHe6WFrcQliyGv zWrZyrHcuKzk6UAcgdtR =f3Us -----END PGP SIGNATURE----- --brkCqAR4SbAfrV35mp0d5j1SSlR2VPHWH--