From owner-freebsd-questions@FreeBSD.ORG Fri May 29 09:26:17 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 648FBB7B for ; Fri, 29 May 2015 09:26:17 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: from hapkido.dreamhost.com (hapkido.dreamhost.com [66.33.216.122]) by mx1.freebsd.org (Postfix) with ESMTP id 469ED132D for ; Fri, 29 May 2015 09:26:17 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: from homiemail-a81.g.dreamhost.com (sub5.mail.dreamhost.com [208.113.200.129]) by hapkido.dreamhost.com (Postfix) with ESMTP id 47DEA9E374 for ; Fri, 29 May 2015 02:26:10 -0700 (PDT) Received: from homiemail-a81.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a81.g.dreamhost.com (Postfix) with ESMTP id 4744FA806C; Fri, 29 May 2015 02:26:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=ozzmosis.com; h=date:from :to:cc:subject:message-id:references:mime-version:content-type: in-reply-to; s=ozzmosis.com; bh=LcDCyMBrGi6g7bzXYT+AP7IZeLU=; b= tTrZfm3LLKcxWQdvVsLurC8oPtWsSsv+zNs15CbduplzkmxPmAtbCPG8ciaiUkpR 44AR5d4M/p7RFUhQgkWlNiy0dwLdLWjMuTKcP6p/QUZ93kFwGGp7qMp5t55sDJPu bGiBinmo7BgZULtA2Smox9I9Dh2dzsPhH89kl9YLzLA= Received: from blizzard.ozzmosis.com (114-198-63-194.dyn.iinet.net.au [114.198.63.194]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: relay@ozzmosis.com) by homiemail-a81.g.dreamhost.com (Postfix) with ESMTPSA id EA600A8061; Fri, 29 May 2015 02:26:03 -0700 (PDT) Received: by blizzard.ozzmosis.com (Postfix, from userid 1001) id 0CECDB93; Fri, 29 May 2015 19:26:01 +1000 (AEST) Date: Fri, 29 May 2015 19:26:01 +1000 From: andrew clarke To: Jaime Kikpole Cc: "freebsd-questions@freebsd.org" Subject: Re: ZFS in a VM? Message-ID: <20150529092600.GA32731@ozzmosis.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2015 09:26:17 -0000 On Wed 2015-05-27 13:31:05 UTC-0400, Jaime Kikpole (jkikpole@cairodurham.org) wrote: > Can I run a FreeBSD system in a virtual machine and use ZFS? The VM > environment is a commercial system based on Linux's KVM, if that > matters. ZFS works better if it has "raw" access to the hard drive, in terms of performance and error detection, but will still work fine without it. Either way you'll still get all the usual features ZFS provides, such as snapshots, dedup, compression, etc. Some virtual machine hosts can provide raw disk access. Keep in mind that large capacity ZFS datasets can require several GBs of memory to work well, particularly if you're using dedup, so you'll need to adjust your VM guest's memory appropriately. Regards Andrew