<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Homelab on CatalystND</title>
    <link>https://catalystnd.com/tags/homelab/</link>
    <description>Recent content in Homelab on CatalystND</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Wed, 11 Sep 2024 13:09:19 -0400</lastBuildDate><atom:link href="https://catalystnd.com/tags/homelab/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>N100 Unraid Build and Synology Migration</title>
      <link>https://catalystnd.com/posts/n100/</link>
      <pubDate>Wed, 11 Sep 2024 13:09:19 -0400</pubDate>
      
      <guid>https://catalystnd.com/posts/n100/</guid>
      <description>&lt;p&gt;Parts List:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://www.amazon.com/dp/B0CQZH8X2P?ref=ppx_yo2ov_dt_b_fed_asin_title&#34;&gt;n100 motherboard&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://a.co/d/ap9LPXX&#34;&gt;32GB DDR5 4800MHz RAM&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.amazon.com/dp/B0B75JWXXS?ref=ppx_yo2ov_dt_b_fed_asin_title&#34;&gt;m.2 to 6x SATA adapter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://a.co/d/dYRatED&#34;&gt;5.25&amp;quot; to Cooled 3.5&amp;quot; Adapter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://a.co/d/1l4r44b&#34;&gt;Additional 2.5&amp;quot; Drive Tray&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://serverpartdeals.com/products/hgst-ultrastar-he12-0f29590-huh721212ale600-12tb-7-2k-rpm-sata-6gb-s-512e-256mb-cache-3-5-ise-power-disable-pin-manufacturer-recertified-hdd&#34;&gt;2x 12TB Refurbished SATA HDD&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;3x Assorted 6TB HDD&lt;/li&gt;
&lt;li&gt;4x 1TB SATA SSD&lt;/li&gt;
&lt;li&gt;1x 1TB nvme cache SSD&lt;/li&gt;
&lt;li&gt;Old 600W EVGA Power Supply&lt;/li&gt;
&lt;li&gt;Old Rosewell Mid-Tower Case&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I recently moved my &amp;ldquo;production&amp;rdquo; homelab to an n100 based NAS I build in an old gaming computer case, from a Dell PowerEdge R630 and a Synology DS220+.  It was a three step move, step one was to get the new box up and running.  Step two was to transfer the data from the synology and the workload from the PowerEdge.  Step 3 was to get the remaining drives out of the Synology and PowerEdge and into the new Unraid box.&lt;/p&gt;</description>
      <content>&lt;p&gt;Parts List:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://www.amazon.com/dp/B0CQZH8X2P?ref=ppx_yo2ov_dt_b_fed_asin_title&#34;&gt;n100 motherboard&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://a.co/d/ap9LPXX&#34;&gt;32GB DDR5 4800MHz RAM&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.amazon.com/dp/B0B75JWXXS?ref=ppx_yo2ov_dt_b_fed_asin_title&#34;&gt;m.2 to 6x SATA adapter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://a.co/d/dYRatED&#34;&gt;5.25&amp;quot; to Cooled 3.5&amp;quot; Adapter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://a.co/d/1l4r44b&#34;&gt;Additional 2.5&amp;quot; Drive Tray&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://serverpartdeals.com/products/hgst-ultrastar-he12-0f29590-huh721212ale600-12tb-7-2k-rpm-sata-6gb-s-512e-256mb-cache-3-5-ise-power-disable-pin-manufacturer-recertified-hdd&#34;&gt;2x 12TB Refurbished SATA HDD&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;3x Assorted 6TB HDD&lt;/li&gt;
