{"id":91,"date":"2012-05-29T16:48:59","date_gmt":"2012-05-29T15:48:59","guid":{"rendered":"http:\/\/iain.rauch.co.uk\/blog\/?p=91"},"modified":"2012-05-29T16:48:59","modified_gmt":"2012-05-29T15:48:59","slug":"my-nas-server-2-part-vi","status":"publish","type":"post","link":"https:\/\/iain.rauch.co.uk\/blog\/2012-05\/my-nas-server-2-part-vi\/","title":{"rendered":"My NAS Server 2 (Part VI) \u2013 Design"},"content":{"rendered":"<p>First and foremost, I want to thank my friend Mat for helping with the design. I couldn&#8217;t have done it without you!<\/p>\n<p>As you will recall from <a href=\"https:\/\/iain.rauch.co.uk\/blog\/2011-05\/my-nas-server-2-part-iv\/\">part IV<\/a>, I had a second 4U case used only to house drives. This was the starting point for my NAS server 2, case #2. I would have one case for the host system (and some drives) and a second case just for drives.<\/p>\n<p>If you look at the Backblaze design, you&#8217;ll see it has space for a motherboard, 2 PSUs and 46 drives (1 is for the host OS). That&#8217;s an awful lot to squeeze into a single case! It works for them as they are racked up in a data centre with deep racks. Something would have to give in my 545mm deep &#8216;value&#8217; case.<\/p>\n<p>Fourty-five drives is a nice number, as it gives you 3 x 15 drive arrays. I think that&#8217;s the most it&#8217;s sensible to have in a RAID 6 configuration. Fitting up-to 11 drives in the first case, I needed to cram at least 34 in case #2.<\/p>\n<p>Having verified SATA port multipliers work perfectly well, I was happy to take the same approach as Backblaze with their backplanes. What I decided to think about a bit for carefully than them was the host SATA ports. They put 20 drives on the PCI bus, but I knew from <a href=\"https:\/\/iain.rauch.co.uk\/blog\/2010-05\/my-nas-server-1\/\">experience<\/a> this would degrade performance.<\/p>\n<p>Since I already had a 4-port PCIe card, it made sense to use that for 4 port-multipliers. This would give me 20 ports on a PCIe x4 bus &#8211; the drives won&#8217;t all operate at maximum speed at the same time, but there&#8217;s still plenty enough throughput to saturate a gigabit LAN. This puts the SATA port count at 26 so far. Looking for 45 in total, I would need another 19. The only practical way to do this, based on the number of PCIe slots I had was another 4-port card each hosting a 5-port multiplier\/backplane. So instead of cramming one standalone port-multiplier and associated drives in the main case, we decided to put them all in case #2.<\/p>\n<p>Spanning power between cases didn&#8217;t seem like the best idea, and with 40 drives now needing to be catered for, 2 PSUs had to fit in the second case. Here&#8217;s a bird&#8217;s-eye and front on view of the layout. Thanks again, Mat, for coming up with it.<\/p>\n<p><a href=\"http:\/\/iain.rauch.co.uk\/blog\/wp-content\/uploads\/2012\/05\/Edna-Case-2-Lauout.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-94\" title=\"Case 2 Layout\" src=\"http:\/\/iain.rauch.co.uk\/blog\/wp-content\/uploads\/2012\/05\/Edna-Case-2-Lauout-176x300.png\" alt=\"\" width=\"176\" height=\"300\" srcset=\"https:\/\/iain.rauch.co.uk\/blog\/wp-content\/uploads\/2012\/05\/Edna-Case-2-Lauout-176x300.png 176w, https:\/\/iain.rauch.co.uk\/blog\/wp-content\/uploads\/2012\/05\/Edna-Case-2-Lauout-601x1024.png 601w, https:\/\/iain.rauch.co.uk\/blog\/wp-content\/uploads\/2012\/05\/Edna-Case-2-Lauout.png 615w\" sizes=\"auto, (max-width: 176px) 100vw, 176px\" \/><\/a>The black bars going left-to-right are for reinforcement &#8211; 40 hard drives weigh a lot! The other thing to note is the orientation of the drives. Keeping them that way allows efficient air-flow, from front to back.<\/p>\n<p>The original intention for my 1000W PSU was to power the whole system and 22 drives. Since I&#8217;m now trying to support up to 45 drives and keep the power in each case separate, the power arrangements needed to be rethought.<\/p>\n<p>I allocated the OCZ PSU to case #2 and re-purposed an old PSU I had for the main system. I calculated the amperage available for each voltage sufficient to supply 5 of the 8 port-multipliers. Maybe it would have been &#8216;neater&#8217; to split it four and four, but this way, when upgrading, I wouldn&#8217;t need such a beefy supply.<\/p>\n<p>Each backplane requires two molex feeds. Here&#8217;s a wiring diagram (credit once again to Mat).<\/p>\n<p><a href=\"http:\/\/iain.rauch.co.uk\/blog\/wp-content\/uploads\/2012\/05\/Case-2-Power.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-95\" title=\"Case 2 Power\" src=\"http:\/\/iain.rauch.co.uk\/blog\/wp-content\/uploads\/2012\/05\/Case-2-Power-300x278.png\" alt=\"\" width=\"300\" height=\"278\" srcset=\"https:\/\/iain.rauch.co.uk\/blog\/wp-content\/uploads\/2012\/05\/Case-2-Power-300x278.png 300w, https:\/\/iain.rauch.co.uk\/blog\/wp-content\/uploads\/2012\/05\/Case-2-Power.png 850w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>Now we know pretty much what we&#8217;re building, in the next post I&#8217;ll talk about the parts and construction.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>First and foremost, I want to thank my friend Mat for helping with the design. I couldn&#8217;t have done it without you! As you will recall from , I had a second 4U case used only to house drives. This &hellip; <a href=\"https:\/\/iain.rauch.co.uk\/blog\/2012-05\/my-nas-server-2-part-vi\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[6],"tags":[],"class_list":["post-91","post","type-post","status-publish","format-standard","hentry","category-nas"],"_links":{"self":[{"href":"https:\/\/iain.rauch.co.uk\/blog\/wp-json\/wp\/v2\/posts\/91","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/iain.rauch.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/iain.rauch.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/iain.rauch.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/iain.rauch.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=91"}],"version-history":[{"count":4,"href":"https:\/\/iain.rauch.co.uk\/blog\/wp-json\/wp\/v2\/posts\/91\/revisions"}],"predecessor-version":[{"id":97,"href":"https:\/\/iain.rauch.co.uk\/blog\/wp-json\/wp\/v2\/posts\/91\/revisions\/97"}],"wp:attachment":[{"href":"https:\/\/iain.rauch.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=91"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/iain.rauch.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=91"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/iain.rauch.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=91"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}