My ZFS Build

MilesTeg

n00b
Joined
Dec 9, 2010
Messages
26
A few months ago I realized I was reaching the limits of my current home server, an HP Mediasmart EX485, with two 4 bay USB 2.0 external enclosures (due to lack of a eSATA port multiplier), all filled with 2 TB drives. Folder duplication is nice but I was getting to the point where it was not practical to store 2 copies of all my date. I lurked here for a while and eventually decided to go with a with build which will be running FreeBSD and sub.mesa's ZFSguru web interface. I am still in the process of building but I thought I would share my progress, problems, benchmarks, power usage statistics, etc. so that others might get some ideas for their own builds or learn from my mistakes.

The Parts:
Case- Norco RPC-4220: $295.00
Motherboard- SUPERMICRO MBD-X8SIL-F-O: $189.99
CPU - Intel Core i3-530: $99.99
CPU Cooler- Noctua NH-U9B: $60.00
RAM- Kingston 4GB (2 x 2GB) 240-Pin DDR3 SDRAM ECC Unbuffered DDR3 1333 Server Memory Model KVR1333D3E9SK2/4G x 2 kits: $112.00
Hard Drives (for 2 x 10 disk RaidZ2 vdev's)- SAMSUNG Spinpoint F4 HD204UI 2TB x 20 drives: $1600.00
Hard Drives (for ZFS mirror)- Western Digital WD5000BPVT 500Gb Notebook Hard Drive x 2 drives: $98.00
Power Supply- CORSAIR HX Series CMPSU-750HX: $99.99
HBA- LSI SAS3081E-R x 2: $200.00
Cables- NORCO C-SFF8087-D SFF-8087 to SFF-8087 Internal Multilane SAS Cable x 4 cables: $60.00
Cables cont.- NORCO C-SFF8087-4S Discrete to SFF-8087 (Reverse breakout) Cable: $13.00
Replacement Case Fans (120mm)- Noctua NF-P12 x 3 fans: $75.00
Replacement Case Fans (80mm)- Noctua NF-R8 x 2 fans $34.00

Total Cost: ~$3000

Progress So Far:
p1000919d.jpg

p1000920q.jpg


I am still awaiting delivery of the HBA's, the CPU cooler, and the remaining 10 Samsung hard drives, otherwise everything is pretty much assembled. The only issue I have had so far are 1 bad stick of RAM for the kit I got at newegg that I had to RMA.
My choice of parts is heavily weighed towards low power consumption and quiet operation. At the moment I am in a one bedroom apartment and the server needs to sit in my computer/living room area. So far it is very quiet but the stock Intel cpu cooler was a bit too high pitched for my taste (hence the Noctua cooler).
Right now I am updating the firmware on all of the Samsung drives, and running full diagnostics of each disk. After that I am going to run memtest to check the memory for any errors.

I will post updates as my progress continues.
 
As an Amazon Associate, HardForum may earn from qualifying purchases.
This looks like an awesome build! Looking forward to see more (photos and information) about your current progress.

To use Noctua fans is an excellent idea as they are REALLY noiseless :)
 
Very cool build! I'm jealous :D I love ZFSGuru; definitely going to implement it when I rebuild my server.
 
Great build, sure would love more pics when your new hardware arrives. :)

And i can't blame you for wanting to run my Web-GUI. :D
Actually, just yesterday i migrated one of my ZFS servers to ZFSguru instead. The biggest issue with 0.1.7 is perhaps that it lacks authentication; so you may want to setup firewall to limit access to only your IP. Especially if you use wireless LAN this may be recommended, since otherwise people hacking into your wireless could also 'play with your server'; which i assume you wouldn't want. :D

There's one point i would like to address though: with 4GiB RAM you have alot of disks relative to your RAM size. This means performance won't scale as optimal. Is that bad? Depends, do benchmarks and if your local+remote performance is capped by gigabit then you may decide to keep it this way.

