<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet href="http://diynas.wetpaint.com/xsl/rss2html.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://diynas.wetpaint.com/scripts/wpcss/wiki/diynas/skin/autumnfire/rss" type="text/css" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>DIY RAID 5 NAS server worklog - Recently Updated Pages</title><link>http://diynas.wetpaint.com/pageSearch/updated</link><description>Recently Updated Pages on http://diynas.wetpaint.com</description><language>en-us</language><webMaster>info@wetpaint.com</webMaster><pubDate>Sun, 25 Feb 2007 21:49:22 CST</pubDate><lastBuildDate>Sun, 25 Feb 2007 21:49:22 CST</lastBuildDate><generator>wetpaint.com</generator><ttl>60</ttl><image><title>DIY RAID 5 NAS server worklog</title><url>http://image.wetpaint.com/image/1/kE3qymcoJkibByadiJ9OGQ17760</url><link>http://diynas.wetpaint.com</link></image><item><title>The Parts</title><link>http://diynas.wetpaint.com/page/The+Parts</link><author>snootch</author><guid isPermaLink="false">http://diynas.wetpaint.com/page/The+Parts</guid><pubDate>Sun, 25 Feb 2007 21:49:22 CST</pubDate><description>The Case: So I looked around online to find an acceptable case. Most of the cases I found were your garden variety beige boxes with space for only 4 or five internal drives at most. Most of the cases had several 5-1/4&amp;rdquo; slots which I didn&amp;rsquo;t need. Finally I came across this case: &lt;a href=&quot;http://diynas.wetpaint.comhttps://www.ewiz.com/detail.php?name=CA-ST901BS&quot; target=&quot;_top&quot;&gt;link&lt;/a&gt; In the description it reads &amp;ldquo;External Bay: 5.25x9 or 3.5x9 or Internal Bay: 3.5x9&amp;rdquo; So that will allow me to mount &lt;b&gt;9&lt;/b&gt; hard disks, comes with two 120mm fans, and doesn&amp;rsquo;t come with a garbage power supply that I&amp;rsquo;ll have to throw out anyway. Great!&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div align=&quot;center&quot;&gt;   &lt;/div&gt;&lt;br&gt;The Guts: I already had an old computer gathering mold in my garage, so putting it to work would be great; saving me money and making room in my garage- a win &amp;ndash;win situation! J The good thing about a simple NAS like this is that hardware requirements are pretty low. You just don&amp;rsquo;t need lots of CPU cycles and memory, so this provides a great use for old parts. If you&amp;rsquo;re a moderate computer geek like me you undoubtedly have parts laying around. Old parts I used were: &lt;br&gt;An Intel micro-ATX motherboard:&lt;br&gt;(3 PCI slots, one AGP slot) with a Pentium 4 2.4Ghz CPU &lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div align=&quot;center&quot;&gt;   &lt;/div&gt;&lt;br&gt;Two 512 sticks of DDR Samsung RAM: &lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div align=&quot;center&quot;&gt;   &lt;/div&gt;&lt;br&gt;A 3.5&amp;rdquo; floppy drive , CD-ROM drive, and associated IDE and floppy cables were also pulled from the old system. &lt;br&gt;&lt;br&gt;The beige tower that all this hardware originally housed in had a cheap 300W generic power supply in it. I was going to be needing a little more power, since I will be having 5+ hard drives spinning up together at startup. I ended up buying a Silverstone ST50EF-Plus 500W power supply from Newegg: &lt;a class=&quot;external&quot; href=&quot;http://diynas.wetpaint.comhttp://www.newegg.com/Product/Product.asp?Item=N82E16817256008&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;&lt;font size=&quot;+0&quot;&gt;Link&lt;/font&gt;&lt;/a&gt; &lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div align=&quot;center&quot;&gt;   &lt;/div&gt;&lt;br&gt;&lt;a class=&quot;external&quot; href=&quot;http://diynas.wetpaint.comhttp://www.newegg.com/Product/ShowImage.asp?Image=17%2D256%2D008%2D02%2Ejpg%2C17%2D256%2D008%2D03%2Ejpg%2C17%2D256%2D008%2D04%2Ejpg%2C17%2D256%2D008%2D05%2Ejpg%2C17%2D256%2D008%2D06%2Ejpg%2C17%2D256%2D008%2D07%2Ejpg%2C17%2D256%2D008%2D08%2Ejpg%2C17%2D256%2D008%2D10%2Ejpg&amp;CurImage=17%2D256%2D008%2D02%2Ejpg&amp;Description=SILVERSTONE+ST50EF%2DPlus+ATX+12V+2%2E2+500W+Power+Supply+%2D+Retail&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;&lt;/a&gt;Now down to the meat and potatoes of the NAS- the RAID array. I wanted to use hard drives that were relatively new on the market so if a drive fails, I can replace it with the same exact model. I also wanted to use disks with a serial ATA (SATA) interface due to the increased speed over the old IDE interface, and its smaller cables that assist airflow throughout the case. From reading all the information about RAID I could find, I found that usually a hardware RAID card will outperform the integrated software RAID solutions commonly found built into motherboards these days. But since I am using an old motherboard that does not have integrated RAID, I must go with a PCI RAID controller card anyways. Using the standard PCI bus will limit data transfer to/from the array to a maximum around 100-133MB/s; whereas if I was using a motherboard that featured PCI-X or PCI Express slots, I could see maximum transfer rates in the 180-200MB/s neighborhood for PCI-X, and faster for PCI Express. I don&amp;rsquo;t run a business or anything, so 100MB/s is fine for personal use. &lt;br&gt;I searched around and found a few four SATA port PCI RAID cards capable of RAID 5, but taking user comments and price into account I settled on the &lt;a class=&quot;external&quot; href=&quot;http://diynas.wetpaint.comhttp://www.newegg.com/Product/Product.asp?Item=N82E16816115030&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;Highpoint RocketRAID 1740 PCI controller card&lt;/a&gt;: &lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div align=&quot;center&quot;&gt;   &lt;/div&gt;&lt;br&gt;I want to realize around 1TB of storage space from this NAS. Using RAID 5, this means 4 disks of 400Gb each. (4x400Gb=1.6Tb) One disk&amp;rsquo;s worth of data for RAID 5 parity will be eaten up, so (1.6Tb &amp;ndash; 400Gb= 1.2Tb). Subtract the amount the OS will use for the format of the array, and the usable storage space should be around 1.1Tb. The four drives i&amp;#39;ll be using are SATA II Seagate Barracuda 7200.10 400Gb 7200RPM 16Mb cache disks from &lt;a class=&quot;external&quot; href=&quot;http://diynas.wetpaint.comhttp://www.newegg.com/Product/Product.asp?Item=N82E16822148138&amp;ATT=22-148-138&amp;CMP=OTC-Froogle&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;Newegg.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;div align=&quot;center&quot;&gt; &lt;/div&gt;&lt;br&gt;In the future if I need more storage space, I&amp;rsquo;ll buy another card, and four more drives to add to the tower. I&amp;rsquo;ll also probably go with 500 or 750Gb drives, as I&amp;rsquo;m sure the price will fall especially considering Hitachi just introduced their 1Tb hard drives.&lt;br&gt;&lt;br&gt;Operating System: The OS is usually Microsoft Windows for me, as it is comfortable and familiar to me although I&amp;rsquo;m not especially wild about the stability concerns I have about Windows. I do want the OS to be stable since this box will be &amp;ldquo;headless&amp;rdquo;, meaning stuck in a corner with no keyboard, mouse or display attached. These thoughts got me looking in other directions for an OS.&lt;br&gt;Linux- This was the obvious first place to look for an alternate OS. However, not being used to it I found it frustrating, as I couldn&amp;rsquo;t figure out the root command line commands to install the drivers, or do anything for that matter. I prefer to have a point and click GUI at my disposal.&lt;br&gt;FreeNAS- I downloaded this image and played with it for awhile. It is based on the FreeBSD OS, and seems pretty stable. However, I still could not figure out how to install the RAID controller drivers, as it is all done through command line. All this testing alternate OS&amp;rsquo;es made me want familiarity, especially should something go wrong with the array, where I could spend hours trying to do something simple that I already know how to do in windows. I also figured since the NAS box will not be used in a business environment, If it crashes occasionally it is not the end of the world. Thinking this, I finally decided to use Windows Server 2003. &lt;br&gt;&lt;br&gt;I made a full list of all the hardware I would need, purchased it online for the total cost of $776.00. I procured the OS, and stripped the old computer into components; lying the used hardware neatly in a stack in the corner of the room. Then I waited for the boxes to arrive in the mail. Assembly: I finally received all the parts in the mail. I&amp;rsquo;ll do a mini review of each component as I install it.&lt;br&gt;&lt;br&gt;&lt;div align=&quot;center&quot;&gt;  &lt;b&gt;&lt;a href=&quot;http://diynas.wetpaint.com/page/Assembly&quot; target=&quot;_top&quot;&gt;Assembly &amp;gt;&amp;gt;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;hr size=&quot;1&quot;&gt;&lt;br/&gt;</description></item><item><title>Testing &amp; Completion</title><link>http://diynas.wetpaint.com/page/Testing+%26+Completion</link><author>snootch</author><guid isPermaLink="false">http://diynas.wetpaint.com/page/Testing+%26+Completion</guid><pubDate>Sat, 24 Feb 2007 06:31:52 CST</pubDate><description>&lt;div align=&quot;center&quot;&gt;   &lt;/div&gt;&lt;br&gt;&lt;font face=&quot;Times New Roman&quot;&gt;&lt;/font&gt;&lt;font face=&quot;Times New Roman&quot;&gt;&lt;/font&gt;&lt;font face=&quot;Times New Roman&quot;&gt;&lt;/font&gt;Conclusion: The finished NAS server looks pretty good next to my desktop, and performs pretty well too; 102.4MB/ s sustained read speed! &lt;br&gt;&lt;br&gt;&lt;div align=&quot;center&quot;&gt;   &lt;/div&gt;&lt;br&gt;The machine performs as I hoped it would, having over 1Tb in storage, allowing FTP access and expandable as well. The only downsides I encountered were the lack of adaptor brackets and documentation for the case, the freakishly long SATA cables supplied with the Highpoint card, and of course the 100MB/s bandwidth of the PCI bus. For just under $800 I feel this is a great alternative to the pre-built RAID 5 NAS units available.&lt;br&gt;&lt;font face=&quot;Times New Roman&quot;&gt;&lt;/font&gt;&lt;br&gt;&lt;font face=&quot;Times New Roman&quot;&gt;&lt;/font&gt;&lt;br&gt;&lt;div align=&quot;center&quot;&gt;  &lt;b&gt;&lt;a href=&quot;http://diynas.wetpaint.com/&quot; target=&quot;_top&quot;&gt;Back to Home &amp;gt;&amp;gt;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;hr size=&quot;1&quot;&gt;&lt;br/&gt;</description></item><item><title>Assembly</title><link>http://diynas.wetpaint.com/page/Assembly</link><author>snootch</author><guid isPermaLink="false">http://diynas.wetpaint.com/page/Assembly</guid><pubDate>Sat, 24 Feb 2007 06:31:20 CST</pubDate><description>The SuperTalent 901BS server case: &lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div align=&quot;center&quot;&gt;   &lt;/div&gt;&lt;br&gt;The case is made from your average sheet steel and the inside edges are quite sharp. I almost cut myself once or twice during this build. &lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div align=&quot;center&quot;&gt;   &lt;/div&gt;&lt;br&gt;Supplied are a bag of assorted screws and brass motherboard standoffs, a steel bracket needed if you want to padlock the case, a small piezo buzzer for attaching to the motherboard, and a piece of paper illustrating the pin-outs for the case connections. A small hinged door at the front bottom of the case features two USB connectors, a single fire wire connector, and audio connections for headphones and a microphone.&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div align=&quot;center&quot;&gt;   &lt;/div&gt;&lt;br&gt;The side of the case features two fan grilles, one of them filled with a 120mm fan. The other grille has an adjustable black plastic shroud on the inside to direct air onto the CPU cooler. &lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div align=&quot;center&quot;&gt;   &lt;/div&gt;&lt;br&gt;On the back of the case there are slots for seven cards, a single 120mm fan (which could be helped with a better grille) and the standard space for an ATX power supply. Opening the case, we see the plastic shroud for the CPU cooler, and the 120mm fan attached to the inside of the case lid. Inside, the motherboard tray has mounting points for Micro-ATX or full-size ATX motherboards. There are 9 drive slots, but they all look like 5-1/4&amp;rdquo; slots. Since there is no documentation provided with the case, I must assume in order to get 9 -3.5&amp;rdquo; hard drives in there you must buy 5-1/4&amp;rdquo; to 3.5&amp;rdquo; adaptor brackets separately. I wish I would have known that earlier. For right now I guess I will have to mount the disks only on one side.&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div align=&quot;center&quot;&gt;   &lt;/div&gt;&lt;br&gt;I mounted the motherboard using the brass standoffs, and mounted all the hard drives:&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div align=&quot;center&quot;&gt;   &lt;/div&gt;&lt;br&gt;Next, I mounted the Silverstone 500W power supply. It came in a hefty black box, proclaiming 500 watts of continuous power on the lid.&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div align=&quot;center&quot;&gt;   &lt;/div&gt;&lt;br&gt;Installing the power supply was a snap. The larger bunches of wires exiting the back of the unit are encased in black techflex loom. The supply comes with a manual in several languages, four black mounting screws and two wiring adapters for different ATX and 12v molex connections. &lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div align=&quot;center&quot;&gt;   &lt;/div&gt;&lt;br&gt;I connected power to all the drives, and routed the excess wire behind the drives out of the way. Next, I installed the Highpoint RocketRAID PCI card: &lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div align=&quot;center&quot;&gt;   &lt;/div&gt;&lt;br&gt;The card comes in a pretty blue and yellow box with the card&amp;rsquo;s description and features emblazoned on the front.&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div align=&quot;center&quot;&gt;   &lt;/div&gt;&lt;br&gt;Inside the box was the card, a half-height header bracket for use in rack mount applications, and four very long blue SATA cables.&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div align=&quot;center&quot;&gt;   &lt;/div&gt;&lt;br&gt;I installed the card with no issues other than the SATA cables. They are so long that I had to bundle the excess at the bottom of the case. I connected the case&amp;rsquo;s front panel connection cables to the header on the motherboard, and connected the side panel fan to the power supply before the side lid was screwed on.&lt;br&gt;&lt;br&gt;It powered up with no issues, I configured the RocketRaid BIOS, installed Windows and the driver and software for the Highpoint card. Once the RAID management tools were installed it took 7-1/2 hours to initialize and build the RAID 5 array. Once the array was done and I formatted it through the disk management service, it showed as a 1,1178Gb disk in the My Computer screen. I installed the IIS snap-in to enable FTP capabilities. Once the FTP was configured, I was able to access it over the Internet. I removed the CD-ROM drive I installed to load Windows and disconnected the monitor and keyboard.&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div align=&quot;center&quot;&gt;  &lt;b&gt;&lt;a href=&quot;http://diynas.wetpaint.com/page/Testing+%26+Completion&quot; target=&quot;_top&quot;&gt;To Testing &amp;amp; Completion &amp;gt;&amp;gt;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;hr size=&quot;1&quot;&gt;&lt;br/&gt;</description></item><item><title>Starting out: The Plan</title><link>http://diynas.wetpaint.com/page/Starting+out%3A+The+Plan</link><author>snootch</author><guid isPermaLink="false">http://diynas.wetpaint.com/page/Starting+out%3A+The+Plan</guid><pubDate>Sat, 24 Feb 2007 06:30:32 CST</pubDate><description>&lt;font face=&quot;Times New Roman&quot;&gt;&lt;/font&gt;Several months ago, I was returning from partying with my wife on the town. She had been in the process of downloading something off the net and had her 500Gb external drive sitting on the nightstand hooked up to her laptop sitting on the bed. I accidentally stepped on the cable which jerked the running drive off the table and onto the tile floor with a solid whack. The 80% full drive broke on impact, breaking the main platter bearing and causing the stack of platters inside to vibrate and rattle around freely inside the chassis.My wife was quite upset at this not only due to the loss of all her movies and music, but mostly to the loss of irreplaceable data such as pictures and documents. I then realized that the external drive setup was just too fragile and vulnerable to data corruption especially since the single drive offered no redundancy. We really needed a way to backup our data to guard against data loss in the future. An alternate online backup method for our data wasn&amp;rsquo;t a real alternative to us mostly due to the recurring costs, and limited bandwidth of our cable modem connection. &lt;br&gt;I did some research into building a network attached storage (NAS) server, and bought the appropriate hardware online. I&amp;rsquo;ll cover the steps I took to build a homebrew NAS server capable of offering 1Tb of redundant RAID 5 storage.&lt;br&gt;Some reading this may be wondering what RAID is, and why did I want to use it. Well, I&amp;rsquo;ll explain it&amp;hellip;. Actually I&amp;rsquo;ll be lazy and cut and paste from the net: &lt;a class=&quot;external&quot; href=&quot;http://diynas.wetpaint.comhttp://www.technick.net/public/code/cp_dpage.php?aiocp_dp=guide_raid&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;read this link.&lt;/a&gt; I basically wanted something faster than a single disk and something versatile; able to recover from a disk failure.&lt;br&gt;&lt;font face=&quot;Times New Roman&quot;&gt;&lt;/font&gt; &lt;br&gt;&lt;font face=&quot;Times New Roman&quot;&gt;&lt;/font&gt;&lt;br&gt;&lt;div align=&quot;center&quot;&gt;  &lt;font face=&quot;Times New Roman&quot;&gt; &lt;/font&gt;&lt;/div&gt;&lt;font face=&quot;Times New Roman&quot;&gt;&lt;/font&gt;  &lt;br&gt;&lt;font face=&quot;Times New Roman&quot;&gt;&lt;/font&gt;&lt;br&gt;&lt;font face=&quot;Times New Roman&quot;&gt;&lt;/font&gt; &lt;br&gt;The Plan: My first step was planning the system out. How much storage space did we need? How fast did it need to be? Could we expand the storage capabilities in the future should we need to? I determined we needed a terabyte (1,000Gb) of storage space since we had used approximately 600Gb of storage space that was still growing both in her external HD for her laptop, and the 300Gb drive in my desktop. Should that Tb be used up, I would need a way to add another later on. I looked at a few ready made solutions online such as the &lt;a class=&quot;external&quot; href=&quot;http://diynas.wetpaint.comhttp://www.buffalo-technology.com/products/product-detail.php?productid=97&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;Buffalo Terastation&lt;/a&gt;, and the &lt;a class=&quot;external&quot; href=&quot;http://diynas.wetpaint.comhttp://www.infrant.com/products/products_details.php?name=ReadyNAS+600&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;Infrant ReadyNAS&lt;/a&gt; units, and found them to be prohibitively expensive, especially since a total 2Tb of hard disk space dictated I use 500Gb drives as both units only had space for four drives total. I also would actually see only 1.5Tb of usable space due to the parity information of RAID 5 using up a quarter of a four disk array. Finding all this information; I really needed to look at building a tower with room for five drives (4 RAID disks + 1 for the OS) and expandable to include four more disks for another RAID array. That means building a unit much bigger that the ready made units, but I figured I&amp;rsquo;d just hide the unit away somewhere where it wouldn&amp;rsquo;t bee seen.&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div align=&quot;center&quot;&gt;  &lt;b&gt;&lt;a href=&quot;http://diynas.wetpaint.com/page/The+Parts&quot; target=&quot;_top&quot;&gt;The Parts &amp;gt;&amp;gt;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;br&gt;&lt;font face=&quot;Times New Roman&quot;&gt;&lt;/font&gt;&lt;br&gt;&lt;div align=&quot;center&quot;&gt;  &lt;b&gt;&lt;font face=&quot;Times New Roman&quot;&gt;&lt;/font&gt;&lt;/b&gt;&lt;font face=&quot;Times New Roman&quot;&gt;&lt;/font&gt;&lt;/div&gt;&lt;hr size=&quot;1&quot;&gt;&lt;br/&gt;</description></item></channel></rss>