Category: Coding


No Gravatar

As mentioned in my previous post I built myself a 2TB storage array.
Grabbed my old AMD 6000+ pc that was lying around, with 2GB of pretty sweet high speed RAM, threw in the spare 8600GT that was in the cupboard. For the drives I took 3 of the 750GB drives out of my desktop and bought two more.

So the box has 5 x 750gb drives in it configured in RAID 5. It gives me about 1.9TB after formating it to EXT3.
I had originally wanted to setup it up with XFS, but the original Fedora installation I tried failed miserably. Both Fedora 9 and 10 didn’t work all that well. Even tried Centos at one point, but got stuck with some hardware problems. Basically CentOS 5 doesn’t detect the Jmicron based SATA controller I put in it. Eventually went with Ubuntu 8.10. Decided to use ext3 as Ubuntu doesn’t seem to have great support for XFS. My main for trying the  XFS route, is it’s very easy to expand an XFS filesystem, if you make use of LVM. Far easier than EXT3. In the future i may want to increase the size of the array. EXT3 can be a pain in that regard, having had to expand a EXT3 2TB partition to 3TB before. I’ve also connected the VGA port to my HDTV, which I use as the screen. This lets me play movies off it, which is great.

So it doubles up as a very simple media pc and my storage system. It’s also shared via NFS and samba, so my windows and linux pc’s can access.

My reasoning behind it was, I was forever plagued with issues accessing my files. When I was in Ubuntu, if was a pain to access files under Windows and vice versa. But storing everything in one place and sharing it via Samba and NFS helps.
It also lets my brother dump any movies, series or games he has on there, so we keep what we have in sync.
Finally it makes a great backup. If I loose my drives, my brother has pretty much got everything I have and if his drives fail, he’s got it copied on my raid array. I’ve also found taking the extra drives out my desktop PC has helped reduce the heat and noise it was producing, which is great.

The only issue I’ve found with the storage array  is cooling. 5 drives tend to heat it up a bit. I’ve put a couple extra fans in to help. I’ve also enabled the CPU throttling on the box, so when it’s not busy it only runs at 1ghz. Saves electricity and pumps out less heat.
I think I need to get hold of a better case, as the one it is in at the moment is a bit small.

Thought it was a good project to post about though :)

Very nice :)

No Gravatar

I’ve discovered a nice tool from Borland, or more correctly codegear.com called Turbo Delphi Explorer.
Looking at it, I believe it’s going to solve all my iconnect problems. It’s free and can be used for commercial purposes.
I’m going to have to modify the original code a bit, but everything should work.

The main difference in Turbo Delphi Explorer is you cannot install custom components. So the Tray Icon unit I use will have to be binned. However Turbo Delphi has it’s own inbuilt component for tray icons, so that problem should be solved. There will most likely be other things that require changing, but it should work out ok.

:)

Powered by ScribeFire.

Got a bit of an upgrade

No Gravatar

My PC at home was decidedly noisy. Now when I say noisy, imagine skype calls where people on the other end complain about the droning in the background. Thats the damn fans causing that.
I ditched the AMD stock cooler for a Zalman CNPS9700 LED .. see it here: http://www.zalman.co.kr/ENG/product/Product_Read.asp?idx=164

It’s about 2.5 times larger than the stock cooler, however I was really suprised how light it is. For it’s size, it damn good. No problems with boards being bent etc. It also came with some thermal liquid… yes liquid. It’s in a small sort of nail varnish bottle, and you paint it on the cpu and cooler. Works like a charm, and saves alot of mess. Ultimately, this thing cools like a demon. I would highly recommend it.

On top of my new cooler, I bought a AMD X2 6000+ to replace the 4600+ I had, plus two new DDR2-800 1Gb Dimms and a Zalman fan controller.
So I can now throttle all my fans down, and my PC is dead quiet. The Zalman cooler is also very quiet even at full speed. On top of that I’ve got a 12cm thermaltake fan at the back of the case, on top is a 8cm fans to draw air in, and two fans on the front to cool my 5 hard drives (I’ve got a hdd fetish I think :) )

As I’m typing this, my fans are turned down to a minimum, pc is very quiet and it’s running a 34 Degrees C. Cool and Quiet is running the core voltage at 1.38V. All in all, I am very impressed.

I crank the fans up when I play games, but for mail, web etc, this is nice.

Other than that, I need to do some work on my sites, and get the latest iconnect source compiled. Also thinking of writing a new version that runs on perl. Should be fun.

Birthday is coming up soon. Yikes 25…!

Until we meet again :)

Powered by ScribeFire.

Back into the programming world.

No Gravatar

For too long have I sat idle as a Sys Admin, stuck in the ways of GFS and DRBD!

I’ve been given a job to do at work, that requires I blow the dust off the perl skills and use them.
I’ve forgotten a lot unfortunately, I had to cast my mind back and remember all the Object Oriented Terminology I learned way back when.
I’m a C / C++ programmer, so perl should be second nature right? Perl is based on C / C++?

Well, it’s not the same as C++. There are similarities, but perl does most things completely differently. And it does it in a better way I think.

So, I’ve got cacti, the great system graphing tool, with a whole load of data in it. Things such as load on servers, cpu usage etc.
I’m going to write a perl based tool that will pull the data stored by cacti in the rrd databases, and generate some useful information.
I looked at using a plugin for cacti called ReportIT. Seemed promising, but after an hour of just trying to patch Cacti to add plugin support, I gave up.
So I’ll let you know how it goes. There are loads of handy modules on CPAN to access rrd databases, so it should not be too difficult.

You’ll notice the “ScribeFire” thing at the bottom of the post. It’s a Firefox addon I found. Allows me to blog from my brower. Saves a lot of time.

Powered by ScribeFire.

Powered by WordPress | Theme: Motion by 85ideas.