• personal

    The 12 Days Of Christmas Movies

    The Holiday Season is upon us. My lights are up, my tree is decorated, and I’m looking forward to all the calories! And I’ve got something to help you get into the mood: Christmas movies! In fact, this is the 12 days of Christmas, where I somehow throw 112 movies out there (what can I say, I get bored easily) for your holiday spirit (or anti-spirit as the case may be) goodness. On the First Day of Christmas, you had to watch: Die Hard. We’re gonna’ ease you into the holiday spirit. This movie isn’t about Christmas, or any other holiday exactly. It’s about Bruce Willis shooting things. It’s not first…

  • Mac OS X,  Unix,  Windows XP

    Subversion Cheat Sheet

    I’ve done a few articles in the past on different tasks in svn and git, but I have a little cheat sheet of sorts I’ve been using for awhile for Subversion on Mac OS X and thought I would share it. Before you get started, check your version. I use 2.0 but I seem to remember all of these are about the same as they were previously: svn --version To get started, Subversion uses a repository to store projects. Each client needs a repository and these should be on direct attached drives. The repository hosts a Berkeley database a folder per project you check out, or import. To create a…

  • Xsan

    Isolating iNodes in Xsan cvfsck Output

    I’ve noticed a couple of occasions where data corruption in Xsan causes a perceived data loss on a volume. This does not always mean that you have to restore from backup. Given the cvfsck output, you can isolate the iNodes using the following: cat cvfsck.txt | grep *Error* | cut -c 27-36 > iNodeList.txt Once isolated you can then use the cvfsdb tool to correlate this to file names. For example, if you have an iNode of 0x20643c8 then you can convert this into a file name using the following: cvfsdb> show inode 0x20643c8 The output will be similar to the following: 000: 0100 8000 3f04 0327 5250 2daa 0000…

  • Windows Server

    Shadow Copy from the Command Line

    I was recently building some scripts to alternate shadow copy storage locations (long story). In so doing, I found that pretty much anything I would normally do in the GUI is exposed at the command prompt using the vssadmin command. The first and one of the most important things that you can do is list settings. This includes the following: providers – lists components that can create and maintain shadow copies shadows – lists shadow copies shadowstorage – lists storage that can be used for shadow copies volumes – lists volumes that have shadow copy enabled writers – lists registered components of applications that store persistent information on a volume…

  • Active Directory,  Mac OS X Server,  Mac Security

    Managing the Keytab with ktutil

    clear_list – Clears the current keylist  read_kt or rkt – Reads a krb5 keytab into the current keylist  read_st or rst – Reads a krb4 srvtab into the current keylist  write_kt or wkt – Writes the current key listing into a krb5 keytab  write_st or wst – Writes the current key listing to a krb4 srvtab  add_entry or addent – Adds an entry to the current key listing  delete_entry, delent – Deletes an entry from the current key listing  list – Lists the current key listing  list_requests or lr – Lists available keys