VodkapunditVodkapunditVodkapundit
The $550 $587 1.5 Terabyte Network Server
Posted by Will Collier  ·  12 August 2006

A while back, I posted a pathetic plea for help in putting together a home server. After considerable thrashing in both hardware and software, I finally got it working a couple of weeks ago. For those who're interested, here's what I did (and for those who aren't, Martini Boy will be back with something considerably more entertaining than this in a couple of days):

I've been planning to add a home media server for a while now. I wanted to save my DVD collection to hard disc for instant access (bite me, MPAA, they're my DVDs), plus have a place to store all out digitized music, as well as any new video extracted from my DVRs, all to be playable anywhere in the house, but mostly at the main entertainment system in the living room.

My requirements were something like this:

1. It's gotta be cheap.
2. It's gotta have a lot of capacity.
3. It's gotta feed high-definition video to a playback device (probably a Mac Mini).
4. It'd be nice if it were robust enough to recover from a hard drive failure.

After doing a mind-numbing amount of research and niggling price comparisons, I settled on building a server with six 300GB hard drives configured in a software RAID 5 array. In English, that means taking a bunch of hard drives and telling a piece of software to view them as one huge drive (that's the RAID part) with the extra feature of being able to recover all the data on the array if any single drive fails (that's the "5" part). That would give me just under 1.5 terabytes of storage, since under the rules of RAID 5, you lose roughly one drive's worth of capacity in order to save all the just-in-case recovery data.

Once I had the basic plan in place, it was time to start buying hardware. I found what looked like an ideal enclosure and motherboard on eBay for $50, and since the seller was local, I didn't even have to pay shipping; I just met up with him. I got a lucky break with the box, since it came with an unadvertised Gigabit Ethernet card (I also got a considerably less lucky break with the motherboard, but more about that later). A boot hard drive to run the thing was $13 (used), and the six 300GB drives wound up costing $425 total, using every demon-customer trick in the book. Three cheap Rosewill PCI cards to handle the hard drives totaled $51. I could have spent a lot more if a wanted/needed the higher performance of hardware RAID, but my requirements just didn't merit either the expenditure or the added umph. Eleven bucks worth of cables and a second fan for the case, and I was ready to go--or so I thought.

The first major roadblock was chronicled in my previous post. In brief, the Shuttle AK12 motherboard that I'd bought with the computer case just didn't want to boot with the hard drive controller PCI cards installed. A couple of weeks of fruitless tweaking later, I gave up on the Shuttle board and spent another $37 on an Intel D815EEA board with an 867MHz Pentium III CPU, again from eBay (this kind of home-use server with no more than three or four clients connecting on a really busy day just doesn't need a super-fast chip).

The Intel board worked like a charm, recognizing the PCI cards and booting without a hitch, and I was finally in business--or so I thought. Now it was time for software problems.

I'd planned all along to use a little OS package called FreeNAS to run the server. FreeNAS is basically a stripped-down version of FreeBSD (an open-source UNIX variant, similar to Linux) that's tweaked for home server use. "Perfect," I said when I ran across it. "It even supports software RAID 5. What's not to love?"

As it turned out, plenty. While FreeNAS does advertise RAID 5 support, once you dig into the documentation (and bad on me for not doing so before installing it), you find out that the RAID 5 implementation is, as C-3PO would say, "not entirely stable." In real life, that meant the array fell apart the first time the server was rebooted, and couldn't be recovered. Lucky for me, I hadn't saved anything of note on it yet.

To be fair to FreeNAS, it's a great idea, and one that's very openly still in the development stage. That said, my experience with it indicates that like so many open-source projects, it's just not ready for prime time. I'm sure I'll get plenty of messages from *NIX gurus telling me if I'd just recompiled the fargle in the kernel and tweaked the shazbot files in the wkjtb program, the supercalifragilisticness of the open source world would have become clear immediately--but that's not why I picked out FreeNAS in the first place. I picked it because it had a great feature set and a friendly GUI (the latter of which really is very nice). When the feature set is solid, I'll have another look, but in the meantime, I needed something that "just works."

Now, I am not a Microsoft fan. I am most definitely not a Windows fan. But when I ran across this site describing how to hack Windows XP so that it will create and maintain a software RAID 5, I figured I'd at least give it a shot. I had an extra Windows license laying around from the wife's deceased lightning-struck Dell, so I installed a copy on the server's boot drive and proceeded to walk through the RAID hack.

And what the heck, it works. The main downside is, recovering after a reboot is painful--you have to re-start the RAID from the Disk Management tool, and re-set its sharing preferences so the rest of the network can see it--but the data stored on the array pops right back up as soon as the RAID is running again. Performance is, as you would expect, not anything to write home about, but it does work well enough for my needs.

So there you have it, the story of the cheapest excuse for a 1.5TB network server known to man. Like they used to say on "Jackass," we must insist that no one attempt to recreate or reenact this stunt at home...

Comments

What kind of cooling are you providing for those 6 hard disks?

Posted by: joejoe at August 12, 2006 02:26 PM

Fans, fans, and more fans.

Posted by: Will Collier at August 12, 2006 03:16 PM

I set up something similar a couple of years ago, using Linux.

After a couple of upgrades it now has 5x"300GB" drives (actually, 4x"300GB" and 1x"320GB") for about 1.15TB of space. It works great.

The advantage of Linux is that its software RAID is very stable, easy to set up, and works fantastically. And recently they added a feature so you can add another disk to a RAID5 without losing your data!!

I did that about a week ago. Hence the newer drive I added. Went like a charm, although it took all day to perform the addition. Then I grew the file system (XFS) and had "300GB" more space :)