However, personally, i would drop in at least 8GiB RAM for that many disks. You do have ECC memory though, i've seen ECC DDR3 drop in price recently, but not as much as ordinary (non-ECC) DDR3 memory.

I suggest you use the Benchmarking feature to determine your current performance, and then you can decide on whether to buy more memory. When you do, you have the choice between:
- buying 2 extra 2x 2GiB = 8GiB (cheapest)
- buying 2 extra 2x 4GiB = 12GiB (not sure if this works?)
- buying 4x 4GiB = 16GiB (requires you to move your current 2x2GB to another system)

Before you buy anything, i would wait on the benchmarks. Even if you just scale to 30% from what is theoretically possible (2600MB/s) then that would already be 780MB/s in RAID0 configuration; say around 500MB/s in RAID-Z/2. That's well above gigabit limits. You would want a healthy margin though, since after filling your pool it won't be as fast anymore; disks are only fastest at the outer tracks and slowly degrade towards the end of their capacity. Also fragmentation could play a role. So you would want at least double the network-capped speeds, and preferably more.
 
I've got the same drives / fans in my case, and the drive temps usually hover around the 30C mark.
 
Great build, sure would love more pics when your new hardware arrives. :)

And i can't blame you for wanting to run my Web-GUI. :D
Actually, just yesterday i migrated one of my ZFS servers to ZFSguru instead. The biggest issue with 0.1.7 is perhaps that it lacks authentication; so you may want to setup firewall to limit access to only your IP. Especially if you use wireless LAN this may be recommended, since otherwise people hacking into your wireless could also 'play with your server'; which i assume you wouldn't want. :D

There's one point i would like to address though: with 4GiB RAM you have alot of disks relative to your RAM size. This means performance won't scale as optimal. Is that bad? Depends, do benchmarks and if your local+remote performance is capped by gigabit then you may decide to keep it this way.

However, personally, i would drop in at least 8GiB RAM for that many disks. You do have ECC memory though, i've seen ECC DDR3 drop in price recently, but not as much as ordinary (non-ECC) DDR3 memory.

I suggest you use the Benchmarking feature to determine your current performance, and then you can decide on whether to buy more memory. When you do, you have the choice between:
- buying 2 extra 2x 2GiB = 8GiB (cheapest)
- buying 2 extra 2x 4GiB = 12GiB (not sure if this works?)
- buying 4x 4GiB = 16GiB (requires you to move your current 2x2GB to another system)

Before you buy anything, i would wait on the benchmarks. Even if you just scale to 30% from what is theoretically possible (2600MB/s) then that would already be 780MB/s in RAID0 configuration; say around 500MB/s in RAID-Z/2. That's well above gigabit limits. You would want a healthy margin though, since after filling your pool it won't be as fast anymore; disks are only fastest at the outer tracks and slowly degrade towards the end of their capacity. Also fragmentation could play a role. So you would want at least double the network-capped speeds, and preferably more.

Thanks for the feedback. I will definitely post more pics when everything is finally finished and follow your advice on setting up some firewall rules until authentication is enabled. I should have been more clear in my first post but I will have 8 gb (4 x 2gb) of ram installed once my replacement kit arrives for the RMA of the bad stick. I know that ZFS is a memory hungry beast :p. I plan to turn off duplication on the WHS and use that as an offline mirror at least for the next month or two as I get familiar with the new system.
 
Hi there,

Any updates on your build, as i'm looking at something similar, and would like to see how you got on...

Cheers
G
 
The i3 530 technically "supports" ECC ram, it's only by allowing you to use the physical sticks, the ECC component only functions with xeon cpus.
 
The i3 530 technically "supports" ECC ram, it's only by allowing you to use the physical sticks, the ECC component only functions with xeon cpus.

Hmm, yeah.. I was going to say.. I don't think the i3 (or i5 or i7) series supports ECC. Only Xeons..

Riley
 
It's been a while so I thought it was time for an update.

Here is the complete build:
p1000922w.jpg


