FreeNAS Box V1 Design

FreeNASv1_CADOnce the components are gathered, we start thinking about designing an enclosure for them. The tool of choice is the Tux-Lab laser cutter. The material of choice is acrylic sheet. The objective of the exercise is to learn how to build with acrylic and ideally create something novel and unique.

Since my mind is already on acrylic, it was a short jump to think about the Apple Power Mac G4 Cube. A landmark of industrial design. Obviously what I make won’t be as pretty, but it’ll be my homage to the cube. Here are the two main design considerations in my FreeNAS experiment #1.

Hard Drive Cooling

Heightwise
Airflow along the sides has small surface area.
Lengthwise
Airflow lengthwise has large surface area, but will be obstructed by data and power cables.

 

Crosswise
Airflow crosswise has large surface area and will not be obstructed by data and power cables.

Since the goal is for low power, low noise, and small size, I didn’t want to add any fans. The small fan on the processor and the large fan in the power supply will take care of their respective components. That leaves the two hard drives without their own cooling, so the enclosure will have to utilize airflow created by the power supply fan.

We desire the maximum cooling surface area that presents the fewest obstructions to the air stream. And we want to work with (instead of against) natural convection forces. Evaluating the possibilities, the best choice is to align cross-wise airflow to be vertical by sitting the hard drives on their long sides.

Power Supply Spacing

PSU UprightFollowing the lead of the G4 Cube, air intake will be on the bottom and the power supply (with its fan) will sit at the top to work alongside natural convection and exhaust hot air.PSU Tilted

With the power supply sitting at the top, and the hard drives sitting on their sides against the bottom, that leaves a fairly large piece of unused space. The wires protruding from the power supply is also a concern. We either have to force those wires to make sharp downward turns to reach the system components, or we have to increase the depth of the enclosure to give the wires room.

Our experiment #1 tilts the power supply downward 30 degrees to utilize the available space to relieve the wire spacing issue.

Will these ideas work? Let’s build it and find out…

 

Components for FreeNAS Project

I wanted to play with FreeNAS without spending a lot of money to build the computer to run it. In fact, I would prefer not spending any money at all. This is a lot like how the Luggable PC project started: figuring out the most interesting thing I can do with computer parts I already had on hand.

AM1IThe brains of the system will be a Mini-ITX board, the MSI AM1I. I got this board a few years ago, along with its AMD Athlon 5350 processor while they were on sale at Fry’s Electronics together as a bundle. This pair has participated in many experiments and projects since. It was visible in some early Luggable PC project pictures, mostly of the January 2016 “Easel Frame” phase. And now, it will play host to the FreeNAS project.

The storage will be provided by two Seagate 2TB hard drives. These drives were part of my Windows Home Server and had been gathering dust ever since the server was decommissioned. They will now re-enlist to serve as storage for the home network.

The power will be provided by an ATX power supply that I’ve relegated to standby/ backup status. In its old age it has started to develop some coil whine. While it has not yet become a functional issue, the noise is unpleasant coming from a computer on my desk. Which makes it the ideal candidate for powering a NAS box stored someplace out of the way, probably out of sight, and best of all, out of hearing range.

I could throw all these pieces into a commercially available case, and call the physical setup done and turning this FreeNAS project into a strictly software learning exercise. But where’s the fun in that?

When I said I wanted to build a FreeNAS box I meant that literally: I want to build the physical box to enclose the above components.

My FreeNAS Project Begins

FreeNAS LogoRecently I lost access to my Amazon Drive for approximately 72 hours. There was no data loss, merely interrupted access, but it highlighted the fact that cloud-based storage can disappear on me just like any other kind of storage. This experience moved a back-burner project up to the front burner: adding NAS (Network Attached Storage) to my home network to supplement the (relatively) small SSDs in my computers.

I used to have a Windows Home Server on my home network, which presented network storage as part of its feature set. Sadly for me Microsoft had abandoned that product line, so I decommissioned my machine with no network-based replacement. I moved back to straightforward USB hard drives at home to supplement my cloud-based storage.

Since I’m not entirely sure a 24×7 network-accessible storage would be useful enough for me to justify the electric bill, I didn’t want to go out and spend several hundreds of dollars on a Drobo or similar commercially-available NAS. I also wanted to learn more about this part of the computing world. Drobo (& friends) are designed to be super easy to use, set-and-forget computing appliances. I wanted to see a little bit more under the hood and get a better feel of the nuts-and-bolts.

A desire for lower up-front cost and an interest in seeing the guts… sounds like time for an open source software solution! And like most open source solutions, there are several different projects, some with multiple forks, all proclaiming to be the best solution to the problem.

I decided to try FreeNAS as a starting point. The code base has been around a while (though supposedly extensively rewritten recently) and it is currently funded by iXsystems who makes money by selling storage solution for businesses. (Basically hardware specifically built to run FreeNAS.) So the product has some history, and has a funding source to help make sure it has a future. Both are good things.

Sounds promising, so let’s build a FreeNAS Box!