&lt;li&gt;4x 1TB SATA SSD&lt;/li&gt;
&lt;li&gt;1x 1TB nvme cache SSD&lt;/li&gt;
&lt;li&gt;Old 600W EVGA Power Supply&lt;/li&gt;
&lt;li&gt;Old Rosewell Mid-Tower Case&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I recently moved my &amp;ldquo;production&amp;rdquo; homelab to an n100 based NAS I build in an old gaming computer case, from a Dell PowerEdge R630 and a Synology DS220+.  It was a three step move, step one was to get the new box up and running.  Step two was to transfer the data from the synology and the workload from the PowerEdge.  Step 3 was to get the remaining drives out of the Synology and PowerEdge and into the new Unraid box.&lt;/p&gt;
&lt;h2 id=&#34;the-build&#34;&gt;The Build&lt;/h2&gt;
&lt;p&gt;It has been a bit since I have built a computer, and this was a bit of a new experience.  The N100 board is a small forum factor, and already had the CPU and cooled built into the board.  I have also never filled a case with so many drives.  Now I didn&amp;rsquo;t add all of them until later on, but as you can see by the part list, it was ended up &lt;em&gt;loaded&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;It took some time to remove the old motherboard and drives.  The old system was the motherboard from the first computer I ever built in 2012 - an &lt;strong&gt;AM3+&lt;/strong&gt; motherboard that started with a &lt;a href=&#34;https://www.amazon.com/AMD-Phenom-3-4Ghz-512KB-4000MHZ/dp/B002SRQ214&#34;&gt;Phenom II x4&lt;/a&gt; cpu that was later upgraded to an &lt;a href=&#34;https://www.newegg.com/amd-fx-8000-series-fx-8350-black-edition/p/N82E16819113284?srsltid=AfmBOoqeZDL9ZYbu8oqxxucFZTvVWmTl_KIq80kRsYMULTVa3d0QIsKL&#34;&gt;AMD FX-8350&lt;/a&gt;.  I am still a sucker for the logo design on those chips.
&lt;img src=&#34;https://catalystnd.com/am3case.heic&#34; alt=&#34;am3&amp;#43; build in case&#34;&gt;&lt;/p&gt;
&lt;p&gt;Once I got the initial build done - n100 mounted, power and front panel headers connected, and 3 of the hard drives (2x 12TB, 1x 6TB) I was ready to get the OS installed.  With Unraid, you install the OS on a USB drive.  This board, being built as a NAS motherboard, had an internal USB 3.0.  So I imaged a 64GB USB (which required me to &lt;a href=&#34;https://docs.unraid.net/unraid-os/getting-started/manual-install-method/&#34;&gt;manually make the USB bootable.&lt;/a&gt;  I also only make a &lt;em&gt;20GB partition&lt;/em&gt; so I didn&amp;rsquo;t have to bother doing anything weird to get a &lt;em&gt;FAT32&lt;/em&gt; partition on it.)&lt;/p&gt;
&lt;h2 id=&#34;moving-the-data&#34;&gt;Moving the data&lt;/h2&gt;
&lt;p&gt;Once everything was booted, I added a 12TB drive for parity, and the other 2 drives as data disks.  It was going to take over a day to calculate parity, so I started transferring the data from the Synology.  I found the best method was to setup and mount an NFS share from the Synology on the Unraid box.  I added NFS to my network share and added the IP of the Unraid box as read/write.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Setup your share in unraid.  In this example, the share name will be share&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Mount the old servers share.  Example NFS mount command bellow. Replace IP with your server&amp;rsquo;s IP, /share with the share name, and /synology/share with where you want to mount it.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;mount -t nfs 10.10.0.10:/share /synology/share
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ol start=&#34;3&#34;&gt;
&lt;li&gt;Use rsync to ensure a full sync between the two devices&lt;/li&gt;
&lt;/ol&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;rsync /synology/share/ /mnt/share
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;This make take a long time to complete, depending on the amount of data you are moving.&lt;/p&gt;
&lt;h2 id=&#34;moving-the-drives&#34;&gt;Moving the Drives&lt;/h2&gt;
&lt;p&gt;I am going to skip past setting up all my docker containers, since I recreated them all and didn&amp;rsquo;t migrate.  So at this point, I was able to take 4x 1TB SSD&amp;rsquo;s out of my PowerEdge since my workload had been moved to docker on the Unraid box, and 2x 6TB drives from the Synology.&lt;/p&gt;
&lt;p&gt;I shutdown the Unraid box, and wired up the new drives.  Once back in unraid, I added the SSD&amp;rsquo;s to a pool, which by default setup a mirror btrfs filesystem, which is what I wanted.  So no change needed there.&lt;/p&gt;
&lt;p&gt;I also added the 6TB drives to the array.  Before it allowed me to format them, Unraid does a disk clear.  This means the disk is written with all 0&amp;rsquo;s so parity is not lost and does not need to be recalculated. This is done automatically, you do not need to do anything special.  Once the disk clear was done (It took somewhere between 3-6 hours, I was not keeping close track) I was able to format the drives with a file system (literally pressing the format button) and they were now part of the main protected array.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://catalystnd.com/unraiddash.png&#34; alt=&#34;Unraid Dashboard&#34;&gt;&lt;/p&gt;
</content>
    </item>
    
    <item>
      <title>Overkill PowerEdge server or Underpowered NAS board</title>
      <link>https://catalystnd.com/posts/overorunder/</link>
      <pubDate>Fri, 23 Aug 2024 16:02:21 -0400</pubDate>
      
      <guid>https://catalystnd.com/posts/overorunder/</guid>
      <description>&lt;p&gt;Currently, I am in the process from moving from a dual xeon cpu poweredge with 128GB of RAM running Proxmox, to a &lt;a href=&#34;https://www.aliexpress.us/item/3256807019028049.html?spm=a2g0o.order_detail.order_detail_item.2.262af19c3z47fm&amp;amp;gatewayAdapt=glo2usa&#34;&gt;N100 white-label NAS motherboard&lt;/a&gt; I got for $120 off AliExpress running Unraid.  This may sound like a crazy proposition, but hear me out.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Power&lt;/strong&gt; - Big enterprise hardware is meant to be used and abused.  Therefore, its idle power consumption is not really a concern.  This means that even though I am only using 1% of the CPU at idle, I am still using ~200 watts, and if I do start taxing it, it can easily for towards 1000 watts.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;3.5&amp;quot; Hard Drives&lt;/strong&gt; - All of the servers I own are 1U servers, and only have 2.5&amp;quot; drive bays.  Although I do not need nearly as much compute as I have available on the power edge, I do want to upgrade my storage.  Most of my data is kept on a Synology DS220+ with 2x 6TB Western Digital Red drives in RAID 0 (I know this is &lt;em&gt;insane&lt;/em&gt; and want to change it, thats part of what we are doing here).  The plan is to setup the N100 as my primary NAS, which will have 12 SATA ports and will be in a case large enough to handle lots of 3.5&amp;quot; drives.  Then I can convert the Synology to RAID 1 and use it for backups.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Unraid for array expandability&lt;/strong&gt; - My Synology could only take 2 hard drives.  The big benefits of Unraid for me will be the ability to add more drives at a later date, and being able to mix drive sizes.  I have a spare 6TB drive, a ton of 1TB SSDs, and two 12TB used enterprise hard drives on the way.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;My main concern is that I won&amp;rsquo;t have enough computer.  Sure, I can always still boot up the big servers if I have a large task I need to handle, but they can&amp;rsquo;t stay running 24/7 since the point of all this is to lower power consumption.  To help this, I am going to get my RPi 5 which has been collecting dust on a shelf setup as well.  Most of what I currently have running in the lab are docker containers, so it will be easy to migrate some of those workloads to the Pi.  I also have an old i3 NUC from 2015 I could boot up if I need to as well, but I would rather avoid it since it needs a new drive and probably isn&amp;rsquo;t worth the investment.&lt;/p&gt;</description>
      <content>&lt;p&gt;Currently, I am in the process from moving from a dual xeon cpu poweredge with 128GB of RAM running Proxmox, to a &lt;a href=&#34;https://www.aliexpress.us/item/3256807019028049.html?spm=a2g0o.order_detail.order_detail_item.2.262af19c3z47fm&amp;amp;gatewayAdapt=glo2usa&#34;&gt;N100 white-label NAS motherboard&lt;/a&gt; I got for $120 off AliExpress running Unraid.  This may sound like a crazy proposition, but hear me out.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Power&lt;/strong&gt; - Big enterprise hardware is meant to be used and abused.  Therefore, its idle power consumption is not really a concern.  This means that even though I am only using 1% of the CPU at idle, I am still using ~200 watts, and if I do start taxing it, it can easily for towards 1000 watts.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;3.5&amp;quot; Hard Drives&lt;/strong&gt; - All of the servers I own are 1U servers, and only have 2.5&amp;quot; drive bays.  Although I do not need nearly as much compute as I have available on the power edge, I do want to upgrade my storage.  Most of my data is kept on a Synology DS220+ with 2x 6TB Western Digital Red drives in RAID 0 (I know this is &lt;em&gt;insane&lt;/em&gt; and want to change it, thats part of what we are doing here).  The plan is to setup the N100 as my primary NAS, which will have 12 SATA ports and will be in a case large enough to handle lots of 3.5&amp;quot; drives.  Then I can convert the Synology to RAID 1 and use it for backups.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Unraid for array expandability&lt;/strong&gt; - My Synology could only take 2 hard drives.  The big benefits of Unraid for me will be the ability to add more drives at a later date, and being able to mix drive sizes.  I have a spare 6TB drive, a ton of 1TB SSDs, and two 12TB used enterprise hard drives on the way.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;My main concern is that I won&amp;rsquo;t have enough computer.  Sure, I can always still boot up the big servers if I have a large task I need to handle, but they can&amp;rsquo;t stay running 24/7 since the point of all this is to lower power consumption.  To help this, I am going to get my RPi 5 which has been collecting dust on a shelf setup as well.  Most of what I currently have running in the lab are docker containers, so it will be easy to migrate some of those workloads to the Pi.  I also have an old i3 NUC from 2015 I could boot up if I need to as well, but I would rather avoid it since it needs a new drive and probably isn&amp;rsquo;t worth the investment.&lt;/p&gt;
&lt;p&gt;I am currently still waiting for the board to come in, and I will make a post going over the new setup once it arrives!&lt;/p&gt;
</content>
    </item>
    
  </channel>
</rss>
