Options for zfs inside a VM backed by zfs on the host

2015-08-26 Thread Vick Khera
I'm running FreeBSD inside a VM that is providing the virtual disks backed by several ZFS zvols on the host. I want to run ZFS on the VM itself too for simplified management and backup purposes. The question I have is on the VM guest, do I really need to run a raid-z or mirror or can I just use a

Re: Options for zfs inside a VM backed by zfs on the host

2015-08-26 Thread Marcus Reid
On Wed, Aug 26, 2015 at 05:25:52PM -0400, Vick Khera wrote: > I'm running FreeBSD inside a VM that is providing the virtual disks backed > by several ZFS zvols on the host. I want to run ZFS on the VM itself too > for simplified management and backup purposes. > > The question I have is on the VM

Re: Options for zfs inside a VM backed by zfs on the host

2015-08-26 Thread Marcus Reid
On Wed, Aug 26, 2015 at 11:10:44PM -0700, Marcus Reid wrote: > On Wed, Aug 26, 2015 at 05:25:52PM -0400, Vick Khera wrote: > > Opinions? Preferably well-reasoned ones. :) > > However, having the ARC eating up lots of memory twice seems pretty > bletcherous. You can probably do some tuning to redu

RE: Options for zfs inside a VM backed by zfs on the host

2015-08-27 Thread Matt Churchyard via freebsd-virtualization
> On Wed, Aug 26, 2015 at 11:10:44PM -0700, Marcus Reid wrote: > On Wed, Aug 26, 2015 at 05:25:52PM -0400, Vick Khera wrote: > > > Opinions? Preferably well-reasoned ones. :) > > > > > However, having the ARC eating up lots of memory twice seems pretty > > bletcherous. You can probably do some t

Re: Options for zfs inside a VM backed by zfs on the host

2015-08-27 Thread Marie
On Thu, Aug 27, 2015 at 11:42 AM Matt Churchyard via freebsd-virtualization wrote: > > On Wed, Aug 26, 2015 at 11:10:44PM -0700, Marcus Reid wrote: > > On Wed, Aug 26, 2015 at 05:25:52PM -0400, Vick Khera wrote: > > > > Opinions? Preferably well-reasoned ones. :) > > > > > > > However, having the

Re: Options for zfs inside a VM backed by zfs on the host

2015-08-27 Thread Allan Jude
On 2015-08-27 02:10, Marcus Reid wrote: > On Wed, Aug 26, 2015 at 05:25:52PM -0400, Vick Khera wrote: >> I'm running FreeBSD inside a VM that is providing the virtual disks backed >> by several ZFS zvols on the host. I want to run ZFS on the VM itself too >> for simplified management and backup pur

Re: Options for zfs inside a VM backed by zfs on the host

2015-08-27 Thread Paul Vixie
let me ask a related question: i'm using FFS in the guest, zvol on the host. should i be telling my guest kernel to not bother with an FFS buffer cache at all, or to use a smaller one, or what? ___ freebsd-virtualization@freebsd.org mailing list https://l

Re: Options for zfs inside a VM backed by zfs on the host

2015-08-27 Thread Vick Khera
On Thu, Aug 27, 2015 at 6:10 AM, Marie wrote: > I've tried this in the past, and found the worst performance penalty was > with ARC disabled in guest. I tried with ARC enabled on host and guest, > only on host, only on guest. There was a significant performance penalty > with either ARC disabled.

Re: Options for zfs inside a VM backed by zfs on the host

2015-08-27 Thread Chad J. Milios
> On Aug 27, 2015, at 10:46 AM, Allan Jude wrote: > > On 2015-08-27 02:10, Marcus Reid wrote: >> On Wed, Aug 26, 2015 at 05:25:52PM -0400, Vick Khera wrote: >>> I'm running FreeBSD inside a VM that is providing the virtual disks backed >>> by several ZFS zvols on the host. I want to run ZFS on th

Re: Options for zfs inside a VM backed by zfs on the host

2015-08-27 Thread Tenzin Lhakhang
That was a really awesome read! The idea of turning metadata on at the backend zpool and then data on the VM was interesting, I will give that a try. Please can you elaborate more on the ZILs and synchronous writes by VMs.. that seems like a great topic. - I am right now exploring the question: ar

Re: Options for zfs inside a VM backed by zfs on the host

2015-08-28 Thread Chad J. Milios
> On Aug 27, 2015, at 7:47 PM, Tenzin Lhakhang > wrote: > > On Thu, Aug 27, 2015 at 3:53 PM, Chad J. Milios > wrote: > > Whether we are talking ffs, ntfs or zpool atop zvol, unfortunately there are > really no simple answers. You must consider your use case, the host