ZFS build instructions for Buster (#38)
Co-authored-by: Gauthier Provost <gauthier@kobol.io>
This commit is contained in:
parent
c1745285e7
commit
9518a5aef1
6 changed files with 111 additions and 4 deletions
51
docs/helios64/software/zfs/build-zfs.md
Normal file
51
docs/helios64/software/zfs/build-zfs.md
Normal file
|
@ -0,0 +1,51 @@
|
|||
!!! important
|
||||
This install procedure only works on **Armbian Buster**
|
||||
|
||||
!!! note
|
||||
Tested with Linux helios64 5.10.16-rockchip64 / Armbian 21.02.2
|
||||
|
||||
|
||||
This page describes a method to easily build ZFS on your system in case the DKMS install method described [here](/helios64/software/zfs/install-zfs/) fails.
|
||||
|
||||
## **Step 1** - Install Docker
|
||||
|
||||
You can easily install docker by using **armbian-config** tool.
|
||||
|
||||
*armbian-config -> software -> softy -> docker*
|
||||
|
||||
## **Step 2** - Create Dockerfile
|
||||
|
||||
Create dedicated directory with the required Dockerfile
|
||||
|
||||
```bash
|
||||
mkdir zfs-builder
|
||||
cd zfs-builder
|
||||
wget https://wiki.kobol.io/helios64/files/zfs/Dockerfile
|
||||
```
|
||||
|
||||
Build docker image for ZFS building purpose.
|
||||
|
||||
```bash
|
||||
sudo docker build --tag zfs-build-ubuntu-bionic:0.1 .
|
||||
```
|
||||
|
||||
## **Step 3** - Build and install ZFS packages.
|
||||
|
||||
```bash
|
||||
wget https://wiki.kobol.io/helios64/files/zfs/install-zfs.sh
|
||||
chmod +x install-zfs.sh
|
||||
./install-zfs.sh
|
||||
```
|
||||
|
||||
On succeed, you may need to reboot and enable services:
|
||||
|
||||
```bash
|
||||
sudo reboot
|
||||
sudo systemctl enable zfs-import-cache zsf-import.target zfs-mount zfs.target zfs-zed
|
||||
```
|
||||
|
||||
------------
|
||||
|
||||
*Page contributed by [samorodkin](https://github.com/samorodkin)*
|
||||
|
||||
*Reference [Armbian Forum Dicussion](https://forum.armbian.com/topic/16119-zfs-on-helios64/)*
|
|
@ -25,6 +25,11 @@ Create `/etc/docker/daemon.json` with the following content:
|
|||
|
||||
## **Step 2** - Install Docker
|
||||
|
||||
!!! Note
|
||||
You can easily install docker by using **armbian-config** tool.
|
||||
|
||||
*armbian-config -> software -> softy -> docker*
|
||||
|
||||
Add `/etc/apt/sources.list.d/docker.list` with the following content:
|
||||
|
||||
```bash
|
||||
|
|
|
@ -1,12 +1,10 @@
|
|||
!!! Important
|
||||
This install procedure only works with *Armbian Focal* for now. Instructions for *Armbian Buster* to be added soon.
|
||||
|
||||
So you already installed the system on eMMC or SD? You might want to use ZFS on the hard disk(s)! We assume rootfs is already on eMMC (or microSD Card) and you want to store your data on HDDs in ZFS pool.
|
||||
|
||||
!!! Note
|
||||
This wiki does not cover root-on-zfs. (Although it should be also possible.)
|
||||
|
||||
|
||||
!!! Note
|
||||
If this method fails you can try to build directly ZFS on your system with the following [instructions](/helios64/software/zfs/build-zfs).
|
||||
|
||||
## **Step 1** - Install ZFS
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue