From owner-freebsd-virtualization@FreeBSD.ORG Mon Aug 25 18:50:29 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0B70443A for ; Mon, 25 Aug 2014 18:50:29 +0000 (UTC) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id C0C343E72 for ; Mon, 25 Aug 2014 18:50:28 +0000 (UTC) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTPS id 33C77124CE; Tue, 26 Aug 2014 04:50:21 +1000 (EST) Received: from Peter-Grehans-MacBook-Pro-2.local ([64.245.0.210]) by dommail.onthenet.com.au (MOS 4.4.4-GA) with ESMTP id BXZ05767 (AUTH peterg@ptree32.com.au); Tue, 26 Aug 2014 04:50:20 +1000 Message-ID: <53FB856A.4090900@freebsd.org> Date: Mon, 25 Aug 2014 11:50:18 -0700 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Marat Bakeev Subject: Re: VirtIo errors inside VM with UFS-in-zvol References: <53FB2662.7090501@hawara.com> In-Reply-To: <53FB2662.7090501@hawara.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-virtualization@freebsd.org 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 18:50:29 -0000 Hi Marat, >> vtbd0: hard error cmd=write 290-305 >> > I would like to report the same problem. I'm using 10.0-RELEASE-p7 as 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 File > system" This issue is caused by the FreeBSD GEOM code tasting the zvol, parsing 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.