From owner-freebsd-virtualization@FreeBSD.ORG Mon Aug 25 20:27:43 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 9CF84F1C; Mon, 25 Aug 2014 20:27:43 +0000 (UTC) Received: from mail-vc0-x233.google.com (mail-vc0-x233.google.com [IPv6:2607:f8b0:400c:c03::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 497D038BB; Mon, 25 Aug 2014 20:27:43 +0000 (UTC) Received: by mail-vc0-f179.google.com with SMTP id hq11so15964411vcb.10 for ; Mon, 25 Aug 2014 13:27:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=cPh/5YrVsnaDcyp4/eWluTyolkOACNM9oY7Nwaq5Qik=; b=Ifdy55LI9b2ae/GAr2bFIEi8WEedCszR6BxRJLtUgT2A/sMKrhm9RWRN1ajGfNGfiB 4/04fglsnuhGJDQw1pNXyzv+TbVmcwekVkCNeV/X3VMDDSzjED2kCS5dTJHYoT8p+cQ8 yUGQUaoY4j3idLa71IaHhpoqfP9UimR4PKQ4TEx2iq5w4LyFZIwfU9uLv5sZPHKB5h0V jW2bjkATCdMG7iriMy0aB3/JHQLwqcuOF6x0I+SsIscjC7StwZPx7alKLnkUkP+D0PFr OgiL6VCr00ZNM4EkNO9siQYG3B4RjBSRcCJY01cX4URZ7iAntatLXLwxygvamReE83uL qqQQ== MIME-Version: 1.0 X-Received: by 10.52.248.232 with SMTP id yp8mr433590vdc.83.1408998461827; Mon, 25 Aug 2014 13:27:41 -0700 (PDT) Received: by 10.221.46.133 with HTTP; Mon, 25 Aug 2014 13:27:41 -0700 (PDT) In-Reply-To: <53FB856A.4090900@freebsd.org> References: <53FB2662.7090501@hawara.com> <53FB856A.4090900@freebsd.org> Date: Mon, 25 Aug 2014 22:27:41 +0200 Message-ID: Subject: Re: VirtIo errors inside VM with UFS-in-zvol From: Nikolay Denev To: Peter Grehan Content-Type: text/plain; charset=UTF-8 Cc: Marat Bakeev , 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 20:27:43 -0000 On Mon, Aug 25, 2014 at 8:50 PM, Peter Grehan wrote: > 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. > > > _______________________________________________ > 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" Thanks Peter, That would be volmode=dev, correct? Does it make sense for either the scripts (runvm.sh, vmrc, etc) or bhyve itself print a warning in such case? --Nikolay