{"id":270,"date":"2006-12-03T19:56:44","date_gmt":"2006-12-03T18:56:44","guid":{"rendered":"http:\/\/www.sungate.co.uk\/?p=270"},"modified":"2006-12-03T20:00:14","modified_gmt":"2006-12-03T19:00:14","slug":"getting-more-than-one-bargains-for","status":"publish","type":"post","link":"https:\/\/www.sungate.co.uk\/?p=270","title":{"rendered":"Getting more than one bargains for"},"content":{"rendered":"<p>I have an old PC at home which acts as a general-purpose server: local DNS caching, a web development environment (Apache, MySQL and PostgreSQL) and general file store.  Prior to obtaining a new router, it was also the firewll, gateway and DHCP server.  Its spec (Pentium-II 333MHz with 96MB RAM and an 8GB hard drive) is actually quite adequate.  However, the hardware is aging and is beginning to show faults.<\/p>\n<p>So, I decided to see if I could pick up a cheap, second-hand server from eBay.  I wasn&#8217;t looking for an especially high spec., nor was I in any particular rush, so I limited myself to &#8220;\u00c2\u00a350 including delivery&#8221; for the whole thing.  After being outbid on a couple of suitable items over the course of a week or so, I won the auction for an old Dell Poweredge 1300 server (about 4-5 years old I think).  The advertised spec was &#8220;Dual Pentium-III 700MHz, 512 MB RAM <i>and no hard disks<\/i>&#8220;: including delivery, this came to \u00c2\u00a338.00, although I knew that I&#8217;d have to spend a few extra quid at some stage to get a new hard disk for it, or at least to recycle an old one.<\/p>\n<p>It duly arrived and the first thing I did was open the case to take a look.  Sometimes, one gets more than one bargains for: not only was it <i>not<\/i> free of hard disks, there were <i>three<\/i> of them.  Three 9GB SCSI disks, Which Is Nice.  (Tangential thought at the time: &#8220;I wonder if there&#8217;s anything readable left on them?&#8221;).  Not only that, but there was a SCSI RAID controller driving the disks, which is excellent as this increases my options for setting up a more reliable system later.<\/p>\n<p>Further there was also a DAT tape drive in the box which included, rather intriguingly, a tape labelled simply &#8220;Wednesday&#8221;.  I&#8217;ve yet to investigate that.<\/p>\n<p>So, how to set this thing up?  I&#8217;ve actually got quite a few options.  I&#8217;m planning on running the same web development environment as before and am considering putting an IMAP server on it too, so that I can offload my email from my desktop, allowing it to be more generally accessible.  The server has enough RAM to do this, I think.  I will be installing Debian Etch on it and I&#8217;m left with two further decisions to make regarding the setup:<\/p>\n<ul>\n<li>How to set up RAID;<\/li>\n<li>How to partition the disk(s)<\/li>\n<\/ul>\n<p>There are basically two options with the RAID controller: either (a) a 3-disk RAID-5 array or (b) a 2-disk RAID-1 array plus a single standalone disk.  Both options would give me 18GB of useable space.  I think I prefer the first option, given that the disk system is never likely to get heavily loaded and this option is the simplest.  Actually, a further alternative is simply to get the RAID controller to present each disk separately and do <i>software<\/i> RAID.  I use software RAID on my desktop (basically a full RAID-1 setup: two identical disks) so this is familiar, but I&#8217;d quite like to make use of the on-board RAID controller given that the CPUs aren&#8217;t particularly fast.<\/p>\n<p>Partitioning the system is always tricky: I have a dislike\/distrust of LVM and so always prefer to partition manually.  Perhaps it doesn&#8217;t really matter too much on a system like this one, though.<\/p>\n<p>Oh, and one other important decision has already been made.  Its name.  In keeping with the general naming scheme of &#8220;ficticious penguins&#8221; here at home (Skipper, Tux etc.), this one will be Pingu.<\/p>\n<p>An update to the <a href=\"http:\/\/www.sungate.co.uk\/?p=269\">previous story<\/a>: I&#8217;ve had a postcard back from the office of Evan Harris at the House of Commons indicating that my request &#8220;will receive attention&#8221;.  Clearly a stock note, but better than nothing I suppose.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have an old PC at home which acts as a general-purpose server: local DNS caching, a web development environment (Apache, MySQL and PostgreSQL) and general file store. Prior to obtaining a new router, it was also the firewll, gateway and DHCP server. Its spec (Pentium-II 333MHz with 96MB RAM and an 8GB hard drive)&#8230;&nbsp;(<a href=\"https:\/\/www.sungate.co.uk\/?p=270\">read more<\/a>)<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-270","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.sungate.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/270","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sungate.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sungate.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sungate.co.uk\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sungate.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=270"}],"version-history":[{"count":0,"href":"https:\/\/www.sungate.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/270\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sungate.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=270"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sungate.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=270"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sungate.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=270"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}