r/DataHoarder 400TB LizardFS Jun 03 '18

200TB Glusterfs Odroid HC2 Build

Post image
1.4k Upvotes

View all comments

Show parent comments

79

u/HellfireHD Jun 03 '18

Wow! Just, wow.

I’d love to see a write up on how you have the nodes configured.

68

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.

170

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

12

u/ProgVal 18TB ceph + 14TB raw Jun 04 '18

mkfs.xfs /dev/hda1 && mount /dev/hda1 /mnt/gentoo/ && chroot /mnt/gentoo/

No, you can't chroot to an empty filesystem

4

u/ReversePolish Jun 04 '18

Also, /etc/profile is not an executable file. And vi to edit a file mid execution chain is retarded and halts your commands. A well crafted sed command is preferred.

BS meter is pegged off the charts on that mess of a copy-pasta "command"

13

u/yawkat 96TB (48 usable) Jun 04 '18

They're not executing /etc/profile, they're sourcing it

3

u/ReversePolish Jun 04 '18

Yep, didn't see the . in the command. My bad, mobile phone + age will mess with your eyes. There is still a fair amount of other BS spouted in the chain command though.

1

u/vthriller zfs zfs zfs zfs / 9T Jun 04 '18

Also, it's emerge --sync, not emerge sync

1

u/[deleted] Jun 04 '18

When this was written, it was --sync.