Add ayu (Odroid HC4 backup server) #10

Closed
opened 2020-12-25 00:01:04 +01:00 by simon · 1 comment

Scope

It will store huge backups (i.e. media), smaller (i.e. system) backups will still be stored in wasabi.

Todo

  • Buy SD card („SanDisk High Endurance 64GB“ from AliExpress)
  • Build u-boot (see https://github.com/NixOS/nixpkgs/pull/101454; has checksum mismatch)
  • Build image (only basic configuration (hardware-configuration, ssh-keys)
    • Cross compile or native?
      • Cross, since sd card performance is abysmal
      • For deployment, build on deploying machine (blocked by #34)
    • Does it resize automatically? No
    • How to do LUKS?
      • do I want it? sd card, data drives, both, nothing?
  • Determine power usage
    • Idle
    • CPU load
    • Disk load
    • Network load (unlikely, but why not)
    • Combined load (senc/receive on-thy-fly compressed disk image)
  • Determine temperature and fan noise (fan makes ugly noises due to literally using pwm to drive the fan)
  • Make drives spin down on inactivity
  • Set up restic-server
    • systemd timer for prune
      • if no LUKS on system partition: figure out how to get repository password temporarily onto system (option: some mechanism comparable to NixOps: copy to /var/run after reboot?)
  • Use hard drives from legacy server (4 TB WD Red/Seagate IronWolf, still have warranty until early 2022)
  • Figure out best location for it (bbn?)
  • Set up dynamic dns
## Scope It will store huge backups (i.e. media), smaller (i.e. system) backups will still be stored in wasabi. ## Todo - [X] Buy SD card („SanDisk High Endurance 64GB“ from AliExpress) - [X] Build u-boot (see https://github.com/NixOS/nixpkgs/pull/101454; has checksum mismatch) - [X] Test if boot works with patched 5.9 kernel image works **Yes🥳** + Works after removing petitboot as described in the [Armbian installation instructions](https://www.armbian.com/odroid-hc4/) - [ ] Build image (only basic configuration (hardware-configuration, ssh-keys) - [X] Cross compile or native? + Cross, since sd card performance is abysmal + For deployment, build on deploying machine (blocked by #34) - [X] Does it resize automatically? **No** - [ ] How to do LUKS? + maybe helful: https://github.com/armbian/build/issues/947 - [ ] do I want it? sd card, data drives, both, nothing? - [ ] Determine power usage - [ ] Idle - [ ] CPU load - [ ] Disk load - [ ] Network load (unlikely, but why not) - [ ] Combined load (senc/receive on-thy-fly compressed disk image) - [ ] Determine temperature and fan noise (fan makes ugly noises due to literally using pwm to drive the fan) - [ ] Make drives spin down on inactivity - [ ] Set up restic-server - [ ] systemd timer for prune - [ ] if no LUKS on system partition: figure out how to get repository password temporarily onto system (option: some mechanism comparable to NixOps: copy to /var/run after reboot?) - [ ] Use hard drives from legacy server (4 TB WD Red/Seagate IronWolf, still have warranty until early 2022) - [ ] Figure out best location for it (bbn?) - [ ] Set up dynamic dns
simon changed title from Add host ayu (Odroid HC4 NAS) to Add ayu (Odroid HC4 backup server) 2020-12-26 00:14:30 +01:00
simon added a new dependency 2021-01-12 08:31:34 +01:00
simon removed a dependency 2021-01-12 08:31:45 +01:00
Poster
Owner

Things currently not working:

  • Test if they work with other images
Things currently not working: * Reboot (does poweroff instead) + https://github.com/armbian/build/blob/f2756e3b59106d5bcbf0547883a6c07ced0c21a5/patch/kernel/meson64-current/0071-ODROID-HC4-Introduce-new-SBC-board-ODROID-HC4.patch + https://github.com/armbian/build/blob/f2756e3b59106d5bcbf0547883a6c07ced0c21a5/patch/kernel/meson64-current/0073-ODROID-COMMON-power-reset-Add-odroid-support.patch * Fan control (always off) - https://github.com/armbian/build/blob/f2756e3b59106d5bcbf0547883a6c07ced0c21a5/patch/kernel/meson64-current/0071-ODROID-HC4-Introduce-new-SBC-board-ODROID-HC4.patch - https://github.com/armbian/build/blob/de89592d8482b759dbf84a14d2d12e4a54f1a0f4/patch/kernel/meson64-current/meson64_pwm_hwmon_control.patch * CPU temperature (`lm-sensors` does not detect sensors) * Hard drives (do not show up) - [ ] Test if they work with other images - [ ] hardkernel provided ubuntu image (they should work with this, unless the hardware is broken) - [X] armbian (linux 5.10.12-meson64 feb 3 21:06:36 CET 2021) - has **a lot** of kernel patches (https://github.com/armbian/build/tree/master/patch/kernel/meson64-current) - fan control works - reboot works - sensors work (fan, cpu and ddr) - hard drives work - [ ] nixos with hardkernel linux?
simon added the
type
new machine
label 2021-01-31 22:21:32 +01:00
simon added the
blocked by/testing needed
label 2021-02-12 23:06:57 +01:00
simon added the
resolution
deferred
label 2021-04-08 12:14:49 +02:00
simon closed this issue 2021-04-08 12:14:53 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: simon/nixos-config#10
There is no content yet.