From owner-freebsd-questions@FreeBSD.ORG Thu May 28 16:21:05 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 A2B73543 for ; Thu, 28 May 2015 16:21:05 +0000 (UTC) (envelope-from fluca1978@gmail.com) Received: from mail-wi0-x233.google.com (mail-wi0-x233.google.com [IPv6:2a00:1450:400c:c05::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B37536C for ; Thu, 28 May 2015 16:21:05 +0000 (UTC) (envelope-from fluca1978@gmail.com) Received: by wicmx19 with SMTP id mx19so152584411wic.0 for ; Thu, 28 May 2015 09:21:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=34U08yW0zyqWIB0Rlt8Rx6E+Qq4We6mZBiQL15IvfwY=; b=KZrohBxuFShx6ixgeV+0KeuZkZddxQECUctXrr275mdycmuN7ciS1ZbS31x5nsB/E0 ZSkc21DOLD8jjrQcyVK5qPL0TpChhsZKs2PtlGRU0G4ODZRSRogfi0bMcWWb3Q2HaoWw UM9PLmy76zPQzWbU8nYLLenTLYsxgaotv9+vTKOhMj0ABIfAQVTX3w2O/XU6HZOReW5n wt6DMSQOryPpb55WCyoynh6uXq42HU2wWy9tJKszctcT03DcRWO7MDTTa2Ztg8yGmeoT ahRO1iEJXI8Rf39HHL2jQqXqYM33aQ/rnhbtomYKNMltxcoN8+rhkpfTu5JzgQF4kxZl xliA== MIME-Version: 1.0 X-Received: by 10.180.74.68 with SMTP id r4mr17670767wiv.69.1432830063868; Thu, 28 May 2015 09:21:03 -0700 (PDT) Sender: fluca1978@gmail.com Received: by 10.194.80.163 with HTTP; Thu, 28 May 2015 09:21:03 -0700 (PDT) In-Reply-To: <9C96EB4B-A230-4A26-BDC3-067367A61E34@shire.net> References: <9C96EB4B-A230-4A26-BDC3-067367A61E34@shire.net> Date: Thu, 28 May 2015 18:21:03 +0200 X-Google-Sender-Auth: E7LYbq53lzVsgWik925e6e_APsA Message-ID: Subject: Re: ZFS in a VM? From: Luca Ferrari To: "Chad Leigh Shire.Net LLC" Cc: Jaime Kikpole , "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: Thu, 28 May 2015 16:21:05 -0000 On Wed, May 27, 2015 at 9:39 PM, Chad Leigh Shire.Net LLC wrote: > I do. I do it not so much for any performance benefits, if any, ZFS offe= rs, but more for data integrity. You need to tune it since the VM based di= sks are not the same as physical disks. I run into performance issues when= the =E2=80=9Cdisk=E2=80=9D gets to a certain usage level (in terms of used= capacity). I'm not sure ZFS on a virtual disk will help a lot on a disk based corruption, but I'm not a guru in this subject. I personally tend to use ufs on my virtual machines, relying more on the host file system for no data corruption. This allows me to have smaller machines and use the ram for other stuff. But this is my personal point of view. As pointed out in this thread: tuning ZFS on virtual machine is not the same as tuning it on real disks (and this is pretty much valid for every tuning operation in virtual machines). Luca