Dual/Quad sata on Ubuntu server 20.04

How to get the Dual/Quad sata hat working on Ubuntu?

Distributor ID: Ubuntu
Description: Ubuntu 20.04 LTS
Release: 20.04
Codename: focal

pigpio seems to be giving issue with the install and I cant find any docs on it on ubuntu

I am going to take a look at the installation script in ubuntu. I’ll let you know how it goes.

I have made some progress and the program can work in ubuntu 20.04 now.

I’ll write the installation script and test it later.

Thanks for you help. I look forward to trying the new script and getting my SATA hat up and running on my PI 4.

Hi, please trying the script: How to install Quad SATA HAT’s software on Ubuntu

Thanks got it installed but had to wipe the PI and start over.

I am having difficulty getting a fuse fs to work and the attached drives mount inconsistently. My fstab looks like

Data

UUID=disk_1_id /mnt/data xfs defaults,nofail,discard 0 0

Write

UUID=disk_2_id /mnt/write xfs defaults,nofail,discard 0 0

Combined Mount Point

unionfs-fuse#/mnt/data/=rw:/mnt/write/=rw /mnt/fused fuse cow,allow_other,use_ino,x-systemd.requires=rockpi-sata.sevice,x-systemd.requires-mounts-for=/mnt/data,x-systemd.requires-mounts-for=/mnt/write 0 0

SO without the fused drives, sometimes the drives mount correctly, other times they don’t.

Basically it seems I need to wait for the rockpi-sata.service to start before mounting the disks and fusing but not sure how to do this. Using systemd.requires just seems to cause it to hang on boot