My HBA's finally arrived from Hong Kong on the 11th so that makes the turnaround time about 2 weeks even after paying for express shipping. That being said these are the best deal you will find on a LSI 1068e HBA anywhere. I replaced the stock intel cooler with the Noctua cooler and it has made a positive impact on noise. Now, even with all 20 drives spinning it is difficult to tell if the system is on sitting 5 feet away from it. It only makes a very quiet whooshing sound which is very easy to ignore. The replacement RAM arrived so it is now topped off at 8gb. Some of you were debating using the ECC RAM with the i3 and you are right the ECC functions are disabled when using the i3. I chose the i3 for power consumption and cost reasons although looking back on it I kind of wish I would have gotten a xeon as the added cost is not that great as a fraction of the total cost and it would allow me to enable virtualization and ECC. I may pick up a xeon for this in the future if the prices come down.

I installed ZFSguru on a zfs mirror pool of the two 2.5 inch drives which is working great. For the storage drives I created this excel spreadsheet to help me find the drives in the event of a failure. The 4220 has 5 rows and 4 columns of drives. I then formatted each drive with a GEOM label indicating the location, i.e. R1C1 so I can replace easily if a drive fails. That was working fine initially but ZFSguru appears to have "lost" about half of the GEOM labels for the drives. This doesn't cause the pools to fail but it is still inconvenient.
drivesd.jpg


While doing benchmarking on the storage drives I noticed a huge number of cable errors which I traced back to a bad SFF-8087 cable. I have contacted NORCO and am waiting for a response/replacement. After unhooking that cable I was still able to run some benchmarks with a 10 drive set but experienced crashes during the benchmarks every time I ran them as described here.

I was still able to run partial benchmarks and get results for the configuration I will be using, a 10 disk raidz2. I plan on assigning drives from columns 1 and 2 to the first raidz2 and from columns 3 and 4 for the second. In this way I will still be able to access my data in case one of the backplanes gets fried.

Autotuning enabled without 4k override:
Code:
ZFSGURU-benchmark, version 1
Test size: 32.000 gigabytes (GiB)
Test rounds: 3
Cooldown period: 2 seconds
Sector size override: default (no override)
Number of disks: 10 disks
disk 1: label/R5C1
disk 2: label/R5C2
disk 3: label/R5C3
disk 4: label/R5C4
disk 5: label/R4C3
disk 6: label/R4C4
disk 7: label/R2C2
disk 8: label/R1C3
disk 9: label/R4C2
disk 10: label/R2C4


* Test Settings: TS32; 
* Tuning: KMEM=12g; AMIN=4g; AMAX=6g; 
* Stopping background processes: sendmail, moused, syslogd and cron
* Stopping Samba service

Now testing RAID0 configuration with 8 disks: cWmRd@cWmRd@cWmRd@
READ:	670 MiB/sec	644 MiB/sec	622 MiB/sec	= 646 MiB/sec avg
WRITE:	648 MiB/sec	668 MiB/sec	672 MiB/sec	= 662 MiB/sec avg

Now testing RAID0 configuration with 9 disks: cWmRd@cWmRd@cWmRd@
READ:	825 MiB/sec	818 MiB/sec	805 MiB/sec	= 816 MiB/sec avg
WRITE:	706 MiB/sec	710 MiB/sec	713 MiB/sec	= 710 MiB/sec avg

Now testing RAID0 configuration with 10 disks: cWmRd@cWmRd@cWmRd@
READ:	934 MiB/sec	950 MiB/sec	915 MiB/sec	= 933 MiB/sec avg
WRITE:	748 MiB/sec	762 MiB/sec	758 MiB/sec	= 756 MiB/sec avg

Now testing RAIDZ configuration with 8 disks: cWmRd@cWmRd@cWmRd@
READ:	653 MiB/sec	707 MiB/sec	709 MiB/sec	= 690 MiB/sec avg
WRITE:	241 MiB/sec	241 MiB/sec	245 MiB/sec	= 242 MiB/sec avg

