Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Aug 2014 17:28:42 -0400
From:      Allan Jude <allanjude@freebsd.org>
To:        freebsd-virtualization@freebsd.org
Subject:   Re: VirtIo errors inside VM with UFS-in-zvol
Message-ID:  <53FBAA8A.40908@freebsd.org>
In-Reply-To: <CA%2BP_MZHwvSqthrJMjBvF2rw31EfjtMkZhLqFOB9-zpcuhU3jYw@mail.gmail.com>
References:  <CAOb7DXGpDb1fALsLzbfAYk-9nQUoV5wWF9VJQwNDMQ2ZhBPkPg@mail.gmail.com> <CA%2BP_MZHvzuwZuvfNJBb6s3hJEcUKZx56-Zc9RPpXgOs8SUuN%2BQ@mail.gmail.com> <53FB2662.7090501@hawara.com> <53FB856A.4090900@freebsd.org> <CA%2BP_MZHwvSqthrJMjBvF2rw31EfjtMkZhLqFOB9-zpcuhU3jYw@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)
--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 <grehan@freebsd.org> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53FBAA8A.40908>