{"id":46,"date":"2016-01-06T15:48:40","date_gmt":"2016-01-06T14:48:40","guid":{"rendered":"http:\/\/it-merge.com\/?p=46"},"modified":"2016-02-19T10:53:11","modified_gmt":"2016-02-19T09:53:11","slug":"new-nas-server","status":"publish","type":"post","link":"https:\/\/it-merge.com\/?p=46","title":{"rendered":"New NAS server"},"content":{"rendered":"<h1>NAS @ home<\/h1>\n<p>Today I start my new NAS server project.<\/p>\n<p>After several evaluations I decided today to build up the NAS following the recommendations of the <a href=\"http:\/\/www.technikaffe.de\/anleitung-313-nas_eigenbau_2015_fuer_4_hdds_mit_intels_braswell_und_aes_ni\" target=\"_blank\">NAS build (Technikaffe, German)<\/a>. The description is clear and I like to achieve WOL in 10 sec!<\/p>\n<p>Evaluated systems:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.synology.com\/de-de\/products\/DS216play\" target=\"_blank\">Synology DS216play<\/a> will have less CPU power, no custimization effort, just space for 2 HDDs<\/li>\n<li><a href=\"http:\/\/www.technikaffe.de\/anleitung-315-hp_microserver_gen_8_im_test__4_bay_nas_im_guenstigen_komplettpaket\" target=\"_blank\">HP ProLine Gen8<\/a> less expensive, double energy consumption, I&#8217;ve also the customization effort, but the drawback of WOL of 1-2 min<\/li>\n<\/ul>\n<p>So I order the components as described, but decided to use the <b>ASRock N3700-ITX<\/b> board. I expect to keep same energy consumpts costs as the\u00a0<b>ASRock N3150-ITX,<\/b> but more CPU power (<a href=\"http:\/\/www.technikaffe.de\/anleitung-324-asrock_n3700_itx_test_und_vergleich_mit_dem_asrock_n3150_itx\" target=\"_blank\">check this post out<\/a>).<\/p>\n<p>Well I was surpised of the size of the minitower after I used several years my <strong>Synology NAS 209<\/strong>. Anyway it has enough space\u00a0to carry 4 HDD, so it&#8217;s worth to free some room\u00a0for this small beast:)<\/p>\n<h1>&#8230; Put the pieces together<\/h1>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"\/wp-content\/uploads\/2016\/01\/_d_improd_\/IMG_2417_f_improf_429x322.jpg\" alt=\"\" width=\"429\" height=\"322\" data-mce-height=\"60\" data-mce-width=\"80\" \/><\/p>\n<p>Compilation of the server is not described, so I post here some pictures. The compilation is pretty straight forward, all cables are marked and it&#8217;s pretty obvious where to connect them to the board.<\/p>\n<p>First the empty CoolMaster 120. Enought space add the components.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"\/wp-content\/uploads\/2016\/01\/_d_improd_\/IMG_2418_f_improf_426x319.jpg\" alt=\"\" width=\"426\" height=\"319\" data-mce-height=\"24\" data-mce-width=\"24\" \/><\/p>\n<p>First put the mainboard, of cause \ud83d\ude42<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"\/wp-content\/uploads\/2016\/01\/_d_improd_\/IMG_2419_f_improf_420x315.jpg\" alt=\"\" width=\"420\" height=\"315\" data-mce-height=\"60\" data-mce-width=\"80\" \/><\/p>\n<p>Then connect the cables as per plan. Not such difficult, just study the available handbooks and it&#8217;s pretty obvious where to put the right cables.<\/p>\n<p style=\"text-align: left;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"\/wp-content\/uploads\/2016\/01\/_d_improd_\/IMG_2420_f_improf_413x309.jpg\" alt=\"\" width=\"413\" height=\"309\" data-mce-height=\"60\" data-mce-width=\"80\" \/><\/p>\n<p style=\"text-align: left;\">Put the HDDs in place and connect them.I used 2x <a href=\"http:\/\/www.amazon.de\/Red-3-5-inch-Desktop-Hard-Drive\/dp\/B008JJLW4M\/ref=sr_1_1?s=computers&amp;ie=UTF8&amp;qid=1452270374&amp;sr=1-1&amp;keywords=red+3gb\" target=\"_blank\">3.5 HDDs<\/a>.<\/p>\n<h2 style=\"text-align: left;\">&#8230; Last step to drill a bit<\/h2>\n<p style=\"text-align: left;\">Finally just to close the hole of the power supply. I use the <a href=\"http:\/\/www.amazon.de\/gp\/product\/B00ABYBQSK\/ref=as_li_tl?ie=UTF8&amp;creativeASIN=B00ABYBQSK&amp;linkCode=as2&amp;tag=tade-21\">External power supply <\/a>and <a href=\"http:\/\/www.amazon.de\/gp\/product\/B004QDP05C\/ref=as_li_tl?ie=UTF8&amp;creativeASIN=B004QDP05C&amp;linkCode=as2&amp;tag=tade-21\" target=\"_blank\">PicoPSU-90<\/a> as mainboard connector.<\/p>\n<h2 style=\"text-align: left;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"\/wp-content\/uploads\/2016\/01\/_d_improd_\/IMG_2427_f_improf_207x249.jpg\" alt=\"\" width=\"207\" height=\"249\" data-mce-height=\"60\" data-mce-width=\"50\" \/><\/h2>\n<p style=\"text-align: left;\">Now all things are in place, just to drill a 8mm hole into the plate to put the external power connector plug.<\/p>\n<h2 style=\"text-align: left;\">&#8230; Installing OMV<\/h2>\n<p>I follow the <a href=\"http:\/\/www.technikaffe.de\/anleitung-255-installation_und_konfiguration_von_openmediavault_inkl._wake_on_lan\" target=\"_blank\">instructions <\/a>until I reboot the system and removed the boot USB. I hit the issue that the server didn&#8217;t start as I expect and hang with a blinking cursor.<\/p>\n<p>After some investigations I found out that the boot partition on the installation USB SLC stick miss the boot mark.<\/p>\n<p>So I login the system change with help of <strong>fdisk \/dev\/sdX<\/strong> (either on the console, or a ssh connection) command &#8216;a&#8217; &#8216;1&#8217; and toggle bootflag. Write the partiontable and reboot the system.<\/p>\n<p>&nbsp;<\/p>\n<h2>&#8230; The server disappear from the network?<\/h2>\n<p>Then you need to fixe the Kernel due to Gigabit lan issue in Kernel 3.2. Problem appears if you transfer more then 8GB to the server in one session by SMB\/Windows share. The network disappear, but the server is still running (check the console is still operatable).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignright\" src=\"\/wp-content\/uploads\/2016\/01\/_d_improd_\/Upload_f_improf_317x202.png\" alt=\"\" width=\"317\" height=\"202\" data-mce-height=\"51\" data-mce-width=\"80\" \/>That&#8217;s the Gigabit lan problem. To solve I&#8217;ve to apply the <a href=\"http:\/\/www.technikaffe.de\/anleitung-327-backports_kernel_fuer_openmediavault__debian_wheezy_installieren\" target=\"_blank\">Kernal Backport<\/a> fix.<\/p>\n<ol>\n<li>Install -&gt; Start<\/li>\n<li>Reboot<\/li>\n<li>Choose Kernel 3.16 and <strong>set as default<\/strong><\/li>\n<li>Reboot<\/li>\n<\/ol>\n<p>&#8230; then you are lucky and in my case I achieve 80mb\/s upload to the server \ud83d\ude42<\/p>\n<h2>&#8230; Wakeup the server<\/h2>\n<p>For do some rsync backup between my NAS I added a autowakeup at 9am. See the screen below which describes all what need to be setup for this.<\/p>\n<h3>.. if the server suport own wakeup in Bios<\/h3>\n<p>&nbsp;<\/p>\n<p><a href=\"\/wp-content\/uploads\/2016\/01\/Wakeup-Server-9am.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" style=\"max-width: none;\" src=\"\/wp-content\/uploads\/2016\/01\/_d_improd_\/Wakeup-Server-9am_f_improf_267x189.png\" alt=\"\" width=\"267\" height=\"189\" data-mce-height=\"189\" data-mce-width=\"267\" \/><\/a>Use the rtcwake tool.<\/p>\n<blockquote>\n<pre>rtcwake -m no -l -t $(date +%s -d '08:00 tomorrow'<\/pre>\n<\/blockquote>\n<h3>.. wakeup from remote machine<\/h3>\n<p>Another option is to wakeup the server by sending a WOL. In my case I do it from a Synology NAS or my PC.<\/p>\n<p>Here the command I use from NAS triggered by a cron job:<\/p>\n<blockquote>\n<pre>ether-wake -i eth0 &lt;eth0-address&gt;<\/pre>\n<\/blockquote>\n<h2>&#8230; Finally going to production<\/h2>\n<p style=\"text-align: left;\">WOL is working great and this NAS solution is up within 10sec. The effort was worth I invest.<\/p>\n<p style=\"text-align: left;\">Finally a download speed form the server<\/p>\n<p style=\"text-align: left;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"\/wp-content\/uploads\/2016\/01\/_d_improd_\/Download_f_improf_309x198.png\" alt=\"\" width=\"309\" height=\"198\" data-mce-height=\"24\" data-mce-width=\"24\" \/><\/p>\n<p style=\"text-align: left;\">Project closed\ud83d\udc4a\ud83c\udffb<\/p>\n<h2>\u00a0Problem Server go off, can&#8217;t be started<\/h2>\n<p>29.01.2016 the server is not starting anylonger. First I thought is about the NAS, but the other NAS and the network is running propper.<\/p>\n<p>Assumptions:<\/p>\n<ol>\n<li><a href=\"http:\/\/www.amazon.de\/gp\/product\/B00ABYBQSK\/ref=as_li_tl?ie=UTF8&amp;creativeASIN=B00ABYBQSK&amp;linkCode=as2&amp;tag=tade-21\">External power supply<\/a> might be defect<\/li>\n<li><a href=\"http:\/\/www.amazon.de\/gp\/product\/B004QDP05C\/ref=as_li_tl?ie=UTF8&amp;creativeASIN=B004QDP05C&amp;linkCode=as2&amp;tag=tade-21\" target=\"_blank\">PicoPSU-90<\/a> might be defect<\/li>\n<\/ol>\n<p>I go for an exchange of the power supply and will order a <a href=\"http:\/\/www.amazon.de\/gp\/product\/B00ABKSQGO\/ref=as_li_tl?ie=UTF8&amp;creativeASIN=B00ABKSQGO&amp;linkCode=as2&amp;tag=tade-21\">BeQuit 7 300W<\/a> let&#8217;s see if this will solve the issue.<\/p>\n<h2>Next step<\/h2>\n<p><a href=\"http:\/\/it-merge.com\/ups-secure-my-data\">Next step to secure the data by connect the NAS to a UPS.<\/a><\/p>\n<hr \/>\n<h2>History<\/h2>\n<p>Edit 12.01.2016: Close project<\/p>\n<p>Edit 13.01.2016: Add wakeup server for rsync<\/p>\n<p>Edit 26.01.2016: Add download screen shot<\/p>\n<p>Edit 29.01.2016: Server l\u00e4sst sich nicht mehr einschalten<\/p>\n","protected":false},"excerpt":{"rendered":"<p>NAS @ home Today I start my new NAS server project. After several evaluations I decided today to build up[&#8230;]<\/p>\n","protected":false},"author":2,"featured_media":247,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,4],"tags":[37,35,40,38,39,36],"class_list":["post-46","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-nas","category-technical","tag-asrock","tag-be-quiet-300","tag-ether-wake","tag-picopsu-90","tag-rtcwake","tag-synology"],"_links":{"self":[{"href":"https:\/\/it-merge.com\/index.php?rest_route=\/wp\/v2\/posts\/46","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it-merge.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/it-merge.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/it-merge.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/it-merge.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=46"}],"version-history":[{"count":26,"href":"https:\/\/it-merge.com\/index.php?rest_route=\/wp\/v2\/posts\/46\/revisions"}],"predecessor-version":[{"id":203,"href":"https:\/\/it-merge.com\/index.php?rest_route=\/wp\/v2\/posts\/46\/revisions\/203"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/it-merge.com\/index.php?rest_route=\/wp\/v2\/media\/247"}],"wp:attachment":[{"href":"https:\/\/it-merge.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=46"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/it-merge.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=46"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/it-merge.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=46"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}