Now testing RAIDZ configuration with 9 disks: cWmRd@cWmRd@cWmRd@
READ:	615 MiB/sec	600 MiB/sec	662 MiB/sec	= 626 MiB/sec avg
WRITE:	568 MiB/sec	574 MiB/sec	583 MiB/sec	= 575 MiB/sec avg

Now testing RAIDZ configuration with 10 disks: cWmRd@cWmRd@cWmRd@
READ:	742 MiB/sec	694 MiB/sec	693 MiB/sec	= 710 MiB/sec avg
WRITE:	300 MiB/sec	293 MiB/sec	289 MiB/sec	= 294 MiB/sec avg

Now testing RAIDZ2 configuration with 8 disks: cWmRd@cWmRd@cWmRd@
READ:	545 MiB/sec	529 MiB/sec	518 MiB/sec	= 531 MiB/sec avg
WRITE:	467 MiB/sec	454 MiB/sec	454 MiB/sec	= 458 MiB/sec avg

Now testing RAIDZ2 configuration with 9 disks: cWmRd@cWmRd@cWmRd@
READ:	597 MiB/sec	581 MiB/sec	578 MiB/sec	= 585 MiB/sec avg
WRITE:	475 MiB/sec	470 MiB/sec	469 MiB/sec	= 471 MiB/sec avg

Now testing RAIDZ2 configuration with 10 disks: cWmRd@cWmRd@cWmRd@
READ:	714 MiB/sec	741 MiB/sec	724 MiB/sec	= 726 MiB/sec avg
WRITE:	257 MiB/sec	264 MiB/sec	260 MiB/sec	= 260 MiB/sec avg

Now testing RAID1 configuration with 8 disks: cWmRd@cWmRd@cWmRd@
READ:	513 MiB/sec	545 MiB/sec	577 MiB/sec	= 545 MiB/sec avg
WRITE:	117 MiB/sec	118 MiB/sec	120 MiB/sec	= 118 MiB/sec avg

Now testing RAID1 configuration with 9 disks: cWmRd@cWmRd@cWmRd@
READ:	632 MiB/sec	622 MiB/sec	618 MiB/sec	= 624 MiB/sec avg
WRITE:	123 MiB/sec	121 MiB/sec	115 MiB/sec	= 120 MiB/sec avg

Now testing RAID1 configuration with 10 disks: cWmRd@cWmRd@cWmRd@
READ:	691 MiB/sec	646 MiB/sec	661 MiB/sec	= 666 MiB/sec avg
WRITE:	122 MiB/sec	118 MiB/sec	116 MiB/sec	= 119 MiB/sec avg

Now testing RAID1+0 configuration with 8 disks: cWmRd@cWmRd@cWmRd@
READ:	549 MiB/sec	553 MiB/sec	526 MiB/sec	= 542 MiB/sec avg
WRITE:	421 MiB/sec	413 MiB/sec	419 MiB/sec	= 418 MiB/sec avg

Now testing RAID1+0 configuration with 10 disks: cWmRd@cWmRd@cWmRd@
READ:	623 MiB/sec	611 MiB/sec	660 MiB/sec	= 631 MiB/sec avg
WRITE:	492 MiB/sec	468 MiB/sec	492 MiB/sec	= 484 MiB/sec avg

Now testing RAIDZ+0 configuration with 8 disks: cWmRd@cWmRd@cWmRd@
READ:	507 MiB/sec	448 MiB/sec	418 MiB/sec	= 458 MiB/sec avg
WRITE:	494 MiB/sec	500 MiB/sec	467 MiB/sec	= 487 MiB/sec avg

Now testing RAID0 configuration with 4 disks: cWmRd@cWmRd@cWmRd@
READ:	401 MiB/sec	392 MiB/sec	381 MiB/sec	= 391 MiB/sec avg
WRITE:	413 MiB/sec	415 MiB/sec	416 MiB/sec	= 414 MiB/sec avg

