Recovering from Exchange Mail Database corruption


I recently had the fun of recovering an Exchange server which had run out of disk space and "stopped working". I'm not sure exactly what they did before passing it on to me, but at that point the databases were not mounting. They had two databases, "Mailbox Database.edb" about 9GB and "Public Folder Database.edb" about 9MB, Both in the "First Storage Group". A little more investigation and a bit of eseutil /mh showed that both databases were in the Dirty Shutdown state and there were logfiles missing. Interesting.

Microsoft Hyper-V snapshots


Interesting thting I just found out about snapshots in Hyper-V. Like snapshots in VMware, they freeze the base disk and store all disk changes in delta files which just keep growing. So, like VMware snapshots, they are not a good thing to have around for a long time.

DRBD for XCP 0.5


As in my earlier post, I have been playing with DRBD under XenServer and XCP. For XenServer, I just downloaded the binaries from For XCP I had to do a bit more work.

I followed the compile instructions from above, just updated to XCP:

1. Download the Driver development kit from
2. Copy the ddk to the XCP server and install as per
3. Download drbd- from and copy it the the ddk vm (e.g. in /root).

A useful link for me

I'm playing with DRBD under XenServer and XCP using the guide from However the downloads from there are via which makes it hard to get to from my servers. So I'm attaching them here! The only issue is that the names get changed.

Timer issues under Hyper-V



I just had an interesting case where a hyper-V guest was having group policy and other domain related issues due to not being able to contact a DC. I checked DNS by first pinging the DNS server (the hyper-V host) and got ping times like:

>ping –t

Pinging with 32 bytes of data:

Reply from bytes=32 time<1ms TTL=128
Reply from bytes=32 time=89ms TTL=128
Reply from bytes=32 time<1ms TTL=128
Reply from bytes=32 time=89ms TTL=128
Reply from bytes=32 time<1ms TTL=128

Windows services not wanting to start or stop

I'm currently seeing an issue with Windows Server 2008 R2 where it will just stop resolving a share host. Pinging the host works, connecting to HTTP on the host works, but trying to access shares immediately comes up with a message saying that the host cannot be resolved! There seems to be a few people experiencing this issue Anyway, for the moment, restarting the workstation service resolves the issue (sounds like it is caching something it shouldn't be), which it all well and good when you can restart the workstation process.

I'm sorry, but this is just ridiculous:

Busselton Half complete!

Well it took me a week to recover, but I completed the Busselton half last weekend. A slow (but comfortable) 45 min swim, a pacy 2:40 ride and a "world of pain" 1:58 run. Here are some photo of me and a little video of me crossing the line.

As a Service by Consumers


I just heard a great definition of the different *aaS on the VMware Communities Roundtable podcast ( In the "Building the Cloud" episode, I believe it was Rod Haywood who defined the different services by the consumers of them.

IaaS: Infrastructure as a service. Buying VMs. This is consumed by System Administrators who expect to be getting a vanilla OS and do the configuration and application installation for the end users. Used for deploying "applications in the cloud" rather than "cloud applications".

Allow anonymous mail in Exchange


For quite a few monitoring tools (i.e. VMware vCenter), there aren't any options for mail authentication. To get around this on your Exchange server, you'll need to do the following:

Open the Exchange Management Shell are run the following:
> New-ReceiveConnector -Name "Anonymous Relay" -Usage Custom -PermissionGroups AnonymousUsers -Bindings [serverip]:25 -RemoteIpRanges [ranges]
> Get-ReceiveConnector "Anonymous Relay" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"


ASP site permission issue


I copied and pasted an ASP site from it's original server to a DotNetPanel server and received the following exception:

Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed

Syndicate content