NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: cgd + zfs



Pouya Tafti <pouya+lists.netbsd%nohup.io@localhost> writes:

> nia <nia%NetBSD.org@localhost> writes:
>> > If anecdotal evidence is helpful, I'm using ZFS with CGD
>> > (ZFS on GPT on CGD on GPT...) without problems and I know at least
>> > one other developer is doing the same.
>
> On Tue, Jul 13, 2021 at 07:23:43PM -0400, Brad Spencer wrote:
>> I didn't use quite as many layers, but I tested this some time back and
>> did not have any particular problems with cgd and zfs.  Swapping to a
>> zvol didn't work, but cgd layered fine as I remember it.
>
> I'm now thinking, would it make sense to do the layering the other way around, i.e. have cgd on top of a zvol?  I wonder if there would be any resilience (and possibly performance) advantage to having zfs directly access the hard drives (which, being old and bought off ebay, I don't quite trust) rather than go through cgd. 


To be honest about it, I don't remember if I tested in that direction.
It would be simple enough to try.  You just might have the same problem
with missing IOCTLs that keeps swapping from working.


-- 
Brad Spencer - brad%anduin.eldar.org@localhost - KC8VKS - http://anduin.eldar.org


Home | Main Index | Thread Index | Old Index