This is an old revision of the document!
apt-get install python-software-properties
add-apt-repository ppa:zfs-native/stable apt-get update
apt-get install ubuntu-zfs
zpool create tank /dev/<DISK>
zfs create tank/vol1
zfs create -V 2g tank/v1
apt-get install iscsitarget iscsitarget-dkms
ISCSITARGET_ENABLE=true
Target iqn.zfs.sebekaschools.net:storage.sys0 Lun 0 Path=tank/v1,Type=blockio,ScsiId=lun0,ScsiSN=lun0