0

My personal NAS

I built a personal NAS[1] solution back in November of 2015 and it is a “budget solution” mostly based on hardware I already had lying around here at home.

It consists of the following hardware:

  • CPU: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
  • Motherboard: ASUS P8B75-MLE
  • Memory: 8GB Kingston HyperX
  • Disks: 1 WD Red 2TB for the OS and 4 WD Red 2TB for my pools
  • Cooling: Custom water cooling
  • Case: Corsair C70

k0nsl-nas-motherboard01_k0nsl

That is practically it when it comes to the hardware powering my NAS. The custom water cooling is a overkill as it could have been cooled by a cheap heat sink coupled with a quiet fan…but what fun is that?
I also have one add-in PCIe SATA III controller card as the motherboard itself has very few SATA III ports, some cheap generic brand I bought via Ebay and which was made in China; it cost me $13.00 with shipping included in the price.

rockstor01_k0nsl rockstor02_k0nsl

As for the operating system. I was very unsure what to go with at the time of assembling the system. My friend “M. Wynn” suggested that I should use NAS4Free, as he was satisfied with it himself. However, I wanted to check out something entirely new which wasn’t very widely used.
rockstor03_k0nsl rockstor03_k0nsl
So, what did I pick? Well, it’s called Rockstor[2] and it truly was something brand spanking new at the time. The first ever public release was pushed to GitHub in July 2015, so at the time I installed it one could say it wasn’t a particularly widely used operating system. In fact, I suspect it still isn’t a widely used operating system. However, I could be wrong on that count.
I am running version 3.8-14.22 and I’m pulling new releases from their test channel rather than the stable one. Yes, I like to live on the edge. The test channel, or branch, features new releases every five days (if there is one available). The stable release channel once every month. My system runs on kernel 4.6.
The four Western Digital enterprise hard disk drives which makes up my btrfs-based pool is configured in RAID 10 because that is the best option for me out of the available raid levels; there is RAID 0, RAID 1, RAID 5, RAID 6 and finally the one I’m using — RAID 10. There are five hard disk drives in total but only four are used for my pool; I honestly cannot afford any more at the moment as it’s over $500 already for the current amount of disks. Keep in mind, this is supposed to be a super budget NAS build and nothing spectacular or mind-blowing.

The web interface of Rockstor has a rather pleasant design based on Bootstrap 3 with a wide variety of features. You can for example create customized storage pools and you can enable their so-called “Rock-on”-feature which is just a fancy front-end for Docker; this will allow you to install various applications such as Deluge, EmbyServer, GitLab, OwnCloud, Sickrage and many more.

Thanks to my water cooling solution the NAS itself is running both cool and quiet. The temperature inside of my house is 16 C and as of this moment the NAS is reporting the following readings:

[root@nas01 ~]# uptime && sensors
 23:18:52 up 29 days,  8:04,  3 users,  load average: 0.27, 0.20, 0.16
