ZFS in a VM?

andrew clarke mail at ozzmosis.com
Fri May 29 09:26:17 UTC 2015


On Wed 2015-05-27 13:31:05 UTC-0400, Jaime Kikpole (jkikpole at 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


More information about the freebsd-questions mailing list