Category / ZFS

Uh-oh, trying out zdb and finding this error, doesn’t breath confidence does it ? Here is how you can solve this minor issue : # zdb cannot open ‘/etc/zfs/zpool.cache’: No such file or directory Just set it as a value to the zpool : zpool set cachefile=/etc/zfs/zpool.cache poolname getting the pool name can be done using […]

Read More

Starting the new year with : No space left on device I looked to the usual suspects (/tmp, /data, …)  but nothing excessive … It was my sanoid setup, woops! A gazillion snapshots ! For some reason one of my containers changes around ~300 Gb a day, and guess who keeps 60 days of snapshots, on […]

Read More

After mounting a NTFS partiton in read/write, a NFS partition and just last week a LVM2_member partition. Its time for a new episode in the series: How to mount an unknown file-type in Linux. As they say, the saga continues. Note that I use proxmox (Debian spin) on this machines, this makes that ZFS was already installed. Installing ZFS […]

Read More

Slowly ZFS on Linux is becoming the mainstream file system, however its more then just a file system, its a (software) raid,  it allows for snapshots, compression, deduplication, … its pretty cool, and I’m in love with it. One of the most important features for me is snapshots, those are dirty cheap in ZFS, so cheap […]

Read More

So our ZFS server running Centos 7 has some problems, and we needed to verify that the data was oké, and for good measure sync our backup.  Getting ZFS on mint was surprisingly difficult, perhaps cause of my close to zero knowledge about Mint, or perhaps its hanging a bit in limbo right now … Allot […]

Read More

zfs compression : use it!

19 April, 2016

I’m playing with ZFS for a while now and I read that compression should be turned on, on pretty much anything that has a decent CPU. Most of our data is already compressed, so our idea was, why take the speed hit for no real advantage … A second machine was bought, and I decided […]

Read More

A small “bugfix” on proxmox 4.1 with ZFS below it, on a clean install, proxmox will fail to make a lxc (linux container). One has to create a zfs storage before containers can be made … The error during creation: Warning, had trouble writing out superblocks.TASK ERROR: command ‘mkfs.ext4 -O mmp -E ‘root_owner=0:0′ /var/lib/vz/images/100-disk-1.raw’ failed: exit […]

Read More

ZFS on linux version check

20 January, 2016

I’m so hooked on Centos lately I have no clue how to find the version of ZFS installed on a proxmox (debian based) OS. A “hacky” way is checking dmesg during module load but I’m sure an easier solution must exist. dmesg | grep ZFS # if nothing, then perhaps it was not loaded (?) modprobe […]

Read More

zfs: disagrees about version

9 December, 2015

ZFSonLinux (ZOL) is a great project that creates a Linux kernel port of the ZFS filesystem. However when the kernel updates, it always makes problems with ZFS kernel module 🙁  I have not found a stable solution, only a very dirty “windows alike method”. I will share it as a future reference for my colleagues and -primary- myself. Failed […]

Read More