Now testing RAID0 configuration with 5 disks: cWmRd@cWmRd@cWmRd@
READ:	528 MiB/sec	557 MiB/sec	546 MiB/sec	= 543 MiB/sec avg
WRITE:	495 MiB/sec	495 MiB/sec	499 MiB/sec	= 496 MiB/sec avg

Now testing RAID0 configuration with 6 disks: cWmRd@cWmRd@cWmRd@
READ:	636 MiB/sec	636 MiB/sec	641 MiB/sec	= 638 MiB/sec avg
WRITE:	560 MiB/sec	566 MiB/sec	559 MiB/sec	= 561 MiB/sec avg

Now testing RAID0 configuration with 7 disks: cWmRd@cWmRd@cWmRd@
READ:	721 MiB/sec	726 MiB/sec	735 MiB/sec	= 727 MiB/sec avg
WRITE:	615 MiB/sec	611 MiB/sec	622 MiB/sec	= 616 MiB/sec avg

Now testing RAIDZ configuration with 4 disks: cWmRd@cWmRd@cWmRd@
READ:	315 MiB/sec	321 MiB/sec	310 MiB/sec	= 315 MiB/sec avg
WRITE:	276 MiB/sec	283 MiB/sec	278 MiB/sec	= 279 MiB/sec avg

Now testing RAIDZ configuration with 5 disks: cWmRd@cWmRd@cWmRd@
READ:	427 MiB/sec	417 MiB/sec	404 MiB/sec	= 416 MiB/sec avg
WRITE:	376 MiB/sec	364 MiB/sec	368 MiB/sec	= 370 MiB/sec avg

Now testing RAIDZ configuration with 6 disks: cWmRd@cWmRd@cWmRd@
READ:	477 MiB/sec	521 MiB/sec	512 MiB/sec	= 503 MiB/sec avg
WRITE:	397 MiB/sec	414 MiB/sec	397 MiB/sec	= 402 MiB/sec avg

Now testing RAIDZ configuration with 7 disks: cWmRd@cWmRd@cWmRd@
READ:	596 MiB/sec	581 MiB/sec	581 MiB/sec	= 586 MiB/sec avg
WRITE:	199 MiB/sec	203 MiB/sec	202 MiB/sec	= 201 MiB/sec avg

Now testing RAIDZ2 configuration with 4 disks: cWmRd@cWmRd@cWmRd@
READ:	235 MiB/sec	234 MiB/sec	234 MiB/sec	= 234 MiB/sec avg
WRITE:	75 MiB/sec	78 MiB/sec	77 MiB/sec	= 77 MiB/sec avg

Now testing RAIDZ2 configuration with 5 disks: cWmRd@cWmRd@cWmRd@
READ:	342 MiB/sec	341 MiB/sec	337 MiB/sec	= 340 MiB/sec avg
WRITE:	105 MiB/sec	106 MiB/sec	111 MiB/sec	= 108 MiB/sec avg

Now testing RAIDZ2 configuration with 6 disks: cWmRd@cWmRd@cWmRd@
READ:	393 MiB/sec	430 MiB/sec	410 MiB/sec	= 411 MiB/sec avg
WRITE:	314 MiB/sec	330 MiB/sec	324 MiB/sec	= 322 MiB/sec avg

Now testing RAIDZ2 configuration with 7 disks: cWmRd@cWmRd@cWmRd@
READ:	493 MiB/sec	485 MiB/sec	520 MiB/sec	= 499 MiB/sec avg
WRITE:	403 MiB/sec	405 MiB/sec	412 MiB/sec	= 407 MiB/sec avg

Now testing RAID1 configuration with 4 disks: cWmRd@cW

Autotuning enabled with 4k override:
Code:
ZFSGURU-benchmark, version 1
Test size: 32.000 gigabytes (GiB)
Test rounds: 3
Cooldown period: 2 seconds
Sector size override: 4096 bytes
Number of disks: 10 disks
disk 1: label/R5C1.nop
disk 2: label/R5C2.nop
disk 3: label/R5C3.nop
disk 4: label/R5C4.nop
disk 5: label/R4C3.nop
disk 6: label/R4C4.nop
disk 7: label/R2C2.nop
disk 8: label/R1C3.nop
disk 9: label/R4C2.nop
disk 10: label/R4C1.nop


