From owner-freebsd-virtualization@FreeBSD.ORG Tue Aug 26 13:39:00 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 6B4EAFEC for ; Tue, 26 Aug 2014 13:39:00 +0000 (UTC) Received: from bsd-ix0.plasmahost.ru (bsd-ix0.plasmahost.ru [46.4.109.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 26B6D3762 for ; Tue, 26 Aug 2014 13:38:59 +0000 (UTC) Received: from [119.224.17.161] (helo=[192.168.1.12]) by bsd-ix0.plasmahost.ru with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.84 (FreeBSD)) (envelope-from ) id 1XMHtJ-0004nr-7p for freebsd-virtualization@freebsd.org; Tue, 26 Aug 2014 18:38:33 +0400 Message-ID: <53FC8DD9.4010202@hawara.com> Date: Wed, 27 Aug 2014 01:38:33 +1200 From: Marat Bakeev 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> <53FBAA8A.40908@freebsd.org> In-Reply-To: <53FBAA8A.40908@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: ClamAV 0.98.4; Tue, 26 Aug 2014 18:38:33 +0400 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: Tue, 26 Aug 2014 13:39:00 -0000 On 26/08/2014 09:28, Allan Jude wrote: >> Thanks Peter, >> >> That would be volmode=dev, correct? > You want: vfs.zfs.vol.mode=2 > in /boot/loader.conf > > It is my understanding that the sysctl must be set BEFORE the pool is > imported to work correctly. What is the difference between property 'volmode=dev', and the sysctl? When do I need to use the sysctl, and when do one needs to use the volmode=dev? Either of them must be set in the host system, of course?