I’m a new linux user… I’m trying to setup a NAS using Penta Hat + Rock 4B+… the problem is that I’ve tried several Armbian images and in all of them I had some problem installing ZFS… Please, can someone point me to an image that I can use to create a NAS with OMV + ZFS with that card?
Rock pi 4B+ with ZFS
What ZFS problem did You have?
BTW: double check pcie link speed first. You should be running at 2x pcie 2.1,
Tks for the answer…
Some times I had problema with the headers, after installed It, I had problema with the kernel version… I tried several images, but ALL I had some problem to run ZFS… Even add it through the OMV, It shows an error when I access the pool page. The OMV can’t load the ZFS.
On which kernel?
Pay attention to details and paste exact information, apt issues are usually easy to solve, some missing keys etc.
For sure I got it running on one sbc with OMV.
I recently installed the following image on my Rock Pi 4B+:
Armbian_23.11.1_Rockpi-4bplus_bookworm_edge_6.6.2.img
The system is running fine with this kernel:
6.6.2-edge-rockchip64
However, I need to install the kernel headers in order to compile external modules (e.g. DKMS), but the header package is not available via apt
, and I couldn’t find a .deb
file anywhere on the Armbian download sites or mirrors.
What I’ve tried so far:
- apt install linux-headers-$(uname -r) → Not found
- Searched manually on https://apt.armbian.com/ → No headers for this version
- Verified that the kernel appears to be installed from the image directly, not via a package
- Attempted to use the Armbian build system, but ran into memory limitations during BTF generation on the device
I’d really appreciate help with any of the following:
- Is there a way to download prebuilt headers for this specific kernel version?
- If not, what’s the correct way to build them manually (without compiling the entire kernel)?
- Is there a specific branch or tag in the Armbian build system that matches 6.6.2-edge-rockchip64 ?
Thanks in advance for any guidance!
This is really old image, edge is now at something like 6.16-rc7
You may start with armbian-config, there is section for kernels with few choices
Another method I use on a ROCK3A used as NAS is split the functionality in 2: A base Armbiam/Radxa Linux OS providing blocklevel storage plus KVM and then a generic Debian aarch64 VM on top doing the NAS (fillesystem, network, protocols).
For ZFS, I would use FreeBSD or generic OMV but I do not know OMV never really used it. This way you avoid ZFS and Linux integration issues, that pop up everywhere already a decade or so.
I quickly checked it on 4b+, this is super easy with armbian-config, just choose any kernel 6.12 reboot and fire up ZFS install script. I got armbian 25 something already there and ZFS refused to install on anything above 6.14.
Probably this image will work: https://github.com/armbian/community/releases/download/25.8.0-trunk.411/Armbian_community_25.8.0-trunk.411_Rockpi-4bplus_bookworm_current_6.12.40_minimal.img.xz
(I compiled myself mine, but this should be ok)
Ok, tks… I’ll try this image.
I installed the image, installed OMV, and everything seems to be working fine except for one issue… when I run sudo reboot
, the system doesn’t boot up again. It loses the SSD connection and doesn’t come back online. I checked the router, and the IP doesn’t show up. I have to unplug the power and plug it back in after a few seconds — then the system starts normally.
Yes that is what I had many times in the past, not Armbian, but other distros. ‘stable’/LTS is fine, someone has done the work hopefully, but RC kernels etc, you waste way too much time on integrating that again and again. I did compile also kernels myself to get ZFS running in Linux in the past, but I don’t use RAID setups anymore so chose for the flexibility of Btrfs. It works since years without trouble on a RasberryPi1 (as rootfs) but also on out-of-the-box Opensuse Tumbleweed on my ROCK5B for example (now kernel 6.15.7 or so, EDK2-UEFI in SPI-flash).
If you want to know more, make sure you have a serial console cable connected and set the kernel loglevel to 7 (can be done armbianEnv.txt).
It might be it waits for something for 3 minutes or more, but more likely is that something is not really implemented correctly (yet) in the low-level parts of the OS (U-Boot maybe).
As suggested plug UART console to get more precise information.
You may try few kernels with armbian config, sometimes particular one have own issues. It’s easy to quickly burn another SD card for tests.
Hi! Thanks, your help was really useful!
I think I’ve discovered what was causing the reboot issue. By default, OMV installs the Flash Memory plugin. After I uninstalled it, the reboot started working properly.