One little step bigger than the Odroid HC2 - what to choose?

  • Hi,


    I'm new to OMV and had a bit of trouble while installing - but now it works quite well and I'm really convinced.


    I'm using it with an Odroid HC2 with System on SD-Card and a WD Red 4TB.


    Everything fine - and I will stay with this system as a backup-system.


    My main-system should be a little big better/bigger system at all.


    I want to use the main system as a OMV-NAS and with 1-2 running dockers (Nextcloud + one more).


    That would stress my little Odroid HC2 with it's SD-Card too much. So what would be the advice to go one step bigger? Don't wanna waste too much power / energy.


    Really looking forward for a few advices.


    Thx Bud

  • I want to use the main system as a OMV-NAS and with 1-2 running dockers (Nextcloud + one more).


    That would stress my little Odroid HC2 with it's SD-Card too much

    Why?


    Your HC2 is overpowered for such tasks anyway and you can push the docker container storage to either your HDD or you attach an SSD in a JMS578 or ASM1153 enclosure to the USB port and run the stuff there. While everybody will be telling you that's just USB2 and too slow that's not true. Random IO performance is important and a SSD in an USB2 attached enclosure should easily outperform a HDD attached to USB3 (that's the HC2's 'SATA port', everything is USB here).

  • Why?
    Your HC2 is overpowered for such tasks anyway and you can push the docker container storage to either your HDD or you attach an SSD in a JMS578 or ASM1153 enclosure to the USB port and run the stuff there. While everybody will be telling you that's just USB2 and too slow that's not true. Random IO performance is important and a SSD in an USB2 attached enclosure should easily outperform a HDD attached to USB3 (that's the HC2's 'SATA port', everything is USB here).

    It's not because of the OC2-Power overall... I thought, that it stresses the SD-Card from my HC2 too much? I'm a little bit afraid if the SD-Card will last long enough. Especially if I will run a Nextcloud-instance > or does the Docker (Nextcloud) read/write only to the storage I will attach?

  • I'm a little bit afraid if the SD-Card will last long enough. Especially if I will run a Nextcloud-instance > or does the Docker (Nextcloud) read/write only to the storage I will attach?

    AFAIK you can store the whole container somewhere else than the rootfs (SD card). So either on the HDD that's already there or on an USB2 attached SSD (every SSD even when just attached via USB2 will always outperform the fastest HDD available with these workloads since random IO / IOPS are way more important than MB/s).


    Check the IOPS values here: https://forum.armbian.com/topi…findComment&comment=51350 -- even the most lousy hardware OMV can run on (Raspberry Pi 2) shows +2000 IOPS in undervolted mode (limiting CPU cores to 600 MHz). You'll have a hard time to find a HDD exceeding 200 IOPS so SSD is at least 10 times faster even if bottlenecked by USB2.

  • I'm totally with you. USB and an SSD would be totally ok for that scenario.


    But I don't know if it's ok for my system-SD-Card at all - can I somehow find out how much the SD-card is/will be stressed?


    And another question:
    2 x USB-Disks at the 1 x USB-Port of the HC2 via Hub is also ok? Would be one SSD for the nextcloud-docker and one for a backup HDD.

  • can I somehow find out how much the SD-card is/will be stressed?

    On all the (Armbian based) OMV images for ARM devices it's rather easy since I added monitoring functionality for exactly this reason. The problem is the so called 'Write Amplification' being rather high when not special precautions are taken. You can watch what happens in real-time.


    The following example is from an EspressoBin running off /dev/sdb (USB thumbdrive):


    And this is a NanoPi M1 Plus running off /dev/mmcblk1 (eMMC):

    So you can see easily that on the EspressoBin storage write access happens only from time to time while on the NanoPi every 10 seconds stuff gets written. Which is bad since small writes every now and then result in high Write Amplification. This host runs a monitoring instance updating all its RRD (round robin databases) every 10 seconds. We will change this soon since with this write pattern the eMMC will wear out pretty fast.



    TL;DR: Check the device node your rootfs (SD card) is using and monitor yourself using armbianmonitor -d


    Wrt USB hubs I made that much negative experiences that at least I try to avoid them whenever possible. But YMMV as usual.

  • It is not very difficult to install OMV on a HC2 so that the root filesystem is on the hdd. It may have implications regarding performance, safety and backups and so on. But it should be mostly OK.


    For instance you can have /boot on the SD card, / (root fs) on sda1 and /sharedfolders on sda2


    You need to manually create sda1 (btrfs) and sda2 (ext4). I boot a fresh install on a card and use ssh, parted and mkfs.ext4 to format sda2.


    Then run nand-sata-install.sh. It will format (btrfs) sda1 and move the rootfs to sda1.


    Reboot. Will boot from /boot on the card, but the root fs is now on sda1.


    Mount sda2 in OMV and proceed to create shared folders on /dev/sda2. And carry on as usual.


    I'm experimenting with a OMV HC1 with a firecuda sshd drive, that has / on the firecuda. Works fine. Hdd has 5 year warranty. Will test to run Emby and NextCloud on it. At least. Will be a birthday gift for a relative in March. Emby is running fine.


    I also have had an Armbian HC2 with a ssd with / on the ssd for a while now. Works fine.


    If you have several HC2 you can even put /var/lib/docker on another HC2 and mount it over nfs. Perhaps using some type of auto mount (not OMV). I haven't tried that yet.


    Also it might be possible to use a couple of HC2 as a docker swarm. I haven't tried that either. Yet.

    Be smart - be lazy. Clone your rootfs.
    OMV 5: 9 x Odroid HC2 + 1 x Odroid HC1 + 1 x Raspberry Pi 4

    Edited once, last by Adoby ().

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!