GregLedet.net That dude writing stuff about that thing.

15Jan/1612

FreeNAS, Plex, and Plex Automation – Part 3 – The Build

Now the fun starts! All the parts arrived and it was time to put them on the test bench to burn things in. This is my first ever dual processor build, so it was definitely a learning experience. Nothing is really different, it's just twice as much. When the motherboard arrived, it was absolutely beautiful.

IMG_5252

I couldn't wait to get everything put together and get it on the bench. The RAM had arrived a few days earlier and I knew the processors were supposed to be arriving via USPS later that day. I was antsy with anticipation! Then the letter carrier arrived and my CPUs were ready to go into the board.

IMG_5254

Now that I've got the processors and RAM installed, lets put on the coolers, get it mounted to the bench, and get it wired up.

IMG_5255

Thank God I sprung for the EATX version of this test bench. For those of you that are curious, this is the Highspeed PC Half-Deck Tech Station XL-ATX and it's a great little test bench. There's no metal parts to come in contact with the motherboard, so no worries about shorting things out.

Now that everything was together, it was time for the smoke test. In case you didn't know, computers actually run on smoke. If the smoke escapes, it stops working, and the first POST of a new computer, especially one with an open-box motherboard and CPUs from eBay, is the time when that smoke is most likely to escape. Luckily, this one passed the smoke test.

IMG_5259

I slapped the 6x 6TB drives into a carrier and put the LSI 9211-8i HBA in to start burning everything in. I added a USB fan to keep the HBA cool since there wasn't any airflow on that side of the board. The HDD rack has it's own fan. Getting the HBA flashed to the IT firmware was quite the pain, but I'll save that for it's own post.

First up was to run memtest86 and check the 128GB of ECC DDR3. I ran this for a few days to really beat up the memory, as memtest86 runs over and over and over again until you stop it. After the first pass, I knew I was going to be good because there were no errors found, but I let it run for a while just to be safe. I love this picture because it shows 32 CPUs found and 16 started (It's 16 physical cores with hyper-threading for a total of 32)!

IMG_5266

After burning in the machine for a while, it was time to transplant it into its permanent home, the Rosewill rackmount chassis. Problem was, there was already a computer in there.

IMG_5239

So, I pulled out the old motherboard (which will actually end up being my new gaming rig) to have a fresh case to start with.

IMG_5267

After moving some standoffs around, the motherboard fit in perfectly.

IMG_5272

IMG_5273

IMG_5271

My original plan was to use the onboard SAS ports for the six 3TB drives and use the LSI HBA for the six 6TB drives, then use the onboard SATA3 ports for the two SSDs. I ended up using all 8 onboard SAS ports instead. FreeNAS doesn't care what controller the drives are plugged into. I'm not sure if that was a good idea or not, and I plan on looking into it more. If it turns out it is a bad idea, I'll just move all the 6TB drives to the same controller.

Once everything was put together, it was time to boot it up in the chassis for the first time. I hit the power button and... nothing. The fans spun up for a second, then the whole thing shut down. I had no idea what was going on. The first thing that came to mind was the fact that I couldn't find the second CPU power cable for the EVGA power supply, so I "borrowed" one from a Corsair PSU I had. I went ahead and unplugged all the drives to see if maybe something there was shorted and it wasn't. I grabbed the Corsair PSU and plugged it into the second CPU and the computer booted. Ok, maybe it was the cable...

I pulled the EVGA PSU out, put the Corsair PSU in, kinda redid all the cable management, and hit the power button...

IMG_5275

Nothing. WTF??? This thing was working fine on the test bench! I did a little more troubleshooting and figured that if it was working fine on the test bench, I'd just go grab that PSU and use it. Out with the Corsair PSU, in with a Rosewill 1000W that I use for the test bench. I hit the power button and... IT'S ALIVE!

IMG_5274

The drives are all recognized, FreeNAS boots up without a problem, and we're good to go. My wife actually did the cable management in the chassis because I was fed up with dealing with it. I was originally going to start with a fresh install of FreeNAS, but since it booted up with no issues, I decided to just stick with the current install, though I found out pretty quick that I needed to delete all the tunables created by autotune as they didn't update to the new hardware. My ARC was still limited to 12GB.

The box has been up and running damn good for over a week now, minus a few reboots with me doing stuff.

Screen Shot 2016-01-15 at 10.24.11 AM

I built the new volume with the six 6TB drives and started moving some stuff to that new pool.

Screen Shot 2016-01-15 at 10.28.41 AM

Screen Shot 2016-01-15 at 10.26.56 AM

So, that's the hardware build of my new FreeNAS server. Next, we'll get into the software part of the whole thing. Even though I already have FreeNAS installed and running on this machine, I'll run through the install procedure using another box and we'll get into the meat and potatoes of getting FreeNAS, Plex, and all the Plex Automation setup.

22Dec/150

Home NAS Refresh

I think that, in this day and age, everyone should have a NAS at their house. For those of you that don't know what I'm talking about, NAS stands for 'Network Attached Storage'. A NAS is handy for storing all sorts of things, primarily backups of your computers and your media. In my case, I have a lot of movies and TV shows for my various media players. I also have a ton of photos and videos from over the years, as well as from my drones. Having a large NAS means that I don't have delete anything. My NAS also acts as a server for various other things that I'll get into in another post.

For your NAS to be effective, it needs to have lots of space and have enough room to expand. You also need to have an effective operating system running the NAS. For this build, I'm going to use FreeNAS. I had been planning to build this thing for a while, but didn't get around to finally getting everything setup and running until July 31, 2015. Since then it's been running pretty stable, but I used an Intel G3220 and 8GB of RAM when I first put it together and I've outgrown that processor and RAM, so it's time for an upgrade. Here's the hardware list of everything that's going into the machine:

  • Intel Core i7-4790K CPU
  • ASRock Z97 EXTREME6 ATX LGA1150 Motherboard
  • G.Skill Ripjaws X Series 32GB (4 x 8GB) DDR3-1600 Memory
  • 6x WD Red 3TB 3.5" 5400RPM HDD
  • Rosewill R​SV-L4412 -​ 4U Rackmo​unt Server​ C​hassis, 12​ SATA / SA​S Hot-swap​ Drives
  • EVGA SuperNOVA 1000G2 1000W 80+ Gold Certified Fully-Modular ATX Power Supply

The only thing that's carrying over from the previous build are the 6 WD Red 3TB hard drives and the actual FreeNAS install. I was going to just upgrade the CPU and the RAM, but some pins got bent on the ASUS Z87-A motherboard I had, so it needed to get upgraded too. I also figured that while I was at it, I'd put it in a nice rackmount chassis too.

The build went rather smooth. I pulled the hardware out of the old mid-tower case and moved it into the rackmount chassis. I had originally planned on using some M.2 SSDs for boot drives, but ran into some issues. First, the drives I bought weren't compatible with the Ultra M.2 slot on the motherboard. Secondly, the other M.2 slot ate two of my SATA ports on the motherboard. Because I didn't bother to read the manual, it took me quite a while to figure out why those two drives weren't being seen by the BIOS. Ultimately, I got everything put together and all 6 drives were being recognized. FreeNAS booted right up without any issues. I'll probably pick up an Ultra M.2 SSD in the future to use as L2ARC since it's so freaking FAST.

More info will be posted soon on how I'm going to automate my media collection and sharing.

   
Seo wordpress plugin by www.seowizard.org.