Tag Archives: zfs native

Home »  Tag: zfs native

It is widely know that ZFS can compress and deduplicate. The deduplication works across the pool level and removes duplicate data blocks as they are written to disk. This results into having only unique blocks stored on the disk while the duplicate blocks are shared among the files. There is a good read about how dedupe works and some tweaking things like changing the checksum hashing function. https://blogs.oracle.com/bonwick/entry/zfs_dedup Note: Compression works fine under zfsonlinux but the current version is not yet supporting deduplication (16.09.2014). ZFS on FreeBSD (for example FreeNAS) and Solaris (and Opensolaris) have a higher pool version and support deduplication. Deduplication has been introduced with pool version 31. Zpool versions and features (blogs.oracle.com) List of operating systems supporting ZFS (wikipedia) Now, how to determine if you would actually benefit from deduplicated and compressed datasets? I run the following under FreeNAS with a testsetup filled with real data. (self recorded camera .mov, ISOs, virtual […]

In relation to the outdated post http://www.solaris-cookbook.eu/linux/debian-kanotix-proxmox-install-zfs-native/ Things have become much easier now How to install ZFS native on Debian 7 or Proxmox 3.x 1) become root sudo su – 2) Install ZFS wget http://archive.zfsonlinux.org/debian/pool/main/z/zfsonlinux/zfsonlinux_3%7Ewheezy_all.deb dpkg -i zfsonlinux_3~wheezy_all.deb apt-get update apt-get install debian-zfs kernel upgrade After updating the Kernel you most likely have to do the following steps: make sure you have the headers installed (proxmox example) aptitude install pve-headers-$(uname -r) (it will pick the current running kernel version. If you just updated the kernel you better reboot first.) ln -s /lib/modules/$(uname -r)/build /lib/modules/$(uname -r)/source aptitude reinstall spl-dkms zfs-dkms That should cover you on a kernel update Related posts: Debian / Kanotix / Proxmox: Install ZFS Native Linux: Install Proxmox Virtual Environment on Debian 6.0 Squeeze Distro (Kanopix) ZFS: Fun with ZFS – is compression and deduplication useful for my data and how much memory do I need for zfs dedup? […]

Here we go again. After installing ZFS on a Debian based Proxmox Node I now need some bang on a CentOS Server. To remind you all: ZFS on Linux is considerably stable and matured, but you put it in place on your own risk. ZFS Native comes from http://zfsonlinux.org/ I use a Centos 6.3 minimal installation and I have a 2GB disk configured to it for demo. fdisk -l Disk /dev/sdb: 2147 MB, 2147483648 bytes Updated (26.04.2013) And a Russian fellow describes his way to install it which I used and improved. http://habrahabr.ru/post/152853/ He build his own repo under http://yum.aclub.net/pub/linux/centos/6/umask-zfsonlinux/x86_64/ which is maintained as per 05.03.2013 So we start with: cd /etc/yum.repos.d/ wget http://yum.aclub.net/pub/linux/centos/6/umask-zfsonlinux/umask-zfsonlinux.repo rpm –import http://yum.aclub.net/pub/linux/centos/5/umask/RPM-GPG-KEY-umask There is an original repo from zfs on Linux now which we are going to use since it has the latest version 0.6.1 of ZFS http://zfsonlinux.org/epel.html yum localinstall –nogpgcheck If you don’t have […]

%d bloggers like this: