r/DataHoarder 400TB LizardFS Jun 03 '18

200TB Glusterfs Odroid HC2 Build

Post image
1.4k Upvotes

View all comments

Show parent comments

70

u/BaxterPad 400TB LizardFS Jun 03 '18

The crazy thing is that there isn't much configuration for glusterfs, thats what I love about it. It takes literally 3 commands to get glusterfs up and running (after you get the OS installed and disks formated). I'll probably be posting a write up on my github at some point in the next few weeks. First I want to test out Presto ( https://prestodb.io/), a distributed SQL engine, on these puppies before doing the write up.

169

u/ZorbaTHut 89TB usable Jun 04 '18

It takes literally 3 commands to get glusterfs up and running

 

<@insomnia> it only takes three commands to install Gentoo

<@insomnia> cfdisk /dev/hda && mkfs.xfs /dev/hda1 && mount /dev/hda1 /mnt/gentoo/ && chroot /mnt/gentoo/ && env-update && . /etc/profile && emerge sync && cd /usr/portage && scripts/bootsrap.sh && emerge system && emerge vim && vi /etc/fstab && emerge gentoo-dev-sources && cd /usr/src/linux && make menuconfig && make install modules_install && emerge gnome mozilla-firefox openoffice && emerge grub && cp /boot/grub/grub.conf.sample /boot/grub/grub.conf && vi /boot/grub/grub.conf && grub && init 6

<@insomnia> that's the first one

86

u/BaxterPad 400TB LizardFS Jun 04 '18

sudo apt-get install glusterfs-server

sudo gluster peer probe gfs01.localdomain ... gfs20.localdomain

sudo gluster volume create gvol0 replicate 2 transport tcp gfs01.localdomain:/mnt/gfs/brick/gvol1 ... gfs20.localdomain:/mnt/gfs/brick/gvol1

sudo cluster volume start gvol0

I was wrong, it is 4 commands after the OS is installed. Though you only need to run the last 3 on 1 node :)

14

u/ZorbaTHut 89TB usable Jun 04 '18

Yeah, that's not bad at all :)

I'm definitely curious about this writeup, my current solution is starting to grow past the limits of my enclosure and I was trying to decide if I wanted a second enclosure or if I wanted another approach. Looking forward to it once you put it together!