Tags: ZFS

Self made home NAS power measurements

by SUNWfrk Published on: March 27, 2011
Comments: No Comments
Tags: , , ,
Categories:General IT stuff

I promised to publish some power measurements of my self made home NAS, so… here they are!

The CPU cores only seems to support the C1 state (loved to use C3 or C6..) for the rest I’m using powerd to throttle the frequency and ‘atacontrol spindown’ for the disks.

When the system is idle and the data disk are spun down:

Nas IdleWhen all 4 threads (it’s a dual core ATOM with HT) on the system are in use:

NAS CPU loadWhen all 4 threads are in use and a benchmarks is running on the data disks:

NAS CPU and DISKS

If you are wondering which components I used then take a look at my first NAS post

Disk performance benchmarks can be found here

Self made home NAS I/O benchmarks

by SUNWfrk Published on: February 28, 2011
Comments: 3 Comments
Tags: , , ,
Categories:General IT stuff

As requested by some, these are some graphs of the benchmarks I’ve run on my home NAS. Bear in mind that I didn’t made this NAS for screaming performance. It just had to stream movies, pictures but also keep them save and this with ‘green’ in the back of my mind.

for the setup of the machine, check my previous blog post.

 

Bonnie benchmark on a ZFS mirror with compression disabled

 

Bonnie benchmark on a ZFS mirror with compression enabled (LZJB)

 

Conclusion: I think this is a fair performance for home use, even if you think that the drives I use are optimized for reduced power (‘green’) usage and are running at 5200rpm. Also compression seems to improve disk I/O as it needs less data to be send/read to the disks but will use more CPU and thus.. also more power..

Next UP: power measurements.

Self made home NAS with ZFS

by SUNWfrk Published on: February 22, 2011
Comments: No Comments
Tags: , , , , , , ,
Categories:General IT stuff

Yes, this is yet another self-made NAS post.. But when I was searching for information I had the feeling it was either with OpenSolaris/Solaris Express and ZFS or with Linux and some LVM. Some even dare to use btrfs which in my opinion is still in heavy development and not near stable. I’m not such a big fan of Solaris Express or btrfs for home use. I do like Linux or FreeBSD and ZFS. So it was clear for me, it would be FreeBSD with ZFS because of the native support for this FS.

Before I had this NAS I had 2 USB disk with ZFS in mirror attached to an OpenSolaris laptop but believe me, this is not an ideal setup, it worked but after one year of non stop operation scrubs constantly found data inconsistencies. Even after opening the USB cases and attaching the drives directly with a SATA cable ZFS was reporting errors. So, buy some new drives! (they’re really not so expensive)

So I ordered the following things.

1x SuperMicro X7SPA-H Atom D510 Mainboard, Retail
1x Lian Li PC-Q08 Black, No power supply
2x Kingston KTH-ZD8000B/2G 2 GB, PC5300, 667 MHz
1x Seasonic M12II-520 Modular, Bronze 520 Watt, 20+24 Pins
1x Lite-On LiteOn IHAS324 Serial ATA, Retail, Black
2x Western Digital Caviar 1,5TB WD15EARS-22Z5B1

Home NAS

Since it’s a home NAS I didn’t needed Enterprise grade performance but a low powered multifunctional device where I had the freedom to install what I want on it (that rules out Qnap, Synology..)

Some downsides of my configuration:

no graphic support in FreeBSD because of lacking GEM support (seems they’re working on it.)
no ECC memory, ECC memory is not supported on current ATOM boards. (this is also not offered by qnap or other home NAS builders)

1Tb Maxtor basic drives & ZFS

by SUNWfrk Published on: June 28, 2009
Comments: No Comments
Tags: , , ,
Categories:Apple, Sun

I have two 1TB Maxtor basic drives connected to my opensolaris box. On there I run a ZFS mirror. All working well, maybe not on mega speeds but fairly enough for home use (it does stream movies to my AppleTV with XBMC over smb) The downside I discovered later, is that they auto sleep after 15minutes of being idle and I will tell you this, ZFS doesn’t like this feature… I fixed this with a crontab writing a tmp file in a directory on the disk but that gave me some unwanted problems in some cases. This morning I was fed up with it and I wanted a good solution and it seems, there is one… but the application doesn’t have a lot of functions when you use it on MacOSX it appeared… so you really need to do this on a windows computer (scary huh) so here is the application. Have fun!

OpenSolaris 2008.11 ZFS with ‘on access’ virus scan

by SUNWfrk Published on: April 19, 2009
Comments: No Comments
Tags: ,
Categories:Sun

Although at home I only work with Macintosh and OpenSolaris computers and the risk for virusses and malware are rather slim, my files could be infected with pc virusses and I could send pc virusses to friends without me knowing. It is also very stupid to think that Macintosh computer are just safe and don’t need a virus scanner. So this is where this article came from, I installed ClamXav on my MacBooks and then started to look at my NAS. It’s running OpenSolaris so.. there must be a great way to secure that! (and there is!!)

We need a few ingredients to get this running, here are my steps:

  • First of al the SUNW packages for vscan (you should be able to install them if you haven’t got them)

# pkginfo |grep -i vscan
system      SUNWvscankr                     Virus Scan Service Kernel (Root)
system      SUNWvscanr                      Virus Scan Service (Root)
system      SUNWvscanu                      Virus Scan Service (Usr)

  • We need to download c-icap from sourceforge and extract it and then compile it

# export LDFLAGS=”-L/opt/csw/lib -R/opt/csw/lib -lclamav”
# export CC=gcc
# export CXX=g++

# ./configure –prefix=/opt/icap –with-clamav=/opt/csw –with-perl=/bin/perl –with-zlib=/usr/lib –enable-large-files

# make
# make install

Solaris ZFS – SSD & ZFS – Hybrid Storage Technology

by SUNWfrk Published on: March 20, 2009
Comments: No Comments
Tags:
Categories:Sun

Solaris ZFS and SSD

Shouting at disk arrays is not supported by Sun

by SUNWfrk Published on: January 2, 2009
Comments: No Comments
Tags: , ,
Categories:Funny, Sun

Offcourse it comes down to two big innovations brought to you by Sun:

ZFS & Dtrace

The Fishworks team made a very nice gui wich combine the two and it is available in the newest Sun 7000 Unified Storage Systems.

page 1 of 2»
Disclaimer
The opinions expressed on this site are my own personal opinions and do not represent my employer's view in anyway.
SUNWfrk

Welcome , today is Thursday, February 23, 2012