Monthly Archives: December 2008

Installing VirtualBox on a PAE Kernel System 13

I recently got stuck while trying to install Headless Virtualbox on a Centos 5.2 server per the directions at Howtoforge here. The RPM failed with the error that it couldn’t find the kernel source. I thought I had already installed kernel-devel, and confirmed that I did. The instructions were to define the KERN_DIR variable like so: $ export KERN_DIR=/usr/src/kernels/2.6.18-92.1.22.el5-i686/ $ /etc/init.d/vboxdrv setup Stopping VirtualBox kernel module [  OK  ] Removing old VirtualBox netflt kernel module [  OK  ] Removing old VirtualBox kernel module [  OK  ] Recompiling VirtualBox kernel module [  OK  ] Starting VirtualBox kernel module [FAILED] (modprobe vboxdrv failed. Please use ‘dmesg’ to find out why) dmesg shows this: vboxdrv: disagrees about version of symbol struct_module Interesting! After several missteps, it turns out there is a separate development rpm for the PAE kernel: $ yum install kernel-PAE-devel After that installs, we are good: $ export KERN_DIR=/usr/src/kernels/2.6.18-92.1.22.el5-PAE-i686/ $ /etc/init.d/vboxdrv….

HOWTO: Installing ZFS and setting up a Raid-Z array on Ubuntu 18

Readers should note that this applies to Ubuntu 8.10 Intrepid Ibex only! ZFS is a relatively new filesystem created by Sun. It is released under the CDDL License which is incompatible with Linux’s GPL License, meaning that it can not be installed natively in the kernel. Therefore, for not it is relegated to addon packages and is brought to Ubuntu via the Fuse framework. For more information on this see the Ubuntu Wiki article on ZFS. The wiki article also explains this, but getting ZFS installed on Ubuntu is actually pretty straightforward by issuing these commands: $ sudo echo “deb http://ppa.launchpad.net/brcha/ubuntu intrepid main” >> /etc/apt/sources.list.d/zfs-fuse.list $ sudo echo “deb-src http://ppa.launchpad.net/brcha/ubuntu intrepid main” >> /etc/apt/sources.list.d/zfs-fuse.list $ sudo apt-get update $ sudo apt-get install zfs-fuse This installs zfs onto your system. Now to create your raid-z array! Its dead simple. $ sudo zpool create media -m /storage raidz /dev/sda /dev/sdb /dev/sdc In….