acpitz-virtual-0
Adapter: Virtual device
temp1:        +27.8°C  (crit = +99.0°C)
temp2:        +29.8°C  (crit = +99.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Physical id 0:  +32.0°C  (high = +80.0°C, crit = +98.0°C)
Core 0:         +32.0°C  (high = +80.0°C, crit = +98.0°C)
Core 1:         +28.0°C  (high = +80.0°C, crit = +98.0°C)
Core 2:         +28.0°C  (high = +80.0°C, crit = +98.0°C)
Core 3:         +22.0°C  (high = +80.0°C, crit = +98.0°C)

That’s with just one fan on the absolute lowest RPM on the dual radiator.

I have to say, despite this being a so-called “curry solution” I’m satisfied with it. I have had zero issues to speak of, none that would warrant mentioning anyway!

References

[1] A Network Attached Storage (NAS) device is a storage device connected to a network that allows storage and retrieval of data from a centralized location for authorized network users and heterogeneous clients. NAS devices are flexible and scale-out, meaning that as you need additional storage, you can add on to what you already have. A NAS is like having a private cloud right in your home. It’s faster, less expensive and provides all the benefits of a public cloud, giving you absolute control.

[2] Rockstor is a Linux/BTRFS based Network Attached Storage (NAS) and private cloud solution. It is distributed as a CentOS flavored Linux operating system with a newer kernel and Rockstor application software bundled together to easily install a system and manage your data. You can find more information about Rockstor, here.

1

My custom Raspberry Pi 3 case

This is my custom Raspberry Pi 3 case — the material is birch wood and might have been sourced at Birkenau (I’m joking). However, it is birch wood, though. The plan is to use this RPi3 as another device for various development tasks.
My RPi 2 Model B is feeling rather sluggish when it comes to compiling projects, etc,. Hence, this upgraded device will certainly help in that respect.

Here are some inexcusably poor photographs. I’m stuck with an awful camera at the moment

0

_h5ai on ‎LiteSpeed Web Server

To get rid of “Javascript disabled error” when running _h5ai on LSWS, you’ve got to edit the following file:

/path_to/public_html/_h5ai/server/php/inc/class-bootstrap.php

Jump to line 72:

h5ai_litespeed01_k0nsl

As you can already tell I’ve commented out the following line:

define("APP_HREF", Util::normalize_path(dirname(dirname(dirname($script_name))), true));

You’ve got to do the same, else it won’t work on LSWS. Alas, replace the above line with the following entry:

define("APP_HREF", "/_h5ai/");

A few example sites of mine running _h5ai:
http://eh.mirror.k0nsl.org/
http://tldotbl.mirror.k0nsl.org/
https://k0nsl.org/bag/

0

Eric Hunt’s Documentaries

Hi friends,

I have mirrored [1] most of Eric Hunt’s documentaries, spread out over several different servers around the world.

You will be geolocated to a location that is closest to where you are, in most cases. This is particularly true for his documentary “The Majdanek Gas Chamber Myth” which is spread across six different locations so far.

These are the current mirrors and in no particular order:

Apart from my own mirrors you can find his work at Holocaust Handbooks, as well. Have I missed anything, or do you want me to mirror other important work? Give me suggestions. You can reach me via the following chat. Any suggestions are welcome if you think it would be worth having the material archived. I’ve got the resources to do it.

Enjoy! 

Refs.

  1. mirror-def01_k0nsl
0

An update on the ‘subrosa situation’

Hi friends,

As most of you know by now the entire network hosted by subrosa is dead due to the following reason:
the-reason-why-subrosa-is-down01_k0nsl

Now you know why you cannot reach it. At any rate: some of the people in our group say they had trouble getting on the self-hosted version that is maintained by myself, so I made a few changes to make the whole process simpler.

I explain it all in the below video. If you look in the description you will find the relevant information. However, one needn’t change anything. The old URL is still the same. All that you must do is create a new account as my server has no affiliation with the one/s run by the subrosa developers.

If you have any have issues, let me know and I’ll help you out as best I can.

Update: 27 April 2015

The subrosa.io network is apparently online again. I logged in to their network and it’s all normal, so it appears as if they “only” forgot to renew their domain. Whatever. We will be using my network from this point on anyway

Update: 1 May 2016

I am not using subrosa anymore. The project died. I have deployed an entirely new platform which is available only by invitation.
If you would like an invite, send an e-mail to this address: invite@60ych.net.

0

Benchmark of my E8400

A benchmark of my overclocked E8400. You can read about the details of this system in this post.

System Specs
RAM 8 GB
HDD 1827 GB
CPU Model Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
CPU Cores 2
CPU Speed 4095 MHz
CPU Cache 6144 KB
UnixBench
UnixBench (w/ all processors) 3102.4
UnixBench (w/ one processor) 1810.6

Raw UnixBench Output:


   #    #  #    #  #  #    #          #####   ######  #    #   ####   #    #
   #    #  ##   #  #   #  #           #    #  #       ##   #  #    #  #    #
   #    #  # #  #  #    ##            #####   #####   # #  #  #       ######
   #    #  #  # #  #    ##            #    #  #       #  # #  #       #    #
   #    #  #   ##  #   #  #           #    #  #       #   ##  #    #  #    #
    ####   #    #  #  #    #          #####   ######  #    #   ####   #    #

   Version 5.1.3                      Based on the Byte Magazine Unix Benchmark

   Multi-CPU version                  Version 5 revisions by Ian Smith,
                                      Sunnyvale, CA, USA
   January 13, 2011                   johantheghost at yahoo period com


1 x Dhrystone 2 using register variables  1 2 3 4 5 6 7 8 9 10

1 x Double-Precision Whetstone  1 2 3 4 5 6 7 8 9 10

1 x Execl Throughput  1 2 3

1 x File Copy 1024 bufsize 2000 maxblocks  1 2 3

1 x File Copy 256 bufsize 500 maxblocks  1 2 3

1 x File Copy 4096 bufsize 8000 maxblocks  1 2 3

1 x Pipe Throughput  1 2 3 4 5 6 7 8 9 10

1 x Pipe-based Context Switching  1 2 3 4 5 6 7 8 9 10

1 x Process Creation  1 2 3

1 x System Call Overhead  1 2 3 4 5 6 7 8 9 10

1 x Shell Scripts (1 concurrent)  1 2 3

1 x Shell Scripts (8 concurrent)  1 2 3

2 x Dhrystone 2 using register variables  1 2 3 4 5 6 7 8 9 10

2 x Double-Precision Whetstone  1 2 3 4 5 6 7 8 9 10

2 x Execl Throughput  1 2 3

2 x File Copy 1024 bufsize 2000 maxblocks  1 2 3

2 x File Copy 256 bufsize 500 maxblocks  1 2 3

2 x File Copy 4096 bufsize 8000 maxblocks  1 2 3

2 x Pipe Throughput  1 2 3 4 5 6 7 8 9 10

2 x Pipe-based Context Switching  1 2 3 4 5 6 7 8 9 10

2 x Process Creation  1 2 3

2 x System Call Overhead  1 2 3 4 5 6 7 8 9 10

2 x Shell Scripts (1 concurrent)  1 2 3

2 x Shell Scripts (8 concurrent)  1 2 3

========================================================================
   BYTE UNIX Benchmarks (Version 5.1.3)

   System: ******************
   OS: GNU/Linux -- 3.16.0-23-generic -- #31-Ubuntu SMP Tue Oct 21 17:56:17 UTC 2014
   Machine: x86_64 (x86_64)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz (8190.4 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 1: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz (8190.4 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   05:03:04 up 16:24,  2 users,  load average: 0,08, 0,03, 0,07; runlevel 2

------------------------------------------------------------------------
Benchmark Run: lör mar 28 2015 05:03:04 - 05:31:19
2 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       35599357.4 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     4396.8 MWIPS (9.9 s, 7 samples)
Execl Throughput                               5815.1 lps   (29.7 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks       1084149.3 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          325084.0 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       1569251.8 KBps  (30.0 s, 2 samples)
Pipe Throughput                             2201018.0 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 216706.5 lps   (10.0 s, 7 samples)
Process Creation                              15048.2 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                  12466.3 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   2093.7 lpm   (60.0 s, 2 samples)
System Call Overhead                        3302619.6 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   35599357.4   3050.5
Double-Precision Whetstone                       55.0       4396.8    799.4
Execl Throughput                                 43.0       5815.1   1352.4
File Copy 1024 bufsize 2000 maxblocks          3960.0    1084149.3   2737.8
File Copy 256 bufsize 500 maxblocks            1655.0     325084.0   1964.3
File Copy 4096 bufsize 8000 maxblocks          5800.0    1569251.8   2705.6
Pipe Throughput                               12440.0    2201018.0   1769.3
Pipe-based Context Switching                   4000.0     216706.5    541.8
Process Creation                                126.0      15048.2   1194.3
Shell Scripts (1 concurrent)                     42.4      12466.3   2940.2
Shell Scripts (8 concurrent)                      6.0       2093.7   3489.5
System Call Overhead                          15000.0    3302619.6   2201.7
                                                                   ========
System Benchmarks Index Score                                        1810.6

------------------------------------------------------------------------
Benchmark Run: lör mar 28 2015 05:31:19 - 05:59:35
2 CPUs in system; running 2 parallel copies of tests

Dhrystone 2 using register variables       71769344.1 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     8787.1 MWIPS (9.9 s, 7 samples)
Execl Throughput                              11915.9 lps   (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks       1661969.2 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          461886.4 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       2396072.3 KBps  (30.0 s, 2 samples)
Pipe Throughput                             4378722.8 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 661012.5 lps   (10.0 s, 7 samples)
Process Creation                              21568.2 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                  15310.0 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   2473.5 lpm   (60.0 s, 2 samples)
System Call Overhead                        6106059.3 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   71769344.1   6149.9
Double-Precision Whetstone                       55.0       8787.1   1597.7
Execl Throughput                                 43.0      11915.9   2771.1
File Copy 1024 bufsize 2000 maxblocks          3960.0    1661969.2   4196.9
File Copy 256 bufsize 500 maxblocks            1655.0     461886.4   2790.9
File Copy 4096 bufsize 8000 maxblocks          5800.0    2396072.3   4131.2
Pipe Throughput                               12440.0    4378722.8   3519.9
Pipe-based Context Switching                   4000.0     661012.5   1652.5
Process Creation                                126.0      21568.2   1711.8
Shell Scripts (1 concurrent)                     42.4      15310.0   3610.9
Shell Scripts (8 concurrent)                      6.0       2473.5   4122.6
System Call Overhead                          15000.0    6106059.3   4070.7
                                                                   ========
System Benchmarks Index Score                                        3102.4

IOPS

I/O Pings

ioping -c 10
request=1 time=0.5 ms
request=2 time=0.3 ms
request=3 time=0.3 ms
request=4 time=0.3 ms
request=5 time=0.3 ms
request=6 time=0.4 ms
request=7 time=0.5 ms
request=8 time=0.4 ms
request=9 time=0.2 ms
request=10 time=0.2 ms

10 requests completed in 9004.0 ms, 2944 iops, 11.5 mb/s

I/O Seek Test (No Cache)

ioping -RD
301 iops, 1.2 mb/s
min/avg/max/mdev = 0.2/3.3/24.3/3.4 ms

I/O Reads – Sequential

ioping -RL
389 iops, 97.2 mb/s
min/avg/max/mdev = 2.4/2.6/20.1/0.7 ms

I/O Reads – Cached

ioping -RC
825704 iops, 3225.4 mb/s
min/avg/max/mdev = 0.0/0.0/0.0/0.0 ms

DD

dd if=/dev/zero of=sb-io-test bs=1M count=1k conv=fdatasync
8.12977 s, 132 MB/s
dd if=/dev/zero of=sb-io-test bs=64k count=16k conv=fdatasync
6.7385 s, 159 MB/s
dd if=/dev/zero of=sb-io-test bs=1M count=1k oflag=dsync
62.4599 s, 17.2 MB/s
dd if=/dev/zero of=sb-io-test bs=64k count=16k oflag=dsync
812.793 s, 1.3 MB/s

FIO

Read IOPS 189.0
Read Bandwidth 775 KB/second
Write IOPS 312.0
Write Bandwidth 1.2 MB/second
Raw FIO Output
FIO random reads:
randomreads: (g=0): rw=randread, bs=4K-4K/4K-4K, ioengine=libaio, iodepth=64
fio-2.0.9
Starting 1 process
randomreads: Laying out IO file(s) (1 file(s) / 1024MB)

randomreads: (groupid=0, jobs=1): err= 0: pid=23389: Sat Mar 28 04:12:39 2015
  read : io=1024.3MB, bw=775611 B/s, iops=189 , runt=1384713msec
  cpu          : usr=0.05%, sys=0.10%, ctx=262215, majf=0, minf=69
  IO depths    : 1=0.1%, 2=0.1%, 4=0.1%, 8=0.1%, 16=0.1%, 32=0.1%, >=64=100.0%
     submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
     complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.1%, >=64=0.0%
     issued    : total=r=262207/w=0/d=0, short=r=0/w=0/d=0

Run status group 0 (all jobs):
   READ: io=1024.3MB, aggrb=757KB/s, minb=757KB/s, maxb=757KB/s, mint=1384713msec, maxt=1384713msec

Disk stats (read/write):
    dm-1: ios=262207/969, merge=0/0, ticks=88589400/180240, in_queue=88784936, util=100.00%, aggrios=262207/1156, aggrmerge=0/0, aggrticks=88610716/180240, aggrin_queue=88790964, aggrutil=100.00%
    dm-0: ios=262207/1156, merge=0/0, ticks=88610716/180240, in_queue=88790964, util=100.00%, aggrios=262072/858, aggrmerge=135/298, aggrticks=88549156/120284, aggrin_queue=88669352, aggrutil=100.00%
  sda: ios=262072/858, merge=135/298, ticks=88549156/120284, in_queue=88669352, util=100.00%
Done

FIO random writes:
randomwrites: (g=0): rw=randwrite, bs=4K-4K/4K-4K, ioengine=libaio, iodepth=64
fio-2.0.9
Starting 1 process

randomwrites: (groupid=0, jobs=1): err= 0: pid=23416: Sat Mar 28 04:26:39 2015
  write: io=1024.3MB, bw=1249.8KB/s, iops=312 , runt=839687msec
  cpu          : usr=0.27%, sys=0.65%, ctx=513457, majf=0, minf=5
  IO depths    : 1=0.1%, 2=0.1%, 4=0.1%, 8=0.1%, 16=0.1%, 32=0.1%, >=64=100.0%
     submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
     complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.1%, >=64=0.0%
     issued    : total=r=0/w=262207/d=0, short=r=0/w=0/d=0

Run status group 0 (all jobs):
  WRITE: io=1024.3MB, aggrb=1249KB/s, minb=1249KB/s, maxb=1249KB/s, mint=839687msec, maxt=839687msec

Disk stats (read/write):
    dm-1: ios=0/263131, merge=0/0, ticks=0/53462156, in_queue=53468084, util=100.00%, aggrios=0/263298, aggrmerge=0/0, aggrticks=0/53469572, aggrin_queue=53469572, aggrutil=100.00%
    dm-0: ios=0/263298, merge=0/0, ticks=0/53469572, in_queue=53469572, util=100.00%, aggrios=0/262759, aggrmerge=0/539, aggrticks=0/53383720, aggrin_queue=53383696, aggrutil=100.00%
  sda: ios=0/262759, merge=0/539, ticks=0/53383720, in_queue=53383696, util=100.00%
Done
End

As for what to do with the system…I’m still undecided. Another thing: I should have put this benchmark on benchmarks.k0nsl.org as that is where it belongs, but seeing as I did all the other posts about the E8400 on this blog, I decided to put the benchmark here as well.
It’s not the end of the world

2

New system up & running!

Video Description

Combobulated is the keyword (is that even a word?)

At any rate, this is a system I pulled together from bits and pieces and a CPU which was sent to me from Hong Kong. The CPU is a E8400, socket 775.

Motherboard? Asus Maximus Extreme, see: http://k0nsl.org/bag/hardware/Asus_Maximus_Extreme/

Cooling? It’s passively cooled by a Thermochill PA120.3.

Temperatures? It idles at about 45 °C so heat is not much of an issue. If it becomes one I’ll just slap on a fan or three ;-)

OS? Jewbuntu ;-/

I’m still not entirely sure what purpose the system will serve nor am I fully decided on what type of OS to run. Only time will tell.

Overclocking? At the moment it’s running at 4960MhZ (9 ratio @ 440 FSB): so out of the box I’ve gained almost two gigahertz from it. It’s currently undergoing stress testing at this speed. The only worries I have is with the northbridge heat. It’s a bit toasty

Sorry about the crappy video: I’m not very good at filming, or even putting together a clip. I rush it and it comes out as a confabulated mess. Plus, Sony is not really helping out much in lieu of the horrendous focus-problem they have with their cameras. Blergh.

Specs

CPU: Intel E8400
Motherboard: Asus Maximus Extreme (X38), never used.
Memory: Kingston Hyperx 16 GiB
PSU: OCZ 600W
GPU: AMD 280X
HDD: Seagate 1TB (only one for now)
Pump: Laing DDCv1
Waterblock: Swiftech Storm
Radiator: Thermochill PA120.3
Reservoir: EK Dual Bay

…alas, a whole system which only cost me about $18 bucks, excluding the costs for the already available hardware. Oh, and don’t fret: Ah’ll put the stuff in a case, very soon. This is only for testing purposes

Pictures