Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Mar 2019 18:28:13 -0600
From:      Alan Somers <asomers@freebsd.org>
To:        "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org>,  FreeBSD <freebsd-stable@freebsd.org>
Subject:   Re: bhyve zfs resizing
Message-ID:  <CAOtMX2hRPpeW0=DLQApRf3roqFtiYwzRWtv9yB-PrZO_A6k_dA@mail.gmail.com>
In-Reply-To: <20190319002325.GD91631@rpi3.zyxst.net>
References:  <20190318150404.GB91631@rpi3.zyxst.net> <CAOtMX2j55KCrwSgoPUmGfgsRYdL4ivwC0kf=ODqHf7gwe6H3Gg@mail.gmail.com> <20190318152525.GC91631@rpi3.zyxst.net> <f7b4a7d7-4c07-22f2-8d56-9a62c685ea5c@quip.cz> <20190319002325.GD91631@rpi3.zyxst.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 18, 2019 at 6:24 PM tech-lists <tech-lists@zyxst.net> wrote:
>
> On Mon, Mar 18, 2019 at 06:56:03PM +0100, Miroslav Lachman wrote:
>
> [...]
>
> Thanks for the example, I've saved it.
>
> Ok just one other question, which I might have found the answer to, or
> might not. I'm new to this virtualising on zfs even though ive used zfs
> for years. It's basically:
>
> I made a zvol, installed 12-R into it,. Where the disks option came up I
> chose the auto defaults for *ZFS* in the guest. I also selected
> encryption for both the virtual disk and swap. I think perhaps I
> shouldn't have done all this together in the same vm because with apache
> running in it, httpd got wedged (and then everything got wedged. sync
> wouldn't return). I think the top zfs layer and the encryption layer and
> the zfs underneath got too busy. Happily the server still responded to a
> shutdown -r and came back up. It's scrubbing the zpool to be on the safe
> side.
>
> Am I correct? In that I should have used UFS in the guest rather than
> zfs? Or was it the encryption?
>
> thanks,
> --
> J.

Running ZFS inside of a ZFS-backed guest will be slower than using
UFS, but it should work just fine.  I doubt that it was the cause of
your problem.
-Alan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2hRPpeW0=DLQApRf3roqFtiYwzRWtv9yB-PrZO_A6k_dA>