ZOL is probably not the best first post for a blog with UNIX in the tagline but I had some free time on my hands and my home server runs Ubuntu…so lets get started.
Ubuntu ZFS PPA
The latest stable release of ZOL for Ubuntu is hosted as a PPA on launchpad at the following location.
https://launchpad.net/~zfs-native/+archive/stable
Before installing packages from the PPA you must add the repository to your system.
sudo add-apt-repository ppa:zfs-native/stable sudo apt-get update
You may discover that the ‘add-apt-repository’ is not found on your system. The ‘python-software-properties’ includes the ‘add-apt-repository’.
sudo apt-get install python-software-properties
Prerequisites
In order to install and load the ZFS kernel modules you must install the latest kernel headers.
sudo apt-get install linux-headers-3.2.0-23 linux-headers-3.2.0-23-generic
If you forget to install the kernel headers you will see errors such as ‘Failed to load ZFS module stack.’ when attempting to create a ZFS filesystem.
Installing ZFS for Ubuntu
Now that you have added the ZFS for Ubuntu PPA to your system and installed the kernel headers we can install the ‘ubunut-zfs’ package.
sudo apt-get install ubuntu-zfs
Enjoy!