ODROID HC1/HC2/XU4 + Newer GlusterFS

Guides and tutorials for various stuff. Posted by DietPi users.
Post Reply
sudrien
Posts: 3
Joined: Thu Feb 06, 2020 6:15 pm

ODROID HC1/HC2/XU4 + Newer GlusterFS

Post by sudrien »

ODROID HC1/HC2 have a single sata port. The HC1 supports 2.5" drives with 5V 4A over the barrel plug, the HC2 supports 3.5" AND 2.5" drives at 12V 2A over the barrel plug - from a stepping power supply. No, the HC1 can't take 12V, it's missing the step-down circuit. XU4 requires USB drives, but can still do it. All three use the same armhf (not arm64) chip.

GlusterFS is a distributed filesystem for managing files across disks on multiple systems - it can be used instead of RAID, as an instantaneous replacement to Rsync. Development moves faster than Debian, so this covers getting newer packages from testing.

However, I want something newer than GlusterFS 5. So, let's configure some packages from Debian Bullseye (testing).

Code: Select all

apt -t testing install glusterfs-server
Go ahead and install GlusterFS 5 anyways - this will get the maximum number of stable packages possible, which will make the inevitable testing version bump smoother.

Now, adding testing as an option.

#Currently, Buster IS Stable

Code: Select all

sudo nano /etc/apt/apt.conf.d/99defaultrelease

Code: Select all

APT::Default-Release "stable";

Code: Select all

sudo nano /etc/apt/sources.list.d/testing.list

Code: Select all

deb     http://deb.debian.org/debian/    testing main contrib non-free
deb-src http://deb.debian.org/debian/    testing main contrib non-free
Get those new repos

Code: Select all

apt update

Now, this should pull ONLY the packages needed from testing

Code: Select all

apt -t testing install glusterfs-server
Clean out the old gluster dependancies

Code: Select all

apt autoremove

The gluster service name is very inconsistent across versions, as of writing 7.2-2 is

Code: Select all

service glusterd start
service glusterd status
systemctl enable glusterd
Now you're set to continue with step 5 of the GlusterFS guide.
https://docs.gluster.org/en/latest/Quic ... usted-pool





( thanks to
https://ultra-technology.org/linux_for_ ... using-sid/ , this version is a bit less aggressive)
Last edited by sudrien on Fri Sep 04, 2020 5:43 am, edited 3 times in total.
sudrien
Posts: 3
Joined: Thu Feb 06, 2020 6:15 pm

Re: ODROID HC1/HC2/XU4 + Newer GlusterFS

Post by sudrien »

ADDITIONAL NOTES:

https://docs.gluster.org/en/latest/Deve ... GlusterFS/
https://github.com/gluster/glusterfs.git

7.2 will compile from git, using debian instructions, will need the additional package of uuid-dev - libraries will be placed in /usr/local/lib instead of /usr/lib/arm-linux-gnueabihf - and binaries can not find those libraries.

Communications aren't encrypted by default. https://www.redhat.com/en/blog/hardenin ... ations-tls
Post Reply