{"id":47,"date":"2006-09-01T23:48:59","date_gmt":"2006-09-01T23:48:59","guid":{"rendered":"https:\/\/www.bishnet.net\/tim\/blog\/2006\/09\/01\/a-new-server-and-a-new-raid-setup\/"},"modified":"2010-11-11T13:01:56","modified_gmt":"2010-11-11T13:01:56","slug":"a-new-server-and-a-new-raid-setup","status":"publish","type":"post","link":"https:\/\/www.bishnet.net\/tim\/blog\/2006\/09\/01\/a-new-server-and-a-new-raid-setup\/","title":{"rendered":"A new server and a new RAID setup"},"content":{"rendered":"<p>So my current hosted server is getting a bit old. It&#8217;s not got enough RAM, and the disk in it is failing (yes, I did have RAID, more on that later). So it&#8217;s about time to get a replacement in.<\/p>\n<p>The guys over at <a href=\"http:\/\/www.netrino.co.uk\/\">Netrino<\/a> have just installed a new machine for me. I say new, but it&#8217;s not a brand spanking new bleeding edge state of the art all singing all dancing machine costing a million pounds. It&#8217;s just an Intel Celeron 2Ghz, with 1GB of RAM, and two 80GB hard disks. The main thing is the increased RAM, and two new (and hopefully working) disks.<\/p>\n<p>Things didn&#8217;t get off to a good start on day 1 &#8211; they didn&#8217;t have a FreeBSD CD to hand. They &#8220;kindly&#8221; left me a USB dongle containing a variety of Linux installers, so I had a play with them in the hope that I could somehow bootstrap a FreeBSD install from one. After some googling I found the <a href=\"http:\/\/www.daemonology.net\/depenguinator\/\">Depenguinator<\/a> that claimed to do exactly what I needed. A few hours later I discovered it didn&#8217;t &#8211; probably because its not been updated for more recent FreeBSD versions.<\/p>\n<p>On day 2 things got off to a better start &#8211; a FreeBSD 6.1 CD arrived in the CD-ROM drive and booted nicely. I had a quick play around to check everything &#8211; particularly the network card &#8211; worked, and thankfully it all did. Next came the installation.<\/p>\n<p>One area I&#8217;ve had quite a few problems with on FreeBSD is the software RAID provision. You&#8217;ll see in one of my <a href=\"https:\/\/www.bishnet.net\/tim\/blog\/2006\/06\/03\/i-dont-have-a-good-history-with-freebsd-raid\/\">previous posts<\/a> that I had some fatal problems with gvinum, and since then I&#8217;ve had other problems recovering a RAID 5 failure using it. Another alternative is ataraid, which worked fine for me up until FreeBSD 6. Since then I&#8217;ve not been able to get it to resync a failed disk properly &#8211; it hangs at 0% forever. So those two solutions are written off.<\/p>\n<p>Other than hardware RAID this leaves me with a clear choice: gmirror. I&#8217;ve been using gmirror on another machine for some time now, and I&#8217;m pleased with the results. Following <a href=\"http:\/\/www.onlamp.com\/pub\/a\/bsd\/2005\/11\/10\/FreeBSD_Basics.html\">this guide<\/a> it&#8217;s easy to apply it after installation, which is a definate selling point &#8211; I can&#8217;t stand solutions that require dumping and restoring. On my other machine its also had no problems resyncing, so another box ticked (or not ticked on the reasons-to-avoid list, actually).<\/p>\n<p>I&#8217;m left wondering here how hard it would be to add support for gmirror (and maybe some of the other geom providers) to the FreeBSD sysinstall program. I experimented with setting up the mirror by hand before running the installer, but it failed to notice it. If this functionality could be added it&#8217;d be a real selling point for FreeBSD.<\/p>\n<p>So, with the install complete, and the disks mirrored, I&#8217;m ready to move on to building and configuring. First up is updating the world and kernel, then installing all the software. I&#8217;ve not really figured out how I&#8217;ll copy everything across though&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So my current hosted server is getting a bit old. It&#8217;s not got enough RAM, and the disk in it is failing (yes, I did have RAID, more on that later). So it&#8217;s about time to get a replacement in. The guys over at Netrino have just installed a new machine for me. I say new, but it&#8217;s not a &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,4],"tags":[],"class_list":["post-47","post","type-post","status-publish","format-standard","hentry","category-computing","category-freebsd"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/posts\/47","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/comments?post=47"}],"version-history":[{"count":1,"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/posts\/47\/revisions"}],"predecessor-version":[{"id":367,"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/posts\/47\/revisions\/367"}],"wp:attachment":[{"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/media?parent=47"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/categories?post=47"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/tags?post=47"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}