Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 May 2015 19:26:01 +1000
From:      andrew clarke <mail@ozzmosis.com>
To:        Jaime Kikpole <jkikpole@cairodurham.org>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: ZFS in a VM?
Message-ID:  <20150529092600.GA32731@ozzmosis.com>
In-Reply-To: <CA%2Bsg5RQgF7%2BAQu9P0Bt8USF8722QCi=qJ2XQ8RbNQ92cv9tNTg@mail.gmail.com>
References:  <CA%2Bsg5RQgF7%2BAQu9P0Bt8USF8722QCi=qJ2XQ8RbNQ92cv9tNTg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150529092600.GA32731>