Page MenuHomeDevCentral

Build recent ZFS on Scaleway / Dedibox rescue console
ClosedPublic

Authored by dereckson on Wed, Sep 17, 19:08.

Details

Reviewers
dereckson
Maniphest Tasks
Unknown Object (Maniphest Task)
Commits
rOPSd15faad404a4: Build recent ZFS on Scaleway / Dedibox rescue console
Summary

Scaleway / Online still uses Ubuntu 20.04 (Focal Fossa) for rescue console.

ZFS is installed there, but it's an older version than FreeBSD current one.
That means we can't mount ZFS on rescue console.

This script automates the build of a fresh OpenZFS version,
we can run it at rescue console boot time to mount disks.

Ref T2110

Test Plan

Tested on Ubuntu 20.04.6 LTS (Focal Fossa)

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Warnings
SeverityLocationCodeMessage
Warningutils/zfs/build-zfs-ubuntu.sh:30SC2046SHELLCHECK
Unit
No Test Coverage
Branch
build-zfs-on-old-ubuntu
Build Status
Buildable 5904
Build 6186: arc lint + arc unit

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Wed, Sep 17, 19:08

This script is from a recovery operation in April 2025, but it could be interesting to keep it.

When I also had to install recent ZFS on Fedora rescue live CD this week-end on a workstation,
I remembered we had this for Ubuntu and that it would be nice to save it for future reference.