Tag Archive: ZFS


A few small updates

A few small updates as I have a ton of projects on the go at the moment.

FreeNas 8

After a friend visited earlier in the week I decided to give FreeNas / ZFS another shot- so I’ve installed the latest v8 on a spare HP Microserver N36L. The little cube has 4x 1.5TB Samsung disks in RAID-Z with a single 4GB stick of RAM. I have ordered another stick of RAM and a low profile, dual-port, gigabit pci-e network interface card (nic)- the HP NC360T (intel chipset) so I can setup load-balancing/link aggregation/LACP. I starting copying some data off of the current production Microserver (WHS2011):

Performance seems average. I’d expect to see a bit of an improvement when the gigabit HP / Intel nics arrive.

New Orders :)

I have put my Cisco SGE2000P 24-Port Gigabit managed PoE switch up on eBay as it’s a bit too big and loud for the small data/comms cabinet I bought recently. As a replacement I have ordered the D-Link DGS-1224TP which appears to offer the same feature set at half the size and half the weight (I think it may also be passively cooled and is touted as being "green" so hopefully help with the leccy bill :)

I also have a few Sonos S5 network wireless hifis on order (they were on special offer and I’ve been looking at whole house / multi-room audio distribution solutions for a while). I have a slight concern I may need to buy some Apple AirPort Express access points to enable AirPlay on them but I’ll cross that bridge as/when…

Apple Programming

I’m learning xcode / cocoa / objective-c / osx / iOS whatever they call it as I want to write a little app to control my 4×4 HDMI matrix. The device is on the network and supports simple commands using a telnet style socket connection, so I’m hoping it won’t be too tricky! Unfortunately I couldn’t find the old control software I had or documentation but eventually stumbled upon the pdf with a few pointers. So the reading begins… http://developer.apple.com/library/mac/#referencelibrary/GettingStarted/Learning_Objective-C_A_Primer/_index.html#//apple_ref/doc/uid/TP40007594

L

Advertisements

FreeNAS / ZFS “Up & Running”

My “new fileserver” project had been on hold for a bit what with moving house etc but now i’m moved i thought i’d give it another go!

The “brick wall” i’d previously hit was my supermicro sata expansion cards (AOC-SAT2-MV8) were being picked up by the highpoint rocket raid driver (hptrr) when in fact they should be handled by a different driver. After some searching i found information suggesting a full FreeNAS install would allow me to tweak the /boot/defaults/loader.conf (adding hptrr_load=”NO”) to get around this problem.

Unfortunately- that didn’t work! Some more research suggested i needed to recompile the FreeNAS kernel without the hptrr driver, but this is really a bit beyond my expertise! So i kept searching!

Finally, i found another /boot/defaults/loader.conf suggestion (adding hw.hptrr.attach_generic=0) and voila- i was up and running!

So i added my disks (Disks|Management) and created my virtual device (Disks|ZFS|Pools|Virtual device), but when i add a pool and click apply i get an error: The changes could not be applied (error code 1). And in the log: cannot create zpool permission denied.

A final bit of googling reveals a command: sysctl -w kern.geom.debugflags=17 – finally i’m able to create my zpool :)

That’s all for now- i need to migrate some more of my network equipment before i can begin benchmarking etc.

L

Lazyness!

Damn- i’ve already got lazy and not been updating regularly as i told myself i would. A few bits i remember since last time…

-New fileserver arrived and i have now realised the 2 raid cards i have are useless (i need SATA non-raid cards) for ZFS with FreeNAS. Currently hunting on eBay for something else!
-My rack tft/lcd keyboard/mouse thing packed up- so i need to look for a new one of those too!
-LINQ to SQL: I got hooked a while back but didn’t like the way it interprets some manipulation and couldn’t cope with bulk updates. But now i figured i can simply do db.executecommand() i’m happy!
-I got trixbox working nicely with the Cisco Wireless 7920 IP Phone i bagged cheap off eBay (using SCCP):
install
setup static ip/dns (system-config-network)
create some extensions?
yum install asterisk16-devel gcc
yum update
wget Chan_SCCP V3.tar.gz
tar -zxvf Chan_SCCP…
cd...
./configure
make
make install
copy sccp.conf (from /root/Chan… to /etc/asterisk) + edit
edit /etc/asterisk/modules.conf (add:
noload => skinny_sccp.so
load => chan_sccp.so

-Communicating between multiple forms in vb.NET: I was struggling to figure how to pass information to another form without storing it in a control. I ended up doing something like:
Public Class Form2
Dim edit_acct_row as Int32
Public Sub New(ByVal row_index As Int32)
InitializeComponent()
edit_acct_row = row_index
End Sub

then calling the form like:
Dim f_pick_acct = New Form2(edit_acct_row)
f_pick_acct.Show()

-Checking/Ticking a checkbox in a DataGridView with vb.NET: When simply manipulating the dgv.rows(r).cells(c).value the state of the checkbox was not updating! I ended up having to:
Form1.dgv_preview.BeginEdit(False)
Form1.dgv_preview.Rows(r).Cells(c).Value = True
Form1.dgv_preview.EndEdit()

-My Simpsons Kesha (Ke$ha) Tick Tock Intro Video on youtube has had over 10,000 hits! I’m not working on another video which will take quite some time but i hope will attract quite a lot of attention once complete :)

Wow- a lot squeezed into a small space + tons i’m sure i’ve learnt and forgotten!

L

Fiber Gear

Some of the fiber gear has arrived: (cables and, what i thought were NICs but are in fact HBAs- all part of the learning process!)

Not really much use till i get the fiber switch and new fileserver (i think i’ve picked the hardware which i’m going to get shipped from the US- still a lot cheaper than sourcing here in the UK). No idea for the operating system- whether to go with Windows Home Server, Freenas, Openfiler or something else? ZFS or hardware raid?

I’m also in the process of moving house, so all my gear will get re-racked then i can hopefully post some shots up!

P.S. Is it fiber or fibre?

P.P.S. I possibly saw the best Simpsons intro ever this afternoon so i’m going to try and cap it and post it up (there’s a few back-to-front poor quality versions on youtube…)

L

%d bloggers like this: