Howto Install ZFS-FUSE 0.5.0 on Ubuntu 8.04 (Hardy Heron)
Submitted by specialj on Tue, 2008-09-16 23:53.
ZFS-FUSE 0.5.0 was released a few days ago and brought some nice changes. I’ve been using ZFS-FUSE on a number of systems for the purpose of snapshotting the virtual disks of virtual servers. ZFS-FUSE seems to perform well under this scenario. I’d say the major changes are asynchronous IO support, disk barrier support (flushing the write cache), support for zfs send and recv, and a healthy number of bug fixes. I had been using the 0.4.x version straight from the mercurial repository but now I’m switching to this new release. Here are the install steps I followed.
sudo apt-get install build-essential libfuse-dev libaio-dev zlib1g-dev scons- Download required packages for compiling.
wget http://download.berlios.de/zfs-fuse/zfs-fuse-0.5.0.tar.bz2- Download the source for the 0.5.0 release.
tar -xjf zfs-fuse-0.5.0.tar.bz2- Extract the source code.
cd zfs-fuse-0.5.0/src- Change directory for compilation and installation.
scons- Compile binaries.
sudo scons install- Install binaries.
I also found that I needed to upgrade my volumes with the following command:
zpool upgrade zfspool
Trackback URL for this post:
http://hightechsorcery.com/trackback/188




Intrepid Compiler Workaround
These steps almost work under Ubuntu 8.10 (Intrepid), but compiler warnings bring the process to a halt at the "scons" step. To ignore the warnings, edit the file .../zfs-fuse-0.5.0/src/SConstruct. Near the top is a line that starts with "env['CCFLAGS'] = ...". On that line, remove the string "-Werror ". Now scons will initiate a successful compilation and you can proceed. Details at
http://groups.google.com/group/zfs-fuse/browse_thread/thread/9dedf105b30...