I have recently been looking at using some low-power hardware that has Debian installed (and does not support OpenSolaris). Combined with Oracle's demantling of Sun, I decided to test zfs-fuse. These instructions are in no way supposed to indicate the correct or easiest way -- simply the way I managed to get it installed and tested.
- download the Debian Lenny installer
- create a new VirtualBox machine
- make sure to create some extra drives... so in addition to SCSI0/sda being set aside for a 20gig hard drive, I created SCSI1-SCSI5 (sdb-sdf) as 2gig drives labeled "ztest1" through "ztest5"
- keep track of those addition sdX names, you will need them later
- reboot when prompted; make sure to remove the installer CD
- su - root
- apt-get install sudo bzip2
- visudo
- uncomment the sudo group line at the bottom
- nano /etc/group
- add yourself to the sudo group
- apt-get install build-essential
- apt-get install libaio-dev libattr1-dev libacl1-dev libz-dev libfuse-dev libfuse2 scons libssl-dev
- exit
- to get back to your user
- mkdir work
- cd work
- wget http://zfs-fuse.net/releases/0.6.9/zfs-fuse-0.6.9.tar.bz2
- bunzip2 zfs-fuse-0.6.9.tar.bz2
- tar xvf zfs-fuse-0.6.9.tar
- rm zfs-fuse-0.6.9.tar
- cd zfs-fuse-0.6.9/src
- scons
- sudo scons install
- nano ~/.profile
- PATH="$PATH:/sbin:/usr/local/sbin"
- log out and back in
- modprobe fuse
- sudo nano /etc/fstab
- add this line:
none /sys/fs/fuse/connections fusectl none 0 0
- sudo mount -a -t fusectl
- sudo zfs-fuse &
- sudo zpool create rpool raidz2 /dev/sdb /dev/sdc /dev/sdd /dev/sde /dev/sdf
- sudo zfs create rpool/data
- su - root
- modprobe fuse
- mount -a -t fusectl
- zfs-fuse &
- zpool status
- zfs list
- zfs mount rpool/data
http://zfs-fuse.net/
http://drwetter.org/blog/zfs_under_linux.en.html