Skip to contentSkip to conversation

ZFS/ZoL on Yocto

DISCUSSION Manuel Wagesreither 2 participants 2 messages Aug 17, 2021

lore
Share & tools
lore
#0 lore raw

Hello all,

I would like to know if anyone has experiences with equipping Yocto created images with ZFS support.

If I'm not mistaken, the main problems of using ZFS in linux are of legal nature. ZFS can not go into the linux kernel source tree, as it conflicts with the GPL. Hence, the linux version of ZFS called ZoL (ZFS-On-Linux) must be compiled as kernel module and recompiled at every kernel bump. On normal machines, that's a bit cumbersome, but for Yocto this shouldn't be a problem at all.

So, given the large fanbase ZFS has, I'm wondering why there are no recipes around?

I googled a bit, and these are the only meaningful results I found:
* https://lists.yoctoproject.org/g/yocto/message/29331
* https://gist.github.com/cveilleux/54961ccc41071e8aee8c19b69fcba78f

Regards,
Manuel

#1 lore raw
Quoted 8 lines · Manuel Wagesreither

Hello all,

I would like to know if anyone has experiences with equipping Yocto created images with ZFS support.

If I'm not mistaken, the main problems of using ZFS in linux are of legal nature. ZFS can not go into the linux kernel source tree, as it conflicts with the GPL. Hence, the linux version of ZFS called ZoL (ZFS-On-Linux) must be compiled as kernel module and recompiled at every kernel bump. On normal machines, that's a bit cumbersome, but for Yocto this shouldn't be a problem at all.

So, given the large fanbase ZFS has, I'm wondering why there are no recipes around?

I'm guessing that ZFS is not really popular on embedded systems ;)

Quoted 10 lines

I googled a bit, and these are the only meaningful results I found:
* https://lists.yoctoproject.org/g/yocto/message/29331
* https://gist.github.com/cveilleux/54961ccc41071e8aee8c19b69fcba78f

Regards,
Manuel

Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com