Updated snapadm.pl file for ZFS Snapshots

In my post OpenSolaris Backup Solution with Rsync and ZFS Snapshots I provided a link to a script from Sun – snapadm.pl. I found a bug where if you were using the recursive function then the old snapshots would never be destroyed as they were incorrectly named.

I have updated the snapadm.pl file contained in my post and have also provided a download link here.

Download:

Read on for more details: Continue reading

Posted in OpenSolaris, Sys Admin | Tagged , , | 3 Comments

OpenSolaris Backup Solution with Rsync and ZFS Snapshots

I have recently been forced to learn how to admin an OpenSolaris machine with ZFS filesystems. After doing some reading on ZFS, I realised how using snapshots with an rsync server would make an excellent backup solution.

Using several scripts to control rsync and the snapshots has allowed me to setup a system that has data retention periods applied and only uses the space on disk required to keep the changed files. Cloning a ZFS snapshot from a week ago (or even six months ago) allows you to create a synthetic full backup from the point in time the backup was taken.

Continue reading

Posted in OpenSolaris, Sys Admin | Tagged , , , | 5 Comments

EPIC FAIL – Winner of the Hottest 100 of 2009 leaked

And the winner of the Hottest 100 of 2009 is….. well you need to look at the picture if you really want to know.

I’m a little bit sad that I saw this. Australia day is always about listening all day to find out what hits number one (then being outraged when it isn’t a song you like, having said that I like this song)

BTW i take no credit for the image or finding the leak, I am just sharing it, original at http://i49.tinypic.com/ab2zrk.jpg

Posted in Offtopic | Tagged , , , | Leave a comment

Exchange System Manager Tools on Windows 7 – The Easy Way

Since my migration to Windows 7 there have still been a few things missing that would be nice to have. One of those is the Exchange System Manager tools. There are ways and methods out there to getting this to work but most will involve uninstalling outlook and reinstalling after you have installed ESM tools.

I have been waiting for the ESM tools for Exchange 2010 to hopefully work with Exchange 2003 but that hasn’t happened either. Although I did find a really quick and easy solution this morning after reading the following posts on TechNet (Exchange System Manager for exchange 2003)

You will need to download the Exchange System Manager for Windows Vista then use something like WinRAR to extract the contents.

You will also need to make sure you already have the RSAT tools installed (Remote Server Admin Tools)

Finally open up a Command Prompt as Administrator. Browse to the directory that contains the ESMVISTA.MSI file. Run the following:

ESMVISTA.MSI /q

Once this is done you should be able to open the “Active Directory and Computers” and edit an Exchange User with all the required email tabs.

Posted in Exchange, Sys Admin, Windows | Tagged , , , | 74 Comments

Mythtv MPlayer Playback Issue with Ubuntu Karmic Koala

I have just finished upgrading my Mythtv setup to Ubuntu 9.10 and mostly everything still works (I upgraded from 8.10). Luckily the only thing that broke was lirc and it was the old config pointing at the incorrect /dev entry. The biggest problem was when I played video from inside mythtv using mplayer the video locked up. It acted like it was paused, you could seek and the video would advance but it would never play.

After searching through forums and mailing lists I was unable to find an answer so I started looking into mplayer itself. If i used mplayer on it’s own while Mythtv was running the same problem would occur. If I exited Mythtv then mplayer functioned perfectly. I found a possible idea from the Ubuntu forums whereby someone else was having slight playback issues (no mention of Mythtv though).

The problem appears to be with the audio driver mplayer tries to use. On my system it comes up with an error about pulse (that is something to fix some other time). To fix this I told mplayer to use ALSA instead, and it worked!!

So to fix with MythTV go into the Setup -> Media Settings -> Video Settings -> Player Settings then set Default Video Player to

mplayer -fs -zoom -ontop -ao alsa %s

Alternatively you could just add

-ao alsa

before the %s.

Posted in MythTV | Tagged , , , | 1 Comment