Why do I put "300GB" in quotation marks? Because a "300GB" drive is actually about 275GB and a "320GB" drive is actually about 298GB. They just call it a larger number to make you think it's better. Same goes with Flash cards :(

I use mine for music, movies and miscellaneous storage. It's fantastic having access to all my CDs and DVDs with the click of a mouse.

Posted by: Nicholas at August 12, 2006 09:10 PM

Nice, you should cluster it next. 1.5 Tarabyte server is an awesome idea. Use SCSI drives and things will move like lightning.

-------------------
Art-Hammer.com (http://www.art-hammer.com) - Have Real Artists Make Your Canvas
Gamer Fan (http://www.gamerfan.com) - You are the player

Posted by: Jim Smith at August 12, 2006 11:30 PM

Check out the new Mac Pros

http://arstechnica.com/reviews/hardware/macpro.ars

There's 4 drive bays that allow you to load any standard drive and pop them in - no cables, direct attach. Assuming each bay has a 500 GB drive, that's 2 TB in a single tower case. Use the new 750 GB drives hitting the market right now, and well....that's a lot of DVD.

Apple's Disk Utility provides free built-in support for RAID 0 and 1 via software

http://docs.info.apple.com/article.html?artnum=106594

A pretty sweet system by anyone's standards!

Posted by: Paul at August 13, 2006 12:32 AM

> Assuming each bay has a 500 GB drive, that's 2 TB in a single tower case.

... if you have no redundancy. If you use RAID5 you get 1.5TB.

I thought the new Macs were great, until I saw the price... it's always the way with Apple products.

They're basically rackmount server systems in a desktop form factor. And they cost about the same too.

Posted by: Nicholas at August 13, 2006 05:26 AM

The specs on the Mac Pros are great, but as others have noted, they're way too pricey. Apple has always made its real money by marking up the high-end models. The new boxes are no exception, and they're out of my price range. I might pick up a refurb when they're last year's model, or I might even try building my own OSX86 box (once again, don't try this at home, kids) instead...

Posted by: Will Collier at August 13, 2006 08:37 AM

Yeah, the drive manufacturers rate the drive size in powers of 10, but operating systems count the size in powers of 2. So according to the box, 300GB is 300 billion bytes, but to the OS, it's roughly 279,396,772,384 bytes (plus or minus a few ten-billionths of a byte). Kinda sux, since you're "losing" about 20GB. Then you have to format that, which loses you a goodly chunk more. Ah well, nothing we can do to change that, I suppose.

Posted by: Red Five at August 13, 2006 12:55 PM

TO: Will Collier
RE: Interesting Report

Especially if you have:

[1] The time.
[2] The skill.
[3] And MOST importantly, not caring about the freedoms we enjoy here.

Regards,

Chuck(le)
[Microsoft opposes the Bill of Rights, when it supports their bottom line.

Thank you for 'caring'....]

Posted by: Chuck Pelto at August 13, 2006 03:24 PM

If you're in the market for network storage, you might check out the Infrant NAS boxes... Link here. I just picked up one and populated it with 300gb drives.

The have gigabit ethernet connections, and gobs of features (and they run linux under the hood).

Very happy with mine, and it allowed me to reassign my huge linux box to other things. Much smaller and quieter than the big tower-case RAID-10 (running Slimserver) that was supplying music to my home network.

Posted by: TheNewGuy at August 13, 2006 10:26 PM

IIRC, drive capacities are quoted unformatted. Come up with a storage protacol with no sectors and headers and you'll be able to fill the drive with data.

Posted by: triticale at August 14, 2006 06:13 AM

Windows? Windows?! Good lord man. That's almost as bad as running Linux.

I think you'll find that just about everyone's software RAID implementation sucks. gvinum on FreeBSD is decent, and stable, but it's a bitch to set up. I assume the fact that someone tried to gui-fy it had more to do with your array going boom than the subsystem itself. It's not forgiving to mistakes.

I stopped trying to dork around with it years ago, as plunking $200 on a hardware RAID card or two seemed a sound investment given the hours of annoyance, hair-pulling and profanity it saves.

Posted by: Mr. Lion at August 14, 2006 10:45 AM

I gave up and got one of those Infrant boxes. They're a little pricy, and I got one of the earlier models, which has a loud fan. The best thing about it is the web interface.

When the drives start dying on this thing, I don't know if I'll go back to a regular Linux RAID or not.

Posted by: ErikZ at August 14, 2006 03:34 PM

IIRC, drive capacities are quoted unformatted. Come up with a storage protacol with no sectors and headers and you'll be able to fill the drive with data.


Nope, Red Five got it right- the drive manufacturers marketing departments (all of them) claim a gigabyte is one billion bytes*.

Your computer's OS says a gigabyte is 1,073,741,824 bytes (2^30).

Check it out- here's the datasheet for some Seagate drives-

http://www.seagate.com/docs/pdf/datasheet/disc/ds_db35.pdf

Look for this small text at the bottom of the table: "One gigabyte, or GB, equals one billion bytes when referring to hard drive capacity."

IIRC, one of the major drive manufacturers recently settled a class-action suit over this. Unfortunately, the settlement does not seem to have included a provision that required them to correct their advertising.

*This is one of the (many) reasons why hardcore techies tend to have a low opinion of any information from the marketing types. They seem to think computers round off big numbers. IMO, the numbers on marketing types paychecks should be in binary**- maybe then they'd understand how people feel when number X is advertised, and the actual number turnes out to be Y.

**Congratulations! Your new annual salary is $101,000 (binary).

Posted by: rosignol at August 15, 2006 03:35 AM



Navigation

MDS - Give Until It Hurts

Terror War Scorecard
Watching America

50 Things
American Cancer Ablation Center
Buy VodkaPundit Stuff



VodkaPundit on Amazon
Vodkapundit for PDA (AvantGo)
Vodkapundit for PDA (Not)
VodkaPundit XML or RDF

Search



Advanced Search



Last Call

The Author

"Even when he has nothing to say, I still like looking at his picture."
-Venomous Kate

Absolut Link

Blog-Iran

Top Shelf

Ann Althouse
Baldilocks
Austin Bay
Belmont Club
Tim Blair
Chequer Board
Command Post
Counterterrorism Blog
Day By Day
Daniel Drezner
From the Bleachers
Hit & Run
INDC Journal
Iraq the Model
James Joyner
James Lileks
Megan McArdle
OPFOR
Protein Wisdom
Glenn Reynolds
Bill Roggio
ScreedBlog
Roger L. Simon
Rob Smith
Steven Taylor
Venomous Kate
Matt Welch
Winds of Change
Michael Yon
Yuppies of Zion


The Usual

Across the Atlantic
Anticipatory Retaliation
Atlas Shrugs
The Black Republican
Blogcritics
Captain's Quarters
Phil Carter
The Daily Ablution
Andrew Ian Dodge
Eye on the Left
Mike Hendrix
In From the Cold
Charles Johnson
Kathy Kinsley
A Likely Story
Brian Linse
Jay Manifold
Neocon News
Frank Martin
QandO
Bill Quick
Rantburg
John Scalzi
Sine Qua Non Pundit
Team Stryker
Mac Thomason
Michael Totten
Jesse Walker
Dr. Weevil
Bill Whittle
Chief Wiggles
Sissy Willis
Cathy Young

Micro Brews

American Realpolitik
Black Five
Boots and Sabers
Capitalist Lion
Scott Chaffin
John Cole
Coming Anarchy
Bo Cowgill
Dr. Frank's Blogs of War
Donklephant
Ed Driscoll
Kim du Toit
Glenn Frazier
Joe Gandleman
The Gay Patriot
Godless Capitalist
Bill Hobbs
John Hudock
Frank J.'s IMAO
Joanne Jacobs
Brothers Judd
Junk Yard Blog
Major John
Davids Medienkritik
Mr. Misha's Rottweiler
Only Baseball Matters
Matt Moore
Jack O'Toole
Peaktalk
Eric S. Raymond
Red Sugar
Resurrection Song
Robin Roberts
Andrea See
Mathew Sheren
Spoons Experience
DC Thornton
Yankee Station

Gin & Tonic

Albion's Seedlings
American Digest
Radley Balko
Paul Berger
Robert Bidinotto
Blogometer
BusinessPundit
The Chicago Boyz
Classical Values
Conrad the Expat
Susanna Cornett
Dave Cullen
England's Sword
Dean Esmay
Horsefeathers
Jessica's Well
Alex Knapp
Legal Spin
Light of Reason
The Lipstick Republican
Moxie
OxBlog
Suman Palit
Punch the Bag
The Pursuit of Happiness
Samizdata
Sofia Sideshow
Natalie Solent
Texas Best Grok
Professor Michael Tinkler
Cal Ulmann
Brothers Volokh

Cosmopolitans

Justene Adamec
Stephen Bainbridge
La Shawn Barber
Moira Breen
Sasha Castel
Colorado Psycho
Clayton Cramer
CrossingWallStreet
Martin Devon
Kevin Drum
Henry Hanks
Diana Hsieh
Jeff Jarvis
Jessica
Sean Kirby
Liberty Belles
Rachel Lucas
Jeralyn Merritt
Philip Murphy
Oasis of Sanity
Andrew Olmsted
Walter Olson
Michael Parker
Popped Culture
Porphyrogenitus
Fritz Schrank
Donald Sensing
Elizabeth Spiers
The Swanky Conservative
Two Blowhards
Michael Ubaldi
Alexandra von Maltzan
Will Wilkinson

Rum & Coke

The Argument Clinic
Below the Beltway
The Bitch Girls
Jay Caruso
Dog's Life
Fire On The Mountain
GeckoBlue
GZ Expat
David Hogberg
John Hawkins
Horologium
Kris Lofgren
Floyd McWilliams
John Moore
PhotoDude
Robyn Pollman
Chas Rich
Silflay Hraka
Geitner Simmons
Skippy
Dave Tepper
Transterrestrial Musings
Trying to Grok
Walter in Denver
Don Watkins
Weekend Pundit
Joshua Zader

Tequila Shots

Todd A
N.Z. Bear
Begging to Differ
David MSC
Gary Farber
Highered Intelligence
Isntapundit
Jonathan and Wanda
Ken Layne
Nick Marsala
Dan Michalski
Sheila O'Malley
Dawn Olsen
Tony Pierce
Raving Atheist
Matt Traylor
Sekimori
WMET Blog
World Wide Rant

Manischewitz

Moe Freedman
Tal G. in Jerusalem
IsraPundit
Kesher Talk
Mike Silverman
Allison Kaplan Sommer
Meryl Yourish

Boozehounds

Allah Is In the House
Dave Barry's Blog
The Daily Sedative
Doug Dever
Daniel Frank
Scott Ott
Large American Penis
Short Strange Trip
Ten Fingers, Six Strings
Jim Treacher

Cyanide-Laced Kool-Aid

Laurence Simon

Sex on the Beach

Body in Mind
ErosBlog
Eroticalee
Just One Bite
Fred Lapides
New York Hotties
SLA
Unablogger

Kegger

Ben Domenech
HokiePundit
Hoosier Review
John Tabin
Nicholas West

Fosters

Duck Season
Mike Jericho
John Ray
Bernard Slattery
Whacking Day

Molson

Banana Counting Monkey
Daimnation!
Dispatches
David Janes
Western Standard

Left Wing Bar Nuts

Ted Barlow
Joshua Marshall
Dan Perkins

Cover Charge

Eric Alterman
Dave Barry
Barone Blog
Austin Bay
Jay Bryant
C-Log
Campaign Desk
Steve Chapman
Dallas News Blog
Matt Drudge
Google News
Nat Henthoff
Hugh Hewitt
Mickey Kaus
Howard Kurtz
National Review Online
The New Republic
The New York Times
Newsweek
OpinionJournal
Kathleen Parker
Daniel Pipes
Virginia Postrel
Roll Call
Larry Sabato
Linda Seebach
Slate
Sploid
Mark Steyn
StrategyPage
Andrew Sullivan
Tapped
Tech Central Station
Time
US News & World Report
David Warren
The Washington Post

Under the Table

American Times
Angry Left
Asparagirl
BitchPundit
John Braue
Shiloh Bucher
Carthaginian Peace
Lorenzo Cortes
Steven Den Beste
Fevered Rants
Scott "Funkadelic" Ganz
Juan Gato
Happy Fun Pundit
Andrea Harris
Scott Koenig
Brink Lindsey
Sue Lizano
Kieran Lyons
Mean Mr. Mustard
Meeshness
Punditwatch
Dennis Rogers
Jim Ryan
Spinsanity
Unremitting Verse
Norah Vincent
Tony Woodlief

Archives

Powered by Movable TypeDesign by Sekimori