Jump to content

ZFS on RockPro64 Armbian current image


Go to solution Solved by clariion,

Recommended Posts

  • Solution
Posted

After a few hours, I finally made it with current Focal release. Thanks to @jbergler 

Linux RockPro64 5.8.17-rockchip64 #20.08.21 SMP PREEMPT Sat Oct 31 08:22:59 CET 2020 aarch64 aarch64 aarch64 GNU/Linux
# sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa
# sudo apt update
# sudo apt upgrade
# sudo apt install g++-10
# armbian-config -> Software -> Headers install
# mkdir zfs-scratch
# cd zfs-scratch
# apt-get download linux-headers-current-rockchip64
# git clone -b zfs-0.8.5 https://github.com/openzfs/zfs.git
# apt install build-essential autoconf automake libtool gawk alien fakeroot dkms libblkid-dev uuid-dev libudev-dev libssl-dev zlib1g-dev libaio-dev libattr1-dev libelf-dev python3 python3-dev python3-setuptools python3-cffi libffi-dev
# dpkg -i linux-headers-current-*.deb
# cd zfs
# sh autogen.sh
# ./configure
# make
# make install
# sudo apt install spl-dkms
# sudo apt install zfsutils-linux
# reboot

 

 

Posted
On 11/9/2020 at 10:39 AM, clariion said:

No. Do you have created it?

 

Yes, that's my PPA. It works fine for x86_64 but I haven't tested on arm64 though I don't know why it would be any different.

Posted

Thank you Jonathon.

I'm running Armbian 22.08.2 Jammy with Linux 5.15.69-rockchip64 (RockPro64 as a NAS server so ARM64)

and it worked for me.

here is what i did :

 

sudo add-apt-repository ppa:jonathonf/zfs
sudo apt update
sudo apt install zfs-dkms zfs-zed zfsutils-linux

sudo zpool status

i can't thank you enough.

 

 

Posted

Actually, I spoke too fast :

I redid everything on a clean system, and using your PPA was not enough.

Here is the full list of commands that worked :

```

 

sudo add-apt-repository ppa:jonathonf/zfs

sudo apt update

git clone https://github.com/nathmo/makeZFS_armbian

cd makeZFS_armbian

sudo python3 makeZFS_armbian.py

sudo apt install zfs-dkms zfs-zed zfsutils-linux

 

```

(the whole RockPro64 NAS setup is on github (i'm not allow to paste the link nor modify my previous post. Sorry about that)

if of any use to someone : nathmo/makeZFS_armbian)

I Had to fork from the original script to fix a broken tab and the python version that was deprecated.

I also document the rest of the instruction to duplicate my setup

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines