Posts in 'blog' – Page 6

Cloning a ZVol for a new VM

I am using bhyve as a VM system for OpenBSD, Linux and FreeBSD guests running on a FreeBSD host.

I wanted to create a new OpenBSD VM to set up a local mail server VM. And realised I could probably clone one of my existing OpenBSD VM's filesystem and just start with that. I'm using ZFS zvols for the underlying data store for the VM.

So, firstly I took a snapshot of the running OpenBSD VM:

zfs snapshot storage/vms/openbsd@booted

Then clone it:

zfs clone -p storage/vms/openbsd@booted storage/vms/mailserver

Listing the zvols you can see the new one:

root@jenna:/storage/vms # zfs list -r storage/vms
NAME                   USED  AVAIL  REFER  MOUNTPOINT
storage/vms            111G  4.82T  4.54G  /storage/vms
storage/vms/mailserver 1.93M 4.82T  2.92G  -
storage/vms/openbsd    106G  4.92T  2.92G  -

What is interesting is the amount of storage used, in this case just 1.93M, so the new OpenBSD server seems to only consume space where different to the existing one. ZFS' copy on write is pretty awesome :)

Upgrading HP Microserver G8 with a Xeon

A cheap and simple CPU upgrade to a HP Microserver for many more cores and virtualisation features

iOS Deployment and Provisioning - Part II - Rational

The reasoning behind our build process, how it solves the problems of building and signing builds with a distributed team

I Love our Build System

It's 7:30am, a director has reported a problem with our app whilst at a trade show. Help! How our build system saved the day.

iOS Deployment and Provisioning - Part I - Terminology

The first problem I had coming into iOS development was working out how all the parts related - certs, profiles, keys, schemes, etc

Using OpenBSD as a FreeBSD Router

FreeBSD is a great general server, OpenBSD is great at networking and security. This is how I run a virtual router using OpenBSD and bhyve on a FreeBSD host

Introducing New Blog

Obligatory welcome post to my new blog