Pages

Saturday, June 15, 2013

How To Build A DIY 4K Raid..!


As many of you may already know or should know...4K is here to stay! That's right...each year the past several we've been hearing and seeing more and more 4K buzz at big expos like CES and Nabshow especially. So far we've seen the 4K TV and Professional Monitors hit market each year but at a very high buy in price. Though more recently the hottest screen for the money is the the Seiki 4K going for around $1499(or less...I've seen them sell for as little as $1k on ebay). This has been one big issue with 4K still taking a long time to be embraced outside of the local Movie Theaters like Regal, AMC, or for me locally Cinetopia have all upgraded screens to 4K. This past Nabshow we also got another curve ball. Blackmagic Design introduced a 4K Cinema Camera to follow last years 2.5K for $3k camera. The exciting part is it's only $4K for 4K(you can learn more about it on my Blackmagic Booth vid). The other issue have been how do I play it out. Well more recently various companies are offering you options. Nvidia have several offering that will output 4K, Matrox as well with their 4K Mojito Card(also check out my booth vid for Matrox with Dan discussing their new 4K card), and again Blackmagic with their New DeckLink 4K Extreme so as you can see you have options!


Unfortunately I can't offer you any ideas to build your own 4K i/o card, camera, or monitor...but if you're like me and are looking forward to a World In 4K...then one other major piece of the puzzle outside of a fairly beefy machine like my HP Z820 which is my Workstation of choice(you can also follow my journey switching from Mac to HP here). As of now the fastest machine for your A/V needs is the the HP Z820...only time will tell how the new MacPro performs next to a pimped out Z820(I would love to put it to the test Apple...you can learn more about the new 2013 MacPro here). So it's pretty clear all the companies are bringing 4K hardware to market sooner than later-reality is...it's already here). It really only comes down to money. There really isn't a compromise. In time all tech gets better, faster, cheaper. I only expect to see more in the coming years!

So what does that all this above have to do with anything. Well in my blog post I like to not just give you one idea...I like to let you in on the variety of stuff you might need. One area I think can be easily forgotten is how you plan to store all this data, play it back, and have a backup. Well when it comes to 4K it's a ton of Data. I myself own a Red and shoot everything in 4K. I outgrew my 8-bay iStoragePro iT8MIS. Nothing against their bigger 16 bay raids....I just hit a bottleneck in my workflow with my old 3GB/s Atto R380 and iStoragePro solution. I needed bigger, better, faster. I priced it around and iStoragePro had a nice enclosure but at this point in time out of my budget. I believe it sells for around $2k(by itself with no drives). If you don't have the time to tackle a DIY raid I highly recommend their solutions. Another company that a lot of Red users use is Maxx Digital. They have a sweet soluiton but is pricy. I priced out a 32 TB solution at $12.5K I believe. Not all of us including me can afford that(at least not at this time). So I started looking into a DIY solution. Doing some basic searches I really didn't find any info on creating such a raid. Since I've been up against this challenge and no good documented solution I figured this might be of great interest being that the transition to 4K is getting to be a lot more possible(this 4K do we need it or not debate is not what this post is about-it's for users who want to or need to and need a bigger, better, faster raid they might be able to build themselves-but I assure you this applies to anyone really. This will work with any format smaller or bigger...it's just storage...but not all storage can handle 4K so that's why I'm sharing how you can build your own)!

So after a fair amount of research and some bad information I ended up building my own the hard way buying stuff, trying it, and buying different stuff cause the retailers didn't exactly give me the correct info(won't name any companies names). So I've taken the guess work out. I can't give you an exact step by step but I'll give you the basics. Since I am using an old SCSI enclosure we gutted out giving you an exact step my step to build the exact raid I built would be a bit pointless since it's an old box and likely impossible to find the exact one. The good part is rack mount enclosures abide to a specific spec to fit the rack. So good news is likely any old rack will work. Just search ebay like I did and you'll likely find one. All you need to look out for is that it's tall enough to install the hot-sway boxes, is deep enough to house all the cable and SAS controller, and have a single or dual or even triple power supply like mine..! You can also just pick up a really large extended computer tower case...just be sure you can install all the hot-swap boxes in the front without any issues. Power supplies are fairly cheap and hard drives don't require much power at all. Since I built a rack style raid I will focus on that scenario but I'm just mentioning it if you can't find one or don't want a rack style raid you can just use a computer case and install the same hardware in it.

