From 5c175aab9843f217a4db0cd58f6fdb9b5286a71f Mon Sep 17 00:00:00 2001 From: KemoNine Date: Wed, 17 Apr 2019 00:01:50 +0100 Subject: [PATCH] Add additional zfs notes --- hardware/pine64.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/hardware/pine64.md b/hardware/pine64.md index c58802e..741c35b 100644 --- a/hardware/pine64.md +++ b/hardware/pine64.md @@ -20,3 +20,26 @@ Some useful links - The axp803 appears to charge the battery pack even with 2 cores of the CPU at max, persistent load, adding persistent usb load on a usb disk will "net 0" the charger. You'll want a semi-idle setup for the batteries to charge over time with a sopine. - The Samsung 3000mah 18650 batteries are a good fit for the battery pack sold by pine64.org and have good capacity and amp ratings. - The top USB port on the sopine is a *host* port + +## ZFS Notes + +zfs is broken until 0.7.13, see the below links for info on how to set this up + - https://github.com/zfsonlinux/spl/issues/715 + - https://github.com/zfsonlinux/zfs/wiki/Custom-Packages + +Rough outline of installation + +``` bash + +wget sources +follow spl instructions (may warn/error about empty dkms module, this is OK) +follow zfs instructions (may warn/error about empty dkms module, this is OK) +cd zfs-0.7.13 && make deb-utils && for file in *.deb; do echo $file; done +Run sudo gdebi -q --non-interactive $file for each in the list that makes sense to install (omit test and dracut packages) +dkms build spl/0.7.13 +dkms install spl/0.7.13 +dkms build zfs/0.7.13 +dkms install zfs/0.7.13 +systemctl enable zfs-import-cache zfs-import.target zfs-mount zfs-share zfs.target + +```