* Test Settings: TS32; SECT4096; 
* Tuning: KMEM=12g; AMIN=4g; AMAX=6g; 
* Stopping background processes: sendmail, moused, syslogd and cron
* Stopping Samba service

Now testing RAID0 configuration with 8 disks: cWmRd@cWmRd@cWmRd@
READ:	598 MiB/sec	629 MiB/sec	613 MiB/sec	= 613 MiB/sec avg
WRITE:	682 MiB/sec	708 MiB/sec	651 MiB/sec	= 680 MiB/sec avg

Now testing RAID0 configuration with 9 disks: cWmRd@cWmRd@cWmRd@
READ:	767 MiB/sec	787 MiB/sec	836 MiB/sec	= 796 MiB/sec avg
WRITE:	731 MiB/sec	751 MiB/sec	756 MiB/sec	= 746 MiB/sec avg

Now testing RAID0 configuration with 10 disks: cWmRd@cWmRd@cWmRd@
READ:	929 MiB/sec	902 MiB/sec	894 MiB/sec	= 908 MiB/sec avg
WRITE:	787 MiB/sec	784 MiB/sec	792 MiB/sec	= 787 MiB/sec avg

Now testing RAIDZ configuration with 8 disks: cWmRd@cWmRd@cWmRd@
READ:	614 MiB/sec	608 MiB/sec	594 MiB/sec	= 606 MiB/sec avg
WRITE:	573 MiB/sec	556 MiB/sec	571 MiB/sec	= 567 MiB/sec avg

Now testing RAIDZ configuration with 9 disks: cWmRd@cWmRd@cWmRd@
READ:	720 MiB/sec	718 MiB/sec	739 MiB/sec	= 725 MiB/sec avg
WRITE:	619 MiB/sec	624 MiB/sec	625 MiB/sec	= 623 MiB/sec avg

Now testing RAIDZ configuration with 10 disks: cWmRd@cWmRd@cWmRd@
READ:	657 MiB/sec	653 MiB/sec	678 MiB/sec	= 663 MiB/sec avg
WRITE:	658 MiB/sec	661 MiB/sec	658 MiB/sec	= 659 MiB/sec avg

Now testing RAIDZ2 configuration with 8 disks: cWmRd@cWmRd@cWmRd@
READ:	480 MiB/sec	479 MiB/sec	468 MiB/sec	= 475 MiB/sec avg
WRITE:	513 MiB/sec	513 MiB/sec	514 MiB/sec	= 514 MiB/sec avg

Now testing RAIDZ2 configuration with 9 disks: cWmRd@cWmRd@cWmRd@
READ:	668 MiB/sec	663 MiB/sec	665 MiB/sec	= 665 MiB/sec avg
WRITE:	563 MiB/sec	547 MiB/sec	559 MiB/sec	= 556 MiB/sec avg

Now testing RAIDZ2 configuration with 10 disks: cWmRd@cWmRd@cWmRd@
READ:	662 MiB/sec	648 MiB/sec	651 MiB/sec	= 654 MiB/sec avg
WRITE:	631 MiB/sec	621 MiB/sec	623 MiB/sec	= 625 MiB/sec avg

Now testing RAID1 configuration with 8 disks: cWmRd@cW

I am quite pleased with the results after the override although I may see if I can tweak it even further.

The network speed results with crystaldiskmark were as follows:
Code:
           Sequential Read :    58.498 MB/s
          Sequential Write :    61.141 MB/s
         Random Read 512KB :    60.422 MB/s
        Random Write 512KB :    61.731 MB/s
    Random Read 4KB (QD=1) :     8.084 MB/s [  1973.7 IOPS]
   Random Write 4KB (QD=1) :     8.158 MB/s [  1991.7 IOPS]
   Random Read 4KB (QD=32) :    89.468 MB/s [ 21842.7 IOPS]
  Random Write 4KB (QD=32) :    59.304 MB/s [ 14478.4 IOPS]

