Archive for the ‘Storage Technologies’ Category

Homebuilt Network Access Storage (NAS) for $900

2012/05/14 Leave a comment

The Setup

I decided to put all my files on an external NAS. As I am using gigabit ethernet, this should be a great option to move away from direct attached storages (e.g. eSATA).

First i needed a itx case with lots of space for harddisks. I have choosen the Lian Li PC-Q25B as it has space for up to 7 3,5” harddrives or 5 3,5” harddisks (HOTPLUG) and 2 x 2,5”  mounted on the bottom of the case. It even has a backplane which connects to your power- and sata cables. With the included rubber suspensions the harddrives lie perfectly save in the cage. The quality of the case is outstanding, all accessories, fans & screws are included. The price is around 140$ or EUR111.

As board i use a Gigabyte GA-E350N-USB3 (~130$ / EUR 100) with one PCI-Express slot for the raid controller, 2 memory slots, gigabit ethernet and a AMD E350 CPU onboard. The board is also good quality and comes with the IO shield.

The memory i choosen is 4GB of Corsair PC1333 in 2 x 2GB bars (30$ / EUR24). I later recognized the board doesnt support dualchannel as long as you use the onboard video chip so it doesn’t matter if you use only one bar. On thing to note is that the board uses at least 256MB video ram, so dont size your memory to small.

For the powersupply i have choosen a 350 Watt powersupply to have enough energy for the board and the harddisks. I bought a Xilence XP350 (~39$ / EUR30)

As harddisk for the operating system (CentOS) i selected a  OCZ Onyx OCZSSD2-1ONX32G 32GB solid state drive (72$ / EUR 56). This is good for fast OS operations (bootup) and is quite alot space for the OS.

The storage harddisk for my raid 5 setup are 4 x Western Digital WD20EARX 2TB for 137$ / EUR 107 each.

Dont use/buy a Silicon Image Raid

The Gigabyte motherboard and all other onboard-cpu-ITX boards dont come with a raid controller onboard. An other option would be a board with a core2duo socket and the intel ICH raid controller onboard. I didn’t want to buy an extra CPUs and Fans and that stuff so i have choosen to use a pci express raidcontroller.

Dont buy any of the SIL based raid controllers. They are fakes and not real raid controllers. They only support windows (or real old linux) and the raid is done by the CPU!!

Here comes the trick: Buy a Dell PERC 5/i raid controller card. This card is just missing the io shield as it normaly sits inside the server next to the harddisks. The port is a PCIe port. You can then remove the card holder, and put a default io shield on it (screw it, glue it,..). This card is available with 256MB cache and starts at 40$ /EUR 32). This card is a REAL Raid controller and is designated for SAS drives, which need a lot more io than a SATA disk. Anyhow, don’t buy any SIL based card! I tested 2 cards with the SIL3124 chips. On Linux you will see the harddisk one-by-one, on windows you will see…nothing.. wait… i setup a Raid 5 in the bios, booted windows and no new harddrive? the solution was simple. The “Raid” controller was so slow that it needed 90hours to initalize the raid! Wow, and the write performance is REALLY bad, ~15MBs. So forget any SIL adapter, buy a used DELL card instead. One thing: Dont buy a card with external SAS ports, it wont have any internal ports. You need a internal multilane port (This looks like a very wide sata port).

To get the ports from the SAS multilane to normal SATA connectors you will need a Multi Lane 4i,1x SAS 32p cable ($14/EUR 9).

I installed CentOS with an USB stick with the netboot image and installed the OS over the network. This was just straight forward.

With the RAID5 i now got a 6TB volume wich i formated with XFS to gain 400GB (you will loose them with EXT4)

You have to create the partition with parted as fdisk doesnt support GPT partitions (bigger than 2TB).

Samba tuning

The samba i tuned as follow:

        socket options=TCP_NODELAY IPTOS_LOWDELAY
min receivefile size=16384
use sendfile=true
aio read size = 16384
aio write size = 16384
aio write behind = true
dns proxy = no

Don’t use the RCVBUF or SNDBUF variables. They are just hell to find out and will mostly lower your throughput.

The test

The throughput is straight on (80MB/s) and the CPU load on the E350 is.. 100%

So, this is another feature of onboard modules. the overhead has to be handled by the kernel.

The temperature is stable at 65° celcius / 149°F

The price

But i can live with that. I paid around $900 / EUR 700 for a complete NAS with very good throughput. Some qnap storages just start with that prices without the harddisks.

Categories: Storage Technologies

The raise and a fall of eSATA Plug and Play or Fantec MR-35DUS2 and Windows 7 on ICH10R

2011/02/22 Leave a comment

I ran out of storage so i bought this nifty storage box called Fantec MR-35DUS2. Its a two drive enclosure with support up to 6TB (3TB per disk). I also bought two WD 20EARS 2TB harddrives, which speed is ok for using as a storage (5400RPM).

The configuration is quite easy, no need for hdd carriers, just put the HDDs in the enclosure and close the doors. Then you define what mode you want to use with a slider, Raid-0, Raid1, Big and JBOD (For the later you need a chipset which has a port multiplier, otherwise only one disk is detected. Then you have to press the reset button on the device to initalize the selected mode (I put mine on raid-0 for 4TB and fast performance). After a short flashing of the LEDs the device is ready to connect.

Good thing it even comes with a slot bracket leading an internal SATA to an external eSATA port. That’s great as mostly there is only one eSATA connector, and it might be used already. So i installed the bracket into my computer and started Windows 7.

MR-35DUS2 on my Lacie 2Big Quadra


I was scared at the Raid controller bootup of my ICH10R as it showed only 1678,03 GB of the whole disk. What kind of size is that? A 2 TB disk is at least detected as a >1800GB disk. So something is wrong here. First, i checked the SIS Management Software (The Raidcontroller in the Fantec is based on a Silicon Image 5744 Controller) it said correctly 3,8TB. Hmm so the Controller shows the correct size. Maybe the Intel Matrix Software shows something different. Nope, same 3.8TB here…

Then i checked the Intel drivers. Intel Matrix 8. On the Intel Webpage they promote the Intel Rapid Storage Software so i thought i try the newest version as the Intel has to “communicate” with the SIS controller (Honestly the ICH sees only a virtual Harddrive provided by the SiS) . The installation went smooth and it removed the old Matrix drivers. I rebooted again.

After Windows came up (it showed the same strange size in the bios)  Windows didn’t see anything. Both Management Software did not see any disk either. Port 3 not connected.

Something is really wrong here. No disk at all, not in the device manager, NOWHERE…

OK, step back, reinstall the Matrix Drivers 8.​9.​0.​1023. Reboot. Same strange numbers in the BIOS. Puh Windows sees the harddisk again in the wrong size.

Then i was not amused…

I disconnected the device from eSATA and used the USB cable… New Storage Device… BAM!.. 3.8TB Unitialized in the Windows Storage Manager. So what, i created a GPT partition table and created a biiiiig Volume. Then i was curious. 🙂

So i safely removed the USB and connected the eSATA again. BAM! Now it works!! What the heck, what is the problem with plug and play.

Intel Matrix Storage Console view


SiS Management Utility SteelVine


Rule No. 1 : Don’t use Rapid Storage Driver with a external SIS Storage Device
Rule No. 2: Connect per USB FIRST and initalize the Disk properly BEFORE connecting to SATA
Rule No. 3: Believe in arcane magic and rocket science