First off I'm going to provide the Parts List for 4K DIY Raid:
(Note: * Reference pic of DIY 4K Raid - Inside View; pic below for detailed breakdown)!

  1. Qty 1 - Enclosure(I found one on Ebay and gutted it leaving just the Power Supplies)
  2. Qty 1 - Raid Card Areca 1882x external mini-sas hookup(they also have internal cards too)!
  3. Qty 2 - 1m SFF-8088 to SFF-8088 External SAS Cable(two cable for faster throughput) 
  4. Qty 1 - Astek A33606-PCI(past 8 typically need an expander depending on your Raid Card)
  5. Qty 1 - 5.25" cage for Astek expander enclosure to mount above Astek card
  6. Qty 4 - 1m SFF-8087 (host) to 4x 7 pin SATA (device) Internal SAS/SATA Fanout Cable to connect AMS internal sata/sas ports to the internal 8087 miniSAS Astek ports
  7. Qty 3 - 3.5" x 5" AMS Backplane Module Model #DS-3151SSBK
  8. Qty 16 - Western Digital HD(WD1002FAEX 1TB 7200 RPM 64MB SATA 6.0Gb/s 3.5")
  9. Qty 1 - Optional Kingwin SATA Mobile Rack(to use all 4 ports x 4 cables = 16 drives)
So lets get started..!

My SCSI Enclosure we gut to house all the new 6GB/s HW..!




First off we gut the SCSI Enclosure...here's what it looked like(my pops makes a cut for Astek SAS Expander card that will mount into 5.25" cage expander enclosure to mount card safely into chassis).
Astek cage and card is mounted in Raid Enclosure in below pic.
Internally we had to create a small aluminum riser plate so we had something to mount the Astek card and cage to(you could do this a bit more crude by just finding some small pieces of aluminum at a hardware store and glue it. To cut use a wood saw or get a blade that can cut metal, table saw, or band saw-basically use whatever you can get your hands on. worst case scenario use a some strong glue. Again this will differ greatly depending on what enclosure you find).

Cut small pieces of Aluminum as a spacer to mount the Astek Card/Cage into raid enclosure.
Here is a shot of the AMS Backplane Modules.
Pic below is a shot of the old SCSI backplane bottom plate we remove from old hot-sway modules(note the spacer/riser plate to mount to the new AMS Backplanes Modules(note bought this before Sata III-but they work. If you buy a new one it states Sata III, SAS, etc.)..!
Drilling new holes to mount the old scsi plate below to the new AMS Backplane Module(we used a drill press).
Method above was repeated for all three AMS Backplane Modules and we then drilled, tapped, and screwed them in from bottom and sides directly into the old scsi bottom plates.

Notice the single hot swap tray on the end. That is so I could use all 16 of the sata cables fan out cables. The hot swap Backplane Modules holds 5 so they can be installed in the standard bay openings typically in the front of PC box. Note we gutted everything in the old SCSI enclosure since we are drilling and little artifacts will creep into areas you don't realize. So before evertyhing goes back into the newly housed enclosure it's clean of all artifacts(you Do Not want something shorting out because you missed some metal flakes getting into sensitive areas of your new enclosure)!


Once you've gotten everything cleaned out, installed all the new hardware...you are now ready to start hooking everything up. Next step we hooked up all the internal wiring and hard drives that we screw into the hot swap trays. Once all the wiring is hooked up and hot swap drive trays populated then you can slide them into the front of your new DIY 4K Raid. Lastly you'll need to install the Areca 1882x 6GB/s Raid Card. Always be sure to touch metal on the computer case before handling the cards and installing them. If you can get an anti-static mat or I have a wireless strapless anti-static wrist band(you just need to put it on about 15 minutes before you begin handling the hardware).
Now that you've got the DIY 4K Raid built, Raid card installed into you computer, and both 8088 Cables attached from the Raid card to your Astek(or Areca)SAS Expander your ready to boot up. Since I've switched from Mac to PC(HP Z820)I will be showing you how to configure it all in Windows. If your familiar with Mac OS and have every bought a raid or even a hard drive and had to initialize it in Disk Utility it's very much the same process once your past the actual raid build setup. What I can't show you here you can get the manual and just follow instructions. It's not that difficult. Ok so let's do this..!

Now it's time to setup your raid(meaning configure and initial it)!

If everything is good to go then fire that puppy up(um ya this is your computer...but if you have a pup helpin ya out...give em a pat on the back while your at it;).

This will cover windows. It's somewhat of a similar process on os x but you'll have to explore that since I'm mainly on PC these days.

If you own an HP Z820 your likely to see the HP Logo and or a mini rom window in the upper right corner. Hit Tab(other pc manufactuers vary so hit the manual and study up on your bios-maybe your a builder and you've got it all up in the master mind then rock it).

So now you'll be watching everything Post. When you see this screen in below pic hit either Tab or F6. This will take you into the ARC-1882 Areca Raid Bios.
You should now see a Bios screen like the one below.
Hit Enter to Select the Raid Controller to Configure.
You can just hit Quick Volume/Raid Setup but I recommend you manually configure your new raid! So hit the arrow key down to Raid Set Function. Now the Raid Set Function window pops up. Hit Create Raid Set. It will then open up some new configurations. I chose Raid 5(it's I think the best for size, speed, and redundancy. I also chose a 4K block size. I believe I also set it to foreground initialization which should be faster)!
This is what it will look like with all your drives connected to the controller.
Once you see that the raid is building(there should be a percentage update). This time to go have a coffee, watch a movie whatever. Depending on the size of drives you use will determine how long it will take. Again I believe Foreground is faster but figure it's going to take awhile. I can't remember exactly how long but figure it's not going to be an hour likely more like a few...and if you choose the other option and it seems like it's going to take days then you could probably just delete the raid set by properly powering down of course first then going back into the Raid Configuration and set it to the opposite setting you tried. Once your raid has finished initializing then your ready to boot into windows. Once your past the login screen and see the windows desktop hit the windows key or click on the start menu. Click on the right and then right click on Computer and scroll down to Manage. This should open up Computer Management(you can also right click on computer anywhere you see the icon and get into this menu too btw). Once you're in the window you should see something like the pic below. Choose Disk Management. You'll likely see what looks like a black bar. Right click on that Volume(it should match the amount of terabytes all your drives combined). Choose Format. Once your in there the defaults should be fine. Just name your new Drive and typically you want to create a drive letter. I chose V for Video(most will just take whatever is already there and that's perfectly fine). When your done you may still need to initialize the volume. I chose simple(it should go from a black bar to a blue bar once it's complete-it will also give you a percentage update). When it's done it will go from Offline to Online.

Click Start Menu>RT Click>Choose Manage
 You should now be in Computer Management>Click Disk Management
Find your new Raid Volume and Right Click on it. You should see a pop up window with options. Choose Format.
Once you see it online your ready to Rock...Enjoy..!

If your feeling ambitious then now it's time to run a Speed Test. I'll post a couple of examples that I got. Check it out..!
As you can see AJA is well over 1700 MB/s in Both Read and Write. Not bad..! Note if you are not happy with this speed or need more throughput you can always add more spindles, go SAS hard drives up to 15K rpm, SSD(though still a bit pricy doable if in your budget). If capacity if your issue you can go up to 24 with just the Astek Expander Card alone...it also has a two ports. Instead of running two cables in you just remove one from the card and plug it into another sas expander for more capacity. Pretty cool. If throughput drops with only one cable the solution is getting an Areca SAS Expander because it has three ports. So you can go two in and one out to the next expander. 

As a reference only here are some ballpark figures for hardware pricing. Please do your own research to find the best source, price, availability. This should at least give you a good idea if building a DIY 4K Raid is a good choice for you financially. 

  1. Enclosure(I bought a used enclosure on ebay with shipping):  $ 100
  2. Areca 1882x                                                                              $ 779
  3. 2-1m SFF-8088 to SFF-8088 External SAS Cable  $47 each  $   94
  4. Astek A33606-PCI SAS Expander Card                                   $ 415
  5. 5.25" cage for Astek expander to mount above card                $   25
  6. 4-3ware CBL-SFF8087OCF-10M  Fanout Cables $15 each    $   60
  7. 3-AMS Backplane Modules Model #DS-3151SSBK $99 ea     $ 297
  8. 16-Western Digital HD WD1002FAEX 1TB         $99 each      $1594
  9. Kingwin SATA Mobile Rack                                                       $   19
  10. TOTAL......................................................................................$3383

So that's it...now you've got a plan to build your own big, fast, rebuildable Raid Storage for 4K Editing and save you some money DIY..!

I have to give thanks to my Pops who is a huge supporter and great help with all my wild ideas. This wouldn't have been possible without all his expert help building this DIY 4K Raid..!

I also would like to thank my new friend Bill over at HDNLE.com He is a wealth of information, very knowledgeable and just so happens to be living up in the NW now after many years working with the Media and Entertainment Industry in SoCal. He is an expert with A/V Solutions. Anyway he was able to get me an Areca 1882x Raid Card and 6GB/s SAS Cables. I found him on Ebay and just my luck I was able to complete the transaction same day and get product...now that's service..! If your in the NW I know no one with as much knowledge and experience as Bill in our field. I feel I'm very lucky to have connected with such talent in my area..!
Links to Bill @: HDNLE.com or his Ebay

Enjoy thanks for reading. If you have any suggestions, questions or comments feel free to leave feedback in the comment field below.

Cheers..!

Ryanb. Aka: Filmguy



 

 

5 comments:

  1. O my good. Did you read the Specs for WD Caviar Black? They are not for RAID Systems, WD Caviar RED are only for up to 5 HD's RAID stabile

    ReplyDelete
  2. Applications
    �� Power computing applications such as multimedia, video and photo editing, and maxed out gaming computers.
    �� Desktop / Consumer RAID Environments - WD Caviar Black Hard Drives are tested and recommended for use in consumer-type RAID applications (RAID-0 /
    RAID-1).
    - Business Critical RAID Environments – WD Caviar Black Hard Drives are not recommended for and are not warranted for use in RAID environments utilizing Enterprise HBAs and/or
    expanders and in multi-bay chassis, as they are not designed for, nor tested in, these specific types of RAID applications. For all Business Critical RAID applications, please consider WD’s
    Enterprise Hard Drives that are specifically designed with RAID-specific, time-limited error recovery (TLER), are tested extensively in 24x7 RAID applications, and include features like
    enhanced RAFF technology and thermal extended burn-in testing.

    ReplyDelete
  3. Hi Werner!

    Thanks for your comments..! I have heard something in regard to them parking every 12.5 seconds or so. I can say however that I've been running these same exact drives for over 3 years in my iStoragePro iT8MIS 8-Bay Enclosure prior to adding 8 more and building the above DIY Raid.

    Can you tell me what is happening or Not happening by using these WD Black drives..?

    Cheers..!

    Ryan

    ps: The WD Enterprise Hard Drives are nearly the same cost(just slightly more). At the time of initial 8-Bay build with the iStoragePro iT8MIS I got the WD Black because they were the largest size with lowest cost. They also had the jumper to slow them down to 3GB/s. I ran them this way over 3 years. I removed the jumper in the new Raid set(the newer same Model don't require a jumper anymore).

    pss: I have also heard about the specific raid drives(Enterprise etc.)over the years. I have bought systems like CalDigit and pulled the drives out and added my own Seagate say 500GB 7200.10(which I believe are the ones everyone hated because they had issues-they released a firmware update SB10 for the drives to make them run stable). I've built non Enterprise Raid sets for over a decade or so. Are they the best most reliable-maybe not...have they worked and saved money...Yes..! If you can afford the Enterprise drives and want to ensure 0 issues then yes run the Enterprise Drives.

    Also http://www.pc-pitstop.com/sata_hard_drives/ that sells a lot of Raid Parts said this:

    "SATA Hard Drives

    If you are looking for enterprise level SATA drives, please check out the new 2TB & 3TB Hitach Ultrastar 7200RPM SAS drives on our SAS Hard Drives page. These are very similar to enterprise grade SATA drives.

    We carry a wide range of the best SATA drives from Hitachi, Toshiba, Seagate and Western Digital. All listed drives are brand new and carry a full manufacturer warranty. These drives will work in all of our SATA and SAS enclosures.

    One choice you'll need to make is between enterprise and desktop drives. While costing more per GB, enterprise drives will give you somewhat better reliability and a longer warranty period. However a RAID system will mostly mitigate any reliability concerns with desktop drives and you shouldn't see any performance difference."

    So check out all their systems they offer(you can add the WD Black Desktop Hard Drives without issue). Figure if they had a lot of issues they wouldn't sell them because they would be getting returned all the time and that's Not good for business..!

    Again thanks for your input Werner...!

    Best..!

    ReplyDelete
  4. Monday I just lost all my Data with RAID Level 0 with 4 WD Black 2.5 years old on a MacPro internal Bays. Now I Setup Softraid 4.x and 4 WD RED ones, hope got more luck...

    ReplyDelete
  5. Hi Werner!

    Really sorry to hear that Mate..!

    Ya 15 years ago Raid 0 was really the only option for me...but anything mission critical is at least running on a Raid 5(6 even better two drives can go)for best performance and redundancy. That doesn't help you now I know...but hopefully you have a backup cause no matter what drive you have any hard drive can fail..! I've even heard of a high number of Enterprise Drives fail(mainly due to poor handling in shipping-that claim was made from another System Builder in one of my Beta feeds I'm on-they said they too don't recommend Black because these drives park their heads if idle for 12.7 seconds...but also said they've had equally as much failure on Enterprise(25%)and they have been builders of Raids in Australia for around a Decade and only use one brand of Desktop Hard Drives(that was Hitachi before WD bought them out and now they are Not the same drives-so technically 0 desktop drives can be be used for Enterprise Levels of Raids...yet everyone uses non Enterprise Drives(even big large system builders have like with the example of previous Hitachi Drives-don't believe me ask around or crack open a few various vendors products(or start making some calls and asking them what they recommend or use in their turn-key systems-or their enclosures where you add the drives)not saying that's across the board but that you only being able to you Enterprise Drives is just not what everyone does-many many builders use them day in and day out-for cost savings). Since it was a private beta feed I can't refer you to the message unfortunately)but they are Spindles going in some cases 24/7. Something is going to fail(sooner or later). So if you're running Raid 0 I can only recommend a frequent backup schedule..! I typically only use Raid 0 if it's the only option(for speed of course)for a Scratch Drive(if it's mission critical it's a 100% requirement to have a backup)!

    Again very sorry you lost your data...it's happened to us all at some point(consider most people don't have a backup of their Root Drive in their Workstation, Laptop, etc)...our best defense is a Backup(hate to keep drilling that statement...but as you know your in that same boat a victim of tech failing...it just happens).

    I wish you better success with the Red Drives..!

    Best!

    Ryan

    ReplyDelete

Note: Only a member of this blog may post a comment.