Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Oct 2022 17:36:59 -0700
From:      David Christensen <dpchrist@holgerdanske.com>
To:        julio@meroh.net, "questions@freebsd.org" <questions@freebsd.org>
Subject:   Re: Setting up ZFS L2ARC on a zvol
Message-ID:  <5561436c-dc6e-ecd1-8054-0f1ae2788d1f@holgerdanske.com>
In-Reply-To: <PH0PR20MB370471F6F9319FC8D1216FD5C0339@PH0PR20MB3704.namprd20.prod.outlook.com>
References:  <PH0PR20MB370438AB8180CE27187E3BD2C0309@PH0PR20MB3704.namprd20.prod.outlook.com> <052d0579-7343-4aa7-8e27-fdab0fe6f400@holgerdanske.com> <PH0PR20MB370471F6F9319FC8D1216FD5C0339@PH0PR20MB3704.namprd20.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10/27/22 07:06, julio@meroh.net wrote:
> From: owner-freebsd-questions@freebsd.org on behalf of David Christensen
>> On 10/26/22 06:32, julio@meroh.net wrote:

>>> I'm considering using ZFS as well for the root file system (as a separate single-drive pool) in order to simplify admin operations: I want to host some VMs on the NVMe for speed, and using zvols will be very helpful as I don't have to come up with the partition sizes upfront.

>> Testing on a VirtualBox VM, it looks like you cannot use a ZFS volume as
>> a cache device for another ZFS pool:

 > The question is whether this behavior is intentional or a bug.


It appears to me that the behavior is intentional on FreeBSD 12.3-R; but 
I am not a ZFS developer, just a user.  AIUI 12.3-R uses ZFS on Linux 
code (ZoL).  Perhaps you can get a better answer via that project:

https://zfsonlinux.org/


AIUI FreeBSD 13.1-R uses OpenZFS code.  If you are seeing the behavior 
on 13.1-R, perhaps you can get a better answer via that project:

https://openzfs.org/wiki/Main_Page


David



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5561436c-dc6e-ecd1-8054-0f1ae2788d1f>