Much faster than my WHS reading and writing over the USB 2.0 connection!

The drives run about 27-29c when doing nothing and 30-32c when doing the benchmarks. This is with the LNA adapters on the fans to reduce RPMs and noise.

I have managed to install SABnzbd and Sick-Beard after much trial and error so I will write up some install guides and share those in a bit. I also plan to get some power readings when I get a chance.
 
10 gigabit =)


[ 2.472176] ixgbe 0000:01:00.0: Intel(R) 10 Gigabit Network Connection
 
I have managed to install SABnzbd and Sick-Beard after much trial and error so I will write up some install guides and share those in a bit. I also plan to get some power readings when I get a chance.

Nice build. I am very interested in your install guides as well. Thanks for sharing the info.
 
As promised, here is part one of my ZFSguru software install guides. I managed to set up SABnzbd, CouchPotato, and Sick Beard and they are all running great. I'm still not sure what I'm doing as far running programs under different user accounts in FreeBSD so please note that everything will be running as root. I know that most people advise against this but outside access is blocked through my router and I have password protected access to SABnzbd, CouchPotato, and SickBeard. With that said it would be great if someone more knowledgeable could figure out a more secure way to do this and re-post the guides.

SABnzbd on ZFSguru (FreeBSD 8.2)


1. Set ssh password under Services ---> OpenSSH in ZFSguru

2. SSH in to your server with username: ssh , password: whatever you just set.

3.At the command prompt type “su” without quotes and hit enter to get root access.

4.Install unzip, a required package which is not installed with the port:
Code:
pkg_add –r “ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-stable/archivers/unzip-6.0.tbz”

5. Install SABnzbd FreeBSD port, which also installs all the rest of the required packages:
Code:
pkg_add –r “ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-stable/news/sabnzbdplus-0.5.6.tbz”

6. Edit rc.conf to enable SABnzbd to start automatically:
Code:
ee /etc/rc.conf
Add these two lines somewhere at the bottom-
#SABnzbd
sabnzbd_enable="YES"

Press esc key----->leave editor----> save to save changes

7. Run SABnzbd for the first time:
Code:
/usr/local/bin/SABnzbd.py

Use a browser to go to http://ip-of-your-ZFSguru-server:8080 and proceed with configuring SABnzbd, after configuring an ini file will be created at /root/.sabnzbd/sabnzbd.ini

8. Edit the SABnzbd rc.d config file
Code:
ee /usr/local/etc/rc.d/sabnzbd

Modify the following lines from this:
: ${sabnzbd_user:="_sabnzbd"}
: ${sabnzbd_group:="_sabnzbd"}
: ${sabnzbd_conf_dir:="/usr/local/sabnzbd"}

to this:
: ${sabnzbd_user:="root"}
: ${sabnzbd_group:="wheel"}
: ${sabnzbd_conf_dir:="/root/.sabnzbd"}

9. Add this line just below those you just modified, they will help SABnzbd find the unzip, unrar, and par2 packages:
PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"

10. Remove the spaces from around the equal sign in this line under the sabnzbd_stop function:
if [ ${host} = "0.0.0.0" ]

Press esc key----->leave editor----> save to save changes

11. Test things out with the following commands for starting and stopping SABnzbd
Code:
/usr/local/etc/rc.d/sabnzbd start
Code:
/usr/local/etc/rc.d/sabnzbd stop

That’s it! Just restart your ZFSguru server and SABnzbd should start automatically and you can access it at http://ip-of-your-ZFSguru-server:8080. Remember to change the “Permissions for completed downloads” setting in SABnzbd to 777 to allow you to access,move, and delete files in your download directories. Up next will be the Sick Beard install guide.
 
Last edited:
Back
Top