10 ms·
Odroid-HC4 is a $65 2-bay network attached storage device
- 3np 6y agoWould be really, really curious to see someone benchmark how this performs as a glusterfs cluster of zfs mirror bricks of SSDs (if 4GB is enough for zfs?) or lvm mirrors. Several people have posted HC1/HC2 gluster clusters but since gluster dropped 32-bit support there hasn't been a great alternative for that until this.
- adem 6y agoI own a HC2 (single SATA slot) and it's an amazing piece of hardware.
- sasij 6y agoQuite interested by this. Been looking for a small NAS solution for hosting just my music library and this would fit the bill perfectly i think.
- Nursie 6y agoThat's pretty awesome. I was looking for a NAS that could take 2.5" drives a year or so back (I no longer believe in spinning rust). In the end the prices of them put me off so much that I built a mini-ITX server instead. This might have swayed me (though a 4 driver version would be preferable)
- dnpp123 6y agoFor what it's worth, I had https://www.hardkernel.com/shop/odroid-n2-with-4gbyte-ram-2/ https://www.hardkernel.com/shop/odroid-n2-with-4gbyte-ram-2/ to self-host some services and it died after 3 months.
- yuvadam 6y agoPlease elaborate on 'died'? Over the years I've accumulate 10+ Odroid boards that are all still in use, and non have ever died on me. Actually that's not entirely true, I did have an Odroid Weather Board that got a burned BME280 sensor because I left it outdoors in the rain.
- mbushey 6y agoI bought an Odroid once. It was DOA. It was cheaper to throw it in the garbage than mail it back to Korea. I'm glad you've had better luck.
- maeln 6y agoI would kill for a sbc with 2 M.2 slots. This allow for a incredibly small form factor NAS with good performance and reliability. I wonder why most SBC only use sata (when they even have a storage connector). Is M.2/PCIe so much harder to add ? Or at least M.2 with sata 6Gb/s.
- 3np 6y agoPlease don't kill me. https://pcengines.ch/apu2e4.htm https://pcengines.ch/apu2e4.htm 2xmPCIe (m2), 1xmSATA (m2), 1xSATA. There're also plenty of boards around Ryzen Embedded (V1605B/V1807B/etc) if you need more lanes. There's Udoo Bolt. Sapphire and iBASE also has several boards. I'm not aware of any decent contenders with multiple m2 sockets based on ARM, if that's what you're specifically looking for. But you can always buy a cable or board that splits or bifurcates a single interface into multiple m2 slots. I haven't tried any of these myself but there are plenty of options on Ali, eBay, or directly from embedded/industrial vendors depending on your cost/reliability preferences. I've spent quite some time looking around for the optimal low-footprint storage cluster options and eventually ended up with mITX form-factor after realizing I want plenty of RAM and need more cores per node to handle ZFS+gluster+encryption. There are plenty of options if you don't, though! I'd advice to check out the APU's, either way. They have served me very well until I started upgrading and have now been repurposed for other use.
- rkwasny 6y agoThis looks awesome, where can you buy it with a case?
- 3np 6y agoThe APU? The manufacturer also sells cheap metal cases that double as heatsinks, check out the webshop. The black one has the best heat-dissipation. If you want to fit 2.5" disks you'll have to DIY a bit.
- dvfjsdhgfv 6y agoE.g. here: https://www.pcengines.ch/newshop.php?c=2 https://www.pcengines.ch/newshop.php?c=2 - the type of the case is listed under "use with" on the product page.
- polskibus 6y agoCan this work with freenas/nas4free and ZFS?
- 3np 6y agoAbsolutely. Depending if 4GB RAM is sufficient for you (ZFS can get really memory hungry depending on configuration).
- jankeymeulen 6y agoFreeNAS not so much, needs x86, this board is ARM...
- 3np 6y agoShould have specified I was referring to xigmanas (former nas4free). The specs, specifically the RAM, might not be enough to make a it a good idea, though. I might be wrong, but I don't see why one wouldn't be able to build freenas for arm (all the included software should be arm64-compatible), it's just that so far no one took the time to do so and share it.
- danw1979 6y agoI think the more important question is "what kind of reception will I get from the FreeNAS forums if I turn up trying to run it on this ARM SBC with 4GB of non-ECC RAM?". If you've ever lurked there, you'll probably know the answer already.
- wil421 6y agoWill you get a benefit from doing ZFS mirror on 2 drives? Raidz2 or RaidZ3 is much more preferable for ZFS.
- justinsaccount 6y agothere are benefits to running ZFS on even a single drive, so yes.
- MrBuddyCasino 6y agoA new take on the entry-level NAS, nice! If I wouldn't already be running a Synology (which is running without issues) I'd get this. Small, cheap and very decent specs.
- silicon2401 6y agoSincere question from a NAS-curious noob. If I wanted a setup for making media, documents, etc available on my network, would this be a reasonable option? All I really know is that a NAS is not a backup. I've gone ahead and purchased storage for backup, so now I'm curious if this would be a better budget choice than something like a Synology DS218 (much more expensive)
- MrBuddyCasino 6y ago> a setup for making media, documents, etc available on my network Sure its gonna do that. Major difference to Synology is it has a pretty case and usable out-of-the-box software, while here you've got to be comfortable with some Linux stuff. If you have a separate backup for the things that cannot be easily replaced (movies, music can just be re-downloaded), than I don't see the need to worry too much about redundancy or ECC RAM or ZFS etc.
- silicon2401 6y agothanks very much. May be worth checking out then. It would be nice to have something simple to start with and know what my needs really are before investing in something multi-hundreds of dollars
- untog 6y agoIt depends how deeply you want to get involved in all this stuff. I used to have a Synology box and it was great in terms of plug'n'play: you set it up via a nice web UI and it... just works! It also has downloadable plugins/apps that let you bolt interesting functionality onto the NAS. By comparison this Odroid box comes with Ubuntu preinstalled and that's it. Much more flexibility, but much more work involved too.
- mister_hn 6y agowhat holds me back from Odroid is their scarce support to updates. I remember the Odroid X series left to ancient Ubuntu and kernel due lack of upstream support. Better buy a RPi4 with a NAS Hat
- 3np 6y agoThere's always Armbian, or installing vanilla Ubuntu with appropriate modules.
- mister_hn 6y agothen you might incur in some strange issue with drivers or graphics.
- 3np 6y agoWelcome to the world of computers, I guess? Apart from iOS on supported hardware, I'm yet to experience a platform that's been entirely free of such issues.
- aidenn0 6y agoThere's a lot of gray area between "entirely free of such issues" and "completely unusable." The AMLogic chips on mainline linux are much closer to the latter than the former.
- 3np 6y agoAs long as you're on a board with good community usage in Armbian (Odroid is one of the most popular brands and some have official support), I don't think it's much worse than vanilla Ubuntu on any common laptop or desktop. Pick up a sketchy Android TV box from Ali that's not in the top 3 and yes, you're in for some "fun" times.
- aidenn0 6y ago
- roel_v 6y agoLooks cool as a toy, but the advantage of qnap is not the hardware (which is just cots), it's the software. Ain't nobody got time to mess about with mdadm. And no, Webmin isn't even remotely in the same league. I totally love the reliability and ease of use of all the qnaps I had over the years.
- KingMachiavelli 6y agoYou almost never would use mdadm directly since you can just use LVM which uses mdadm under the hood. Still no need for commericial software just for RAID.
- sumtechguy 6y agoI personally use solutions like qnap or synology for my personal use. Not that I dont know how or could not do it. It is more my patience for messing around with disk configs is rather low these days. Years ago I would mess with it endlessly and worry about every bit of the config. It was sort of fun in its own way. Now as long as it stores my files and can max out on my network I am pretty good and willing to pay to get ease of setup. If you are willing to trade time for money then go for it.
- kohlerm 6y agoWouldn't dust be a problem for non SSD drives?
- detaro 6y agoNot really, disks are sealed and don't really care about dust until it stops all airflow to them. Still not a fan of that form factor for permanent things, looks to easy to bump or knock over, so I'd probably mount it in a box with a slow fan if I were to run this permanently.
- toast0 6y agoHelium filled disks are sealed (as much as possible), but air filled disks are not, their airports are filtered though. If I were to use this as a permanent NAS, I also think an enclosure would be wise. This setup could be good for bulk data load/unload though (if the interface speeds work for you).
- justpete 6y agoI wonder if a few of these could be purchased to function as ceph nodes. I havent tried running ceph on ARM but it feels tailor-made for a cluster storage unit.
- cam_l 6y agoNot quite ceph, and not the HC4, but... https://magazine.odroid.com/article/200tb-glusterfs-server-using-the-odroid-hc2-for-massively-distributed-applications/ https://magazine.odroid.com/article/200tb-glusterfs-server-u...
- BlackLotus89 6y agoYes and no. It would work as ceph node, but I would argue that it doesn't fit the bill since you should have ~1gb mem per tb storage. If your load is low you can do with less and you could potentially use swap, but it would regularly freeze on you or crash the osd processes depending on your setup. If however you want to try it you could get raspberry pi 4s and use them over usb3. Get them with decent memory and use spinning rust to host the OS. To have an up to date version of ceph I would suggest using cephadm with podman to get it up and running with good builds. 1) enough memory 2) up to date ceph version Reminder: cephadm is kinda beta right now Maybe the odroid hc1 would be better, but I don't have one Edit: fixed auto correct
- progval 6y ago> If your load is low you can do with less and you could potentially use swap, but it would regularly freeze on you or crash the osd processes I capped my OSDs' memory usage using osd_memory_target (set to 1.5GB), to make them run on HC2s with 4TB and 6TB disks, I never had stability issues with these.
- BlackLotus89 6y agoYeah I set my memory target lower as well (I think around 900mb was the smallest value setable for OSDs ... Oh it's 939524096) since this value is only a target it would generally try to hit it, but (in my case) overshoot it regularly. In normal use this isn't a problem at all, but I got OSDs restarting under heavy usage. I would be interested in your stability. Can/Did you check your logs for OSD restarts? I could imagine that OSD processes died and got restarted by systemd. If not this could just mean that you either have a lower load than me, it could be better in a newer release or my setup could have just sucked :) would be interested to hear back
- zxcvgm 6y agoInteresting device! There's more details linked in the CNX Soft post [1], in particular, a thread on ODROID.com showing benchmarks [2]. The two disks are connected to the CPU via the ASM1061 SATA to PCIe x1 controller, meaning it can't fully handle max throughput from 2 SSDs, but I guess spinning drives should be fine. [1]: https://www.cnx-software.com/2020/10/20/odroid-hc4-low-cost-dual-nas-comes-with-4gb-ram-supports-2-5-inch-and-3-5-inch-sata-drives/ https://www.cnx-software.com/2020/10/20/odroid-hc4-low-cost-... [2]: https://forum.odroid.com/viewtopic.php?f=29&t=40609 https://forum.odroid.com/viewtopic.php?f=29&t=40609
- MisterTea 6y ago> The two disks are connected to the CPU via the ASM1061 SATA to PCIe x1 controller, meaning it can't fully handle max throughput from 2 SSDs... The network interface is a single gigabit port so this does not matter one bit.
- BlackLotus89 6y agoDepending on your use case I would argue. If you use it as a pure nas it wouldn't matter. If you want to do fast encoding or something similar and get bottlenecked by your storage it could be annoying. I do post processing on my NAS and use my SSD as swap so I like every mb/sec I can get :)
- escardin 6y agoThen you're using something bigger than a Cortex-A55?
- BlackLotus89 6y agoEdit: arg thought the comment was responding to a different comment from me. (Where I talked about my home ceph setup that was another reason why I need fast swap) Yes I build something using a standard x86_64 (celeron) setup. I heavily experimented with an all arm setup thought. I still find it pretty hard to balance a cheap build that is expandable. I recently lost an OSD and my setup had a consistently high load while recovering. I don't really like the power consumption of my current setup and am thinking of moving to arm. (I use multiple small HDDs between 1tb and 10tb and have different pools with different redundancys. Am thinking of replacing it with a simple raid or something and 3-4 12tb HDDs with a simple redundancy. Could use minio as s3 replacement and btrfs as fs [I won't use zfs for different reasons] btrfs has snapshots, compression and deduplication so everything I want and need. Never did use rbd over network) Edit: This is my home setup I'm talking about. At work we got a real setup.
- homero 6y agoIt says it takes 15V. Is that dropped to 12V to the disks or are disks ok with 15V?
- mmastrac 6y agoMost likely there's a DC-to-DC stage internally that provides a clean and filtered 12V from whatever the 15V DC input is. This gives them a bit of headroom for power design and ensures that regardless of the DC input, the device is getting clean DC power.
- deleted 6y ago[deleted]
- EmmEff 6y agoInteresting project/product, though I'd really like to see a conventional case instead of the "toaster" style.
- foresto 6y agoThis might be more to your liking: https://wiki.pine64.org/index.php/NASCase https://wiki.pine64.org/index.php/NASCase The first unit I got (the case) had manufacturing flaws, but the second one was okay. The board it's built for has been doing well in the first few weeks of testing.
- IgorPartola 6y agoVery interesting. If this thing can run Ubuntu, presumably you can run any OS and customize it, right? When it comes to storage, I don’t want anything unless it’s zfs or some other feature equivalent system.
- mindslight 6y agoNot necessarily. I know at least the older Amlogic (805?) based boards run a custom kernel, which ended up stuck at a specific version. You can't just install any arm distro on them, it needs to be specifically built with the hacked up kernel. And support tends to end sooner and get spotty (it looks like Odroid C1 is finally supported by Armbian, but hadn't been for quite some time). I don't know how much of this applies to this specific board, but there's a lot we take for granted in x86/amd64 land.
- snazz 6y agoARM SBCs often only work with a few "approved" distributions (downloaded from the SBC vendor) because the kernel patches required for it to boot aren't in mainline Linux.
- hardwaresofton 6y agoThere are a lot of distributions (and pieces of software) that care about compiling on ARM/other architectures thanks to various disparate things that exist -- raspberry pi's popularity, go/rust/and friends making cross compiling easier, etc. I've had a good experience with ODROID U2 (I personally think ODROID is my favorite SBC producer, so I'm biased, but most have some debian-based or similar distro that you can run and be productive things with. In the more concrete world, both ZFS and Ceph (Bluestore has checksuming now) run on ARM as far as I can tell: https://openzfs.github.io/openzfs-docs/Project%20and%20Community/FAQ.html#supported-architectures https://openzfs.github.io/openzfs-docs/Project%20and%20Commu... https://developer.arm.com/solutions/infrastructure/developer-resources/workloads/ceph https://developer.arm.com/solutions/infrastructure/developer... Releasing a board meant for NASes that you can't run either of those on seems pretty short sighted for a company that's definitely not new to the SBC game.
- johnchristopher 6y agoWhat's the use case for the IR remote ?
- lights0123 6y agoMedia center with the HDMI port, so you only need one box for a simple NAS + single media player setup
- NikolaeVarius 6y agoDumb question. Does Horizontal vs Vertical HDD matter for reliability/longeviy?
- hardwaresofton 6y agoNot a dumb question! If you're talking about spinning rust, this is precisely the job of some particularly niche sysadmins (the kind that manage storage clusters) to know. I'm not one of them, but a quick search produces this: https://serverfault.com/questions/13839/does-orientation-affect-hard-drive-lifespan https://serverfault.com/questions/13839/does-orientation-aff... The easier answer I'm comfortable giving (despite me not being a sysadmin by trade) is that good storage software/setups should abstract over and protect you from something like this, because SSD/HDD bit-rot is absolutely a thing regardless of orientation -- if you're not using a WAL-ing (ex. zfs) or checksuming (ex. ceph's Bluestore) file system you're exposing yourself to data corruption. Only thing left is whether you'll actually have your drives long enough for them to exhibit complete failure from orientation, can't know that except to test like Backblaze/other providers do.
- bserge 6y agoThe general consensus is that drive orientation does not matter. Makes sense to me, the parts are fixed, they're not heavy, gravity does not affect them. However I've not seen anyone test this in real life. FWIW I've only ever had drives mounted horizontally, the normal way and upside down. All of them had about the same lifespan.
- detaro 6y agoCommon wisdom is that it doesn't matter, but you shouldn't change it. Anecdotally drives that ran mounted vertically that then are moved to horizontal mounts do have increased failure rates.
- VectorLock 6y agoSomebody might be able to correct me on this but I believe that BackBlaze's vaults use vertically mounted drives, so that might be some useful data to apply to answer that question.
- bonkabonka 6y agoSomewhat related is the GnuBee: http://gnubee.org/ http://gnubee.org/ MediaTek MIPS CPU and only 512mb RAM though. The community is kinda moribund and the installation instructions don't match the firmware I got on the device. I've made a couple of halfhearted attempts to update to later versions but haven't had any success so far.
- BlackLotus89 6y agoIf you want to setup the gnubee be sure to have a good enough power supply and use https://github.com/neilbrown/gnubee-tools https://github.com/neilbrown/gnubee-tools instead of the official firmware. I would cross compile it since the compilation on the gnubee didn't provide me with a working image, but Neil browns effort getting a nearly mainline kernel to work are fabulous. There are a few pitfalls so make sure to check your devices Mac address before and after the install. Also do a rudimentary performance check on the HDDs with hdparm. I was disappointed at the gnubee as well because of the (IMHO) stupid design decisions with the bootloader and the bugs it entails when running a newer system from an SD card. (You have to name your partition a certain way and it changes to that partition halfway through the boot. Also they never really tried (afaict) to mainline uboot and the version they used is ... not nice. I really wanted to like and to use it, but for me it was a bit unstable with a full bay and since I didn't want to buy a bunch of new 2.5" discs for a unstable system and my 2.5" discs I tested with were all just 250gbit doesn't really work for me
- bonkabonka 6y agonod I also discovered that the 2.5" drives I bought to use with mine (Seagate ST3000LM024) are DM-SMR and thus fall out of even mirrored arrays within 24 hours of booting. :( Also because low RAM and MIPS, running Go-based software like Minio or Restic seems unlikely (or at least unstable). One of these days someone will do a proper homebrew NAS board. Surely.
- squarefoot 6y agoAnyone know about the status of the Kobol Helios64? So far it seems the best possible option hardware-wise for a compact ZFS capable NAS, although obviously very different in price from the Odroid HC4. https://kobol.io/ https://kobol.io/
- yencabulator 6y ago4 GB RAM for a 5-disk ZFS isn't going to be a great experience, as far as I understand.
- float4 6y agoI often read that 2-4GB is good enough if you disable deduplication, but I've never tried such configurations myself.
- yencabulator 6y agoMy understanding is that even beyond deduplication, ZFS performance relies heavily on caching data in memory, and without that it's actually quite slow. As in, it'll work with even 1 GB of RAM, but becomes less and less useful.
- squarefoot 6y agoMy use case would be two RAID1 mirrors plus a spare disk. I already have a 5 years old similar config on one Mini ITX Atom board with 4 Gigs RAM and Nas4Free; no problems so far. On ARM I would probably go with OMV (suggestions?) since XigmaNAS doesn't support that architecture (yet?).
- benjojo12 6y agoI've got one! It took a while to ship because it got wedged in the middle of the COVID supply chain and shipping meltdown, but now that I have it it's a solid device, massive upgrade from the 4
- squarefoot 6y ago
- rsync 6y ago"Hardkernel says the system comes with an Ubuntu Linux image pre-installed, but it should also support third-party software including CoreElec, OpenMediaVault, and Android. OS images will be posted on the ODROID-HC4 Wiki in the coming weeks." So you should be able to get a local command prompt and run things like rsync or SFTP over SSH, yes ?
- rektide 6y agoCool to see low-end finally get an upgrade to the old Cortex A53: a "new" (it was announced May 2017) Cortex A55 core. I mentioned this chip in a recent discussion on single-board-computer's cpus[1], in relation to Odroid's $50 C4 which uses the same chip & their much beefier 2.4GHz A73 $63+ N2+[1]. I realize the ethernet is the primary thing a NAS tends to need. Still can't be a bit disappointed that this board doesn't have USB3. Seems to be the chip, the S905X3, which multiplexes USB3 and PCIe on the same pins: you've gotta pick! And they use that PCIe for SATA, so there's no pins for USB. Alas alas, PCIe switching is just too expensive. It'd be so nice for some small PCIe switches to be more robustly used. And like, why not more pcie micro-IO hubs? Big desktop CPUs talk to platform hubs that have a bunch of SATA, USB, PCIe on them. They have no where near enough bandwidth to the CPU to support it all at once, but it allows for good expandability. Systems like this would benefit so much from a ~$8 platform hub, whose uplink is a PCIe lane or two, and which exposes 4 SATA, a USB3 root & 4 port hub, and 2x pcie x1 links. One of the notables from the recent "Turing Pi 2" was discussion of how to attach a bunch of peripherals to a micro-cluster, and they discussed their shying away from PCIe, which I started some discussion on[2]. I think the hub would do them well, but any old PCIe switching, especially with NTB, would do them a world of good, but is just regarded flatly by most of the world as "too damned hard" and/or "too damned expensive". Enough "alases" in this post already, but it would be so enabling to see us get better at "small" pcie. [1] https://news.ycombinator.com/item?id=24813668 https://news.ycombinator.com/item?id=24813668 [2] https://news.ycombinator.com/item?id=24830084 https://news.ycombinator.com/item?id=24830084
- StillBored 6y agoSo, much of running a NAS is going to be software support, which isn't something I think your going to get from this device. Yes its inexpensive, but say you want to run freenas (or another nas distro, or a hypervisor with a NAS). I don't think you get out of the box support for random OSs on this device because it doesn't adhere to any of the arm platform standards. So, at this price point your probably better off with a rpi4 and a USB3 disk enclosure. The nice thing about that solution is that the RPI is slowly gaining full out of the box OS support (vmware, windows, *bsds, along with the various linux's), it has much better cores (a72's), and the end user isn't limited to a 2 disk solution as there are a number of 1/2/4/5/etc bay USB3 enclosures. The end result is a flexable solution which can saturate the 1Gbit ethernet on the rpi4.
- foresto 6y agoCounterpoint: This is an Amlogic S905X device, presumably similar under the hood to the S905. Armbian already supports at least one such device (ODROID-C2) using the current kernel, so once the device tree configuration is worked out, NAS software support ought to be practically the same as any other linux box. It has at least one advantage over the Raspberry Pi for NAS applications: a real SATA bus. That means no mucking about with USB-to-SATA bridges, many of which do awful things like meddle with SMART reporting or spin down disks when they should not. The barrel connector for power is also an advantage IMHO, since mysterious failures due to voltage sags turn out to be very common with USB-powered single-board computers. (USB power can be done without such problems, but extra care must be taken to avoid the many cables, power supplies, and connectors that are not up to the task.) The S905 system-on-chip might not be capable of maxing out the throughput of an SSD, but for people who want a spinning rust server that's light on power consumption, it could be a pretty good fit. Thomas Kaiser, as usual, has some good insights over in the CNX Software comments: https://www.cnx-software.com/2020/10/20/odroid-hc4-low-cost-dual-nas-comes-with-4gb-ram-supports-2-5-inch-and-3-5-inch-sata-drives/ https://www.cnx-software.com/2020/10/20/odroid-hc4-low-cost-... Also worth mentioning: The RockPro64 has a faster CPU, a PCIe slot, a NAS enclosure, and mainline support in Debian unstable (though the Debian installer doesn't yet install a boot loader; that must be done manually for now). https://wiki.pine64.org/ROCKPro64 https://wiki.pine64.org/ROCKPro64
- jlgaddis 6y agoMeh, blogspam. The source has more information, including detailed specs: https://www.cnx-software.com/2020/10/20/odroid-hc4-low-cost-dual-nas-comes-with-4gb-ram-supports-2-5-inch-and-3-5-inch-sata-drives/ https://www.cnx-software.com/2020/10/20/odroid-hc4-low-cost-...