Created
July 17, 2013 06:26
-
-
Save Goerik/6018092 to your computer and use it in GitHub Desktop.
Install zfs on Debian with transparent compression
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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