Random Post: Happy 20th, Perl!
RSS .92| RSS 2.0| ATOM 0.3
  • Home
  •  

    Bacula 3.0.1 for Mac OS X

    July 14th, 2009

    I wont be doing a build of Bacula for Mac OS X again any time soon, if at all, for a number of reasons;

    1. I no longer have access to Mac OS X 10.4 running on an Intel chip
    2. I am actively transitioning to BackupPC

    Below youll find the method I have been using to construct all the .pkg installers youll find on this site. If you have any questions about the process please post them in the comments.

    Read the rest of this entry »


    list all files with resource forks on Mac OS X

    June 6th, 2009

    This is mostly just a note to myself. If you ever have the need to find all files that contain HFS resource forks on Mac OS X, just use this bit of find magic:

    find . -type f -exec test -s {}/..namedfork/rsrc \; -print

    working with initrd.img files

    May 28th, 2009

    You may have occasion to edit the contents of an initrd.img file. If so, here is how:

    Extract the contents of the image

    gunzip < your-initrd.img | cpio -i --make-directories

    Now make your edits and then repackage the initrd

    find . | cpio -o -H newc | gzip -9 > your-new-initrd.img

    install debian directly onto an AoE root filesystem

    May 25th, 2009

    Something that just about no one out there seems to be doing (yet) is trying to install Debian directly onto network block devices. The Debian installer doesnt support it (yet), grub doesnt support it (usually), and its just generally not an easy thing to do.

    Now, there are quite a few ways around this problem. You can install to a ‘real’ computer and migrate the installation to a network block device. You can use debootstrap in place of the actual Debian installation system. You can use a combination of these two methods, NFS root filesystems, TFTP hacks, etc. All of these solutions are lacking in my opinion. I want to run the ‘real’ debian installer against a network block device and boot my physical hardware using only the built in PXE booting capability of the BIOS.

    Taking all these issues as a personal challenge, I’ve outlined below how to go about using the regular old Debian Lenny installer directly against an AoE block device.
    Read the rest of this entry »


    openais: an alternative to clvm with cman

    April 23rd, 2009

    I’ve been battling lately with a lot of problems with cman, part of Red Hat Cluster Suite. Specifically, the fencing tool (fenced) is pretty much junk when you try to start using it with Xen dom0’s. After much searching and gnashing of teeth I happened upon this mailing list post. The promise there is that you could take clvm and compile it against openais and get a cluster aware LVM which doesnt require the rest of Red Hat Cluster Suite (and its crappy documentation, crappy fencing, and general all around crappiness). A little more searching turned up this web site from Olivier Le Cam which pretty much did 90% of the work for me.

    After some testing I’m happy to say it appears to work smashingly. What follows is a somewhat more complete version of how to achieve the same results on Debian Lenny. Enjoy :)

    Read the rest of this entry »


    sata_mv timeouts fixed

    April 8th, 2009

    Well isnt this a happy day for owners of the Supermicro 8-Port SATA Card AOC-SAT2-MV8. It appears a long standing issue with port timeouts has been fixed.

    See the lkml.org mailing list post here

    … and the townspeople rejoiced :)


    diskless booting with PXE and NFS

    February 15th, 2009

    For a long time now I’ve wanted to set up all my mythfrontends to be diskless nodes that boot via PXE using an NFS share as their root filesystem. I finally got around to doing this. I was even able to just migrate my existing installations directly into the PXE boot environment. Here is how I accomplished it…

    Read the rest of this entry »


    Bacula 2.4.4 for Mac OS X

    January 20th, 2009

    Another update to the bacula client and bconsole for Mac OS X. This should install and run properly on (at least) Mac OS X 10.4 and 10.5 for both Intel and PowerPC. Upgrades from old versions are handled in an intelligent fashion as well.

    Enjoy!
    bacula-client-244-1


    Bacula 2.4.3 for Mac OS X

    November 25th, 2008

    Another update to the bacula client and bconsole for Mac OS X. This should install and run properly on (at least) Mac OS X 10.4 and 10.5. Upgrades from old versions are handled in an intelligent fashion as well.

    Enjoy!
    bacula-client-243-1


    Prune old mythtv channels

    October 12th, 2008

    Looking for a way to bulk remove channels that I’ve delselected in my channel lineup at Schedules Direct, I happened upon this blog post. Seems to work great :)

    For the impatient, the important bit is this:

    DELETE channel,program FROM channel NATURAL LEFT JOIN program WHERE program.title IS NULL;