Skip to content

Instantly share code, notes, and snippets.

@Goerik
Created July 17, 2013 06:26
Show Gist options
  • Save Goerik/6018092 to your computer and use it in GitHub Desktop.
Save Goerik/6018092 to your computer and use it in GitHub Desktop.
Install zfs on Debian with transparent compression
wget http://archive.zfsonlinux.org/debian/pool/main/z/zfsonlinux/zfsonlinux_1%7Ewheezy_all.deb
dpkg -i zfsonlinux_1~wheezy_all.deb
apt-get update
apt-get install debian-zfs
modprobe zfs
fdisk -l
apt-get install parted
parted /dev/vda mklabel gpt
zpool create tank /dev/vda1
zfs create -o compression=lzjb -o mountpoint=/zfs -o atime=off tank/documents
nano /etc/default/zfs
ZFS_MOUNT='yes'
reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment