DC-IRC has quit [Remote host closed the connection]
DC-IRC has joined #armbian-allwinner
<DC-IRC>
<Алексей Песорин> You need to rebuild the kernel with ZFS support
<DC-IRC>
<Werner> Hm did not keep up on that one. zfs dkms broke at some point because the maintainer passed away IIRC.
<DC-IRC>
<Алексей Песорин> Copy over the old config from the installed system, clone the latest `linux-sunxi` source from the https://git.kernel.org, move the config file to the cloned directory and rename to `.config`, do `make oldconfig` and `make menuconfig`, in the menu go to Filesystems - Other - ZFS, enable, go back, exit and save, and finally do `make -j$(nproc)`
<DC-IRC>
<Алексей Песорин> Oh
<DC-IRC>
<Алексей Песорин> Zad
<DC-IRC>
<Werner> ZFS is not part of the Linux kernel by default due to license conflicts.
<DC-IRC>
<Werner> (and probably never will unfortunately)
<DC-IRC>
<Алексей Песорин> Really? Pretty sure I saw the ZFS thing in the "other" tab under the filesystems tab
<DC-IRC>
<Werner> Yeah because Armbian used to ship it by default 🙂
<DC-IRC>
<Werner> merge the sources to say
<DC-IRC>
<Werner> But grabbing the sources from git.kernel.org wont give you ZFS
<DC-IRC>
<Werner> But grabbing the unmodified sources from git.kernel.org wont give you ZFS
<DC-IRC>
<Алексей Песорин> I thought ZFS was added to mainline in like 2010 but sure I guess
<DC-IRC>
<Алексей Песорин> Actually, lemme check
<DC-IRC>
<Алексей Песорин> Oh, it really is missing
<DC-IRC>
<Алексей Песорин> Interesting
<DC-IRC>
<Werner> I am pretty sure there were efforts to mainline it at some point
<DC-IRC>
<Алексей Песорин> I wonder if one of the kernel devs can just DM one of the OpenZFS devs and say something in the words of "can you pls double license this thx uwu"
<DC-IRC>
<Werner> I assume if it would be that easy we would have had ZFS in mainline for ages now
<DC-IRC>
<noimnull> thanks 🙏
<DC-IRC>
<noimnull> btw i switched to manjaro was able to compile zfs there
<DC-IRC>
<noimnull> will try this armbian compile and let you know 👍
<DC-IRC>
<noimnull> do you know any guide to compile this on x86pc?
<DC-IRC>
<noimnull> do you know any guide to cross compile this on x86pc?
<DC-IRC>
<Алексей Песорин> Are you talking about the kernel or OpenZFS?
<DC-IRC>
<noimnull> kernel
<DC-IRC>
<Алексей Песорин> As we just determined the kernel won't help, but if you wanna cross compile anyway, you can do:
<DC-IRC>
<Алексей Песорин> `make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu-` and `make ARCH=arm CROSS_COMPILE=armeabif-linux-gnu-` for arm64 and armv6/armv7 respectively