From owner-freebsd-virtualization@FreeBSD.ORG Mon Aug 25 21:28:36 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6FEEAF77 for ; Mon, 25 Aug 2014 21:28:36 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id 2F6793E9D for ; Mon, 25 Aug 2014 21:28:35 +0000 (UTC) Received: from [192.168.1.2] (senat1-01.HML3.ScaleEngine.net [209.51.186.5]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 3710F3E1D1 for ; Mon, 25 Aug 2014 21:28:34 +0000 (UTC) Message-ID: <53FBAA8A.40908@freebsd.org> Date: Mon, 25 Aug 2014 17:28:42 -0400 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Re: VirtIo errors inside VM with UFS-in-zvol References: <53FB2662.7090501@hawara.com> <53FB856A.4090900@freebsd.org> In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GEgFDXe2loqRIDPdR7fGV5n7u1kmsHXpB" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Aug 2014 21:28:36 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --GEgFDXe2loqRIDPdR7fGV5n7u1kmsHXpB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2014-08-25 16:27, Nikolay Denev wrote: > On Mon, Aug 25, 2014 at 8:50 PM, Peter Grehan wrot= e: >> Hi Marat, >> >> >>>> vtbd0: hard error cmd=3Dwrite 290-305 >>>> >>> I would like to report the same problem. I'm using 10.0-RELEASE-p7 a= s a >>> host, and 9.3-RELEASE as a guest. VM is created using vmrc script, it= >>> installed fine. But on attempt to create additional fs inside the vm,= >>> newfs just silently fails without writing anything to disk. file -s = on >>> a filesystem reports just 'data', instead of the usual "Unix Fast Fil= e >>> system" >> >> >> This issue is caused by the FreeBSD GEOM code tasting the zvol, parsi= ng >> partition/slice tables, and marking sections read-only. >> >> There is a fix for this by mav@ in r264145 in CURRENT, and MFC'd to >> 10-STABLE in r265678 (May 8). The fix will be in 10.1. >> >> The zfs man page lists the new zvol property and sysctls that can be = used >> to prevent GEOM testing. >> >> later, >> >> Peter. >> >> >> _______________________________________________ >> freebsd-virtualization@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization >> To unsubscribe, send any mail to >> "freebsd-virtualization-unsubscribe@freebsd.org" >=20 > Thanks Peter, >=20 > That would be volmode=3Ddev, correct? > Does it make sense for either the scripts (runvm.sh, vmrc, etc) or > bhyve itself print a warning in such case? >=20 > --Nikolay > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@fr= eebsd.org" >=20 You want: vfs.zfs.vol.mode=3D2 in /boot/loader.conf It is my understanding that the sysctl must be set BEFORE the pool is imported to work correctly. --=20 Allan Jude --GEgFDXe2loqRIDPdR7fGV5n7u1kmsHXpB 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) iQIcBAEBAgAGBQJT+6qKAAoJEJrBFpNRJZKfIf0P/iAs/TbWF7OgJE5/HdEN0q+m kDy2X7EVWgywpx+6mGQCGWWqqI4mPlnwzs8RxsF2NzSjC1urTDE/u4doEPsR0IoI MLysGk5RegwlhhiiLXpd6M6iItvEsfBRyASiug5H6oC4K4oi/XTRekG0n5Qzr4PG HcZ5eMtFnVPTGJzXEdAf/p6b9hk2aeowKlIfC2tgqrtjMH9L+m1l50+N3hfzb5EN rjB6H6i2mIQyELs4XJ6R0Ey7hZnwkrtvVOwiCN4ojaWn+GLu8Y6zCCAa8EOOPo7j fdcyCpjbksYS/8R+EWeCE9qmkkH5mstxpm06PRNuP+MEgZSEKLv3G8pnAVVpPSjD 2scg/4FPozGMPjxCS2aUD3c0+2i9SpNN+vgtV6QSZ+D9tnp+6G6PcgTczhhZodUP ISmuV+uqgcFC51pn9lUXWDgz39UtF0KXfR3uum+KxQg9qs+bQV9hgZ54S/xjgaBc 7Je002E5Ja3+wQFwL5Qw7oSqTL3EXQLGQV3M7BInnq+C9d4Kg3ruJv3tOe9vrnYT KSvX0WhlpOen8WoIkMjhS6BErc751KqcCYoJqo3dDnBoedTWi3q/SgiAPBQk9Mcg E30kFXcnME6Jc5XCX1TOKMRTVX/I2D1UgwwnA/M6qYI2b74YmiQizCGggGt1M9U5 h3UA4ICqlHd+CKEbqxmI =BVPT -----END PGP SIGNATURE----- --GEgFDXe2loqRIDPdR7fGV5n7u1kmsHXpB--