Author Archives: jonmoore

Why use ZFS with FreeNAS?

I recently started using FreeNAS again after exploring other options that existed, such as openfiler, and now that I’ve returned, ZFS seems to be the cool thing to do.  After reading, watching videos and playing with ZFS I’m sold on all the features it offers.  However, I must ask, is there a compelling reason to [...]
Posted in quickfire, rants | Leave a comment

Rewrite incoming CallerID

We’re using asterisk, and as part of the dial plan, a 9 is required before the number to make calls out to the PSTN.  Since our phones have a incoming call log, it would be very convient to have asterisk rewrite the CallerID value on calls from the PSTN to include this leading digit.  I [...]
Posted in quickfire, tips | Tagged | Leave a comment

Asterisk GotoIf Application

The description from asterisk for this is GotoIf(condition?[labeliftrue]:[labeliffalse]), however for me (being somewhat new to asterisk, and not fully understanding all the little bits, this was a bit confusing. A better way of describing this, at least for those of use new to asterisk, might be GotoIf(condition?[context,priority,labeliftrue]:[context,priority,labeliffalse]). I have not used labels in the dial plan [...]
Posted in quickfire, tips | Tagged | Leave a comment

Remote packet capture

Had a need to capture some traffic on the remote machine and analyze it in Real Time ™.  Found to solutions to this.  The first, involved just sending the output of tcpdump across the ssh session. ssh host.example.org tcpump - eth0 -w - > capture.pcap The other method, picked up from the wireshark wiki allows for the captured traffic [...]
Posted in Uncategorized | Leave a comment

Unable to use pvmove

I needed to remove a physical volume from a LVM volume group, and found this is done using the pvmove command.  However, trying to run this, resulted in an immediate, and suprising error # pvmove /dev/sdb1 /dev/sdc1 Required device-mapper target(s) not detected in your kernel After some quick google’ing I found on this list a cause, and a [...]
Posted in Uncategorized | Leave a comment

Quick install of Tomcat5 on CentOS

At the office, we’re in the process of doing some work where we need a tomcat server.  Without having to get into things to much, I found this simple method for getting tomcat5 up and running pretty quickly.  I’m sure I’ve left out some important things, and I’m doubtful as to how production ready this [...]
Posted in quickfire, tips | Tagged , | Leave a comment

Burn ISO from command line in Linux

Quick and simple way of burning an ISO image from the command line in Linux.  First, find your devices with wodim, the use the cdrecord command to burn the ISO image. $ wodim --devices wodim: Overview of accessible drives (1 found) : ------------------------------------------------------------------------- 0 dev='/dev/scd0' rwrw-- : 'LITE-ON' 'DVDRW LH-20A1P' ------------------------------------------------------------------------- $ cdrecord -v dev='/dev/scd0' Download/archlinux-2009.08-netinstall-i686.iso Then, you’re done.
Posted in quickfire | Tagged | Leave a comment

Remove bonded interface in OpenFiler

I decided to try and use NIC bonding in OpenFiler and while things seemed to go well at first, I did run into some issues over time.  I’m still in the process of testing, and I think most of the issues are “user error” and not so much problems with NIC bonding or OpenFiler itself.  [...]
Posted in tips | Tagged | Leave a comment

Open Source storage server

This is not going to be a full review, but more a general take on things. Since moving from VMware Server to ESXi to host my virtual machines, I’ve been very interested in looking into some more of the advanced features of ESX and ESXi yet most of these require iSCSI.  I remember from a few [...]
Posted in other, projects | Tagged , , , , | Leave a comment

Installing Dropbox on Ubuntu (and others)

I’ve been using dropbox to sync and share files between my various computers for quite some time, and overall have been very pleased.  However, one area things are not so great… documentation for installation on Linux.  After having to reinstall on my notebook, I decided to somewhat document the hidden part of the process. After downloading [...]
Posted in quickfire, tips | Tagged , | 1 Comment