How to: Build a file server…. and why you should….(Part 1)
Welcome to the first part in my three part series about the joys of building and operating a standalone file server for the home.
In this first part I will cover the ground rules for having a file server and hardware selection.
Back in June 2005, I switched from having a basic run of the mill Television in the living room to the brave new world of media centers. Gone was the aerial connection from the back of the TV and in to the back of my new sleek looking Silverstone cased media PC.
Once everyone in the household had become accustomed to the new addition, world of opportunity was opened. Here was a device that gave us access to our complete music collection, family photographs and ripped video all from the comfort of the sofa using a remote control.
However this opened up other issues, where was all this stuff going to be stored. I am seriously in to my photography and my desire to store my images in the camera’s raw format was having serious implication for my storage needs.
My solution at the time was to turn my main PC in to this monster of storage and processing hub. The PC was rehoused in to the biggest tower case I could find, the best RAID card I could afford and 4 320gb Sata hard drives. The PC was perfect - it had plenty of storage for my media needs as well the processing power to handle my image and video editing wants. With the setup of various Folder Shares it even served files to our content hungry Media Center in the living room.
This solution has been working well for the last couple of years until that is the downsides started to annoy me. Here is a brief list of issues problems which plague this method :-
-
Noise - to maintain your sanity while editing images and videos you need a powerful PC, which in turn means serious heat, which in turn means good thermal management i.e. Loud Fans and an attack on your sanity
-
Noise - having 7 hard drives in one case which also happens to house a very fast processor means lots of heat, which means lots of thermal management i.e. Even More Fans
-
Electricity Bill - Not cheap when you have a powerful thirsty rig running 24/7 ready to serve the odd mp3 or photograph
-
Rebooting / Downtime - This means your media is not available and Murphy’s law dictates that when you need to reboot the machine it is also the same time your Wife is busy watching her favourite video in the living room
The above list is only a few of the reasons why I decided to build myself a file server.
Planning
First thing to do with a project like this is to sit down and set some ground rules. Define what you want from your file server and outline how it is going to be used. You then need to introduce the constraints your project has to fall within, these can things like budget or future proofing. Boundaries are important or you’ll be back trying to deal with the problems mentioned above.
My needs are simple - plenty of storage delivered by a cool and quiet machine. A machine which can left running 24 hours a day for 365 days of the year without being a power hog or creating enough heat to cause the melting of the polar ice caps. I do have some budgetary constraints but as I will hopefully be recycling several items which I already own I expect to keep costs reasonable.
I have not mentioned speed, the duties I have in mind even an old 486 would cope easily.
My media center PC is getting long in the tooth and it is time to upgrade the internals to cope with the upcoming HD standards. Current engine is a Intel P4 (Northwood) running at 3.0Ghz on an Abit IC7-G Motherboard with 2GB of DDR2 memory driving an ATI (AMD) x700 AGP graphics cards. Once taken out of media duty these would make the perfect hardware base for the file server, if anything I would say it is over qualified for the workload expected.
Other recycled equipment will include 4 Western Digital 320GB sata drives with the Promise SX150 4-port Raid controller, Icy Dock MB453SPF 3 bay drive enclosure and 2 Western Digital 160GB drives.
Lastly is my old Enermax 370 Watt very quiet power supply. I have had the supply for a few years and it has been an excellent work horse. It comes from an era when 370 watts meant 370 watts not like the current craze of having power supplies which have 800 Watts plus lit up in blue LED’s but barely manage 500 Watts when used in anger.
I know a few gear heads who read this blog are thinking this guy has got it wrong and he really should invest in one of the new 1000 Watt monsters but let me dispel a few myths - you really don’t need 1000 Watts.
This file server will have 8 hard drives installed and going by the various datasheets maximum power draw is stated to be about 10 watts during spin-up while reading/writing / idling is normally around 7 watts. Let us use a figure 50% higher say 15 watts used during spin-up, so basic maths tells us 8 x 15 watts equals 120 watts. So worst case scenario is if all drives were to spin up at the same time they would draw 120 watts.
The motherboard, graphics card and CPU have been estimated to draw about 160 watts remember this is assuming the CPU utilisation will be 100%. So our total draw will be about 280 watts, clearly within the specs of the PSU.
Lets introduce some more figures, in this application I doubt average CPU utilisation will exceed 25% while carrying out file serving duties and as the graphics card will not be doing any work I expect motherboard, graphics card and CPU draw to come in around 120 watts maybe less. The hard drives will spend most of their time powered down but let’s assume they are all idling and drawing 7 watts that gives us a drive total of 56 watts. Grand total for the file server to do its job will be around 176 watts leaving us with headroom of nearly 200 watts. So my elderly 370 watter will be fine in its retirement home.
I should point out while the above simple assumptions tell us the PSU will be ok in this application be warned none of the above takes in to account how the PSU spreads it power capability over the different voltage lines. You could be in a situation where you need 160 watts on the 5v line and your monster 500 watt supply may only be rated to supply 100 watts on the 5v line. Something to bear in mind when you have especially spec’d a supply which will be operating within 20% of its rated capacity.
I will not abandon this area, in the final part of this series I will make some power measurements - just to show you how bad my guesstimates were!!!
New Gear
I really like the idea of multi-bay drive enclosures so I have opted to go for a Icy Dock MB455SPF which is a 5 bay enclosure taking up 3 5.25″ device bays in the case. The reason why I went for the 5 bay is simple, the motherboard I am using has 4 sata ports plus 4 ports on the raid controller means I am limited to 8 hard drives in my server. As I already have a 3 bay enclosure the 5 bay will take my total to 8 bays. Make sure you read part 2 of this series about the must do mods for these enclosures.
Final bit of hardware was the optical drive, being so cheap decision was made to get a DVD writer in the form of a Pioneer 112D.
So we now move on to the case, normally when I build a PC the easiest part is deciding on the case but this project was the exception. We need a case which will provide 6 external 5.25″ drive bays while being compact and looking good. Finding a case with 6 external bays is easy there called Towers Cases, but they are just to big and clumsy for this application not to mention very expensive.
After several weeks of searching I came across what must be the perfect case. It has 9 external 5.25″ drive bays, yes I said NINE!!! Looks good actually if I may be so bold looks stunning, and it is tiny measuring only 200 x 435 x 486 mm. I should point out this is a small case and to make things worse the Icy Dock enclosure are pretty deep units. I must admit I did have my fingers crossed that everything would fit in. Enough about the worries let me introduce you to the Sharkoon Rebel 9 Economy.
A few observations about this case. It is very cheap but surprisingly it does not suffer too badly, I would say it is better quality than other cases in this price range. It does fall short in several areas which may matter to some people and not to others. The metal used is thin and has lots of flex especially the motherboard tray and the side panels.
The metal surfaces are finished well enough but the edges have not been rolled or deburred, which can be bit of a health hazard. The fit on the side panels is not that great partly due to the flex in the metal as well the poor slide catches. There are no luxuries like tool less drive installation or removeable motherboard tray. You do however get 4 front mounted USB ports as well as audio in and out jacks.
Regardless of all the downsides this case I think makes the perfect file server for the home. I will show you a modification which I found was very necessary with this case but I should state it is a mod I normally make to all my PC cases which I will describe in Part 2 of this article.
How Much …….!!!
Here is the final spec for the file server including the price paid for the various parts. I have listed current equivalent components plus approximate prices.
| Current Equivalents | |||
| Abit IC7-G | - | £70 | Gigabyte GA-P35c-DS3R |
| Intel P4 3.0Ghz HT Northwood | - | £33 | Intel Celeron D 352 3.2GHz (retail) |
| 2GB DDR2 PC5200 Memory | - | £25 | |
| Enermax 370W PSU | - | £35 | |
| Icy Dock MB453SPF 3-Bay Enclosure | - | £47 | |
| Icy Dock MB455SPF 5-Bay Enclosure | £80 | £80 | |
| Pioneer 112D DVD Writer | £14 | £14 | |
| 4x 320Gb Sata drives | - | £180 | |
| 2x 500Gb Sata drives | £120 | £120 | |
| 1x 160Gb Sata drive | - | £30 | |
| - | |||
| Sharkoon Rebel 9 Economy Case | £27 | £27 | |
| - | |||
| Total using recycled parts | £241 | £661 | Total to build from scratch |
If there is case for recycling this is it. Costing one third of buying it all in, you end up with a monster of a file server costing very little. The new build cost seems expensive on the surface but you have to remember £660 ($1320) will be buying a fileserver which is future proof and gives you over 2.2Tb in storage to get you going.
My list above is not the only combination you can have and I am not the sole authority on building file servers. There are several places where you can save money (and lots of money) without compromising too much on features. For a start do you need removable hard drives? Most people will not and if I was honest nor do I - however it does look good! Just dropping the removable sata enclosures will knock off £127 ($250) healthy chunk of change.
Maybe you would prefer to organise your storage need differently, one avenue is to drop the 4 320Gb drives and just get 4 500Gb monsters. This gives you 2Tb of storage and a £60 ($120) saving.
I am bit of a brand sl*t and I only really understand Intel, so I have quoted for Intel based motherboard and processor. Looking around at other hardware and you could go a long way towards saving another £30 - £40 ($80) just by switching to AMD based motherboard and processor, while getting the same performance.
You will notice I left out the Promise SX150 raid card. While I love this RAID card and it does serve me well, I just don’t think it would make sense purchasing such a card nowadays. The Gigabyte P35C-DS3R spec’d above has Intel’s P35 chipset which includes a well featured raid controller built-in.
At this entry level the performance difference between these two solutions just does not exist and the motherboard solution is just so much easier and cheaper.
Look out for part 2 where I will cover the assembly of this hardware to form the basis for your file server as well as including lots more pictures!!!
- Related Posts



