Found about this yesterday with the announcement of RHEL 7.5, tried to build the kernel module on Debian but it fails with an error similar to the one posted at github for opensuse.
So, I created a Fedora 27 VM, built there, created a volume and I must say I'm impressed!
I've been trying to reduce the space required for my backups, with ayufan's patch (gone?), with zfs on both proxmox and a freenas vm (needs too much ram), with the opendedup appliance (promising but really unstable) and with btrfs and offline deduping (ok but why work twice?)
Can't wait to see this in proxmox, I'm seeing huge saving so far, and I've only assigned 2GB of RAM to the VM.
This is the nfs exported volume, my backup target
Code:
[faber@dedup1 ~]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vdo1 1007G 22G 934G 3% /mnt/vdo
And its contents:
Code:
faber@sys01:~$ sudo ls -lh /mnt/pve/dedup1/dump/
total 22G
-rw-r--r-- 1 root root 8.5K Apr 11 01:31 vzdump-qemu-100-2018_04_11-01_26_04.log
-rw-r--r-- 1 root root 4.6G Apr 11 01:31 vzdump-qemu-100-2018_04_11-01_26_04.vma
-rw-r--r-- 1 root root 8.5K Apr 11 01:39 vzdump-qemu-100-2018_04_11-01_33_58.log
-rw-r--r-- 1 root root 4.6G Apr 11 01:39 vzdump-qemu-100-2018_04_11-01_33_58.vma
-rw-r--r-- 1 root root 8.5K Apr 11 01:45 vzdump-qemu-100-2018_04_11-01_41_24.log
-rw-r--r-- 1 root root 4.6G Apr 11 01:45 vzdump-qemu-100-2018_04_11-01_41_24.vma
-rw-r--r-- 1 root root 8.0K Apr 11 01:52 vzdump-qemu-101-2018_04_11-01_47_05.log
-rw-r--r-- 1 root root 2.8G Apr 11 01:52 vzdump-qemu-101-2018_04_11-01_47_05.vma
-rw-r--r-- 1 root root 8.2K Apr 11 01:58 vzdump-qemu-101-2018_04_11-01_53_45.log
-rw-r--r-- 1 root root 2.8G Apr 11 01:58 vzdump-qemu-101-2018_04_11-01_53_45.vma
-rw-r--r-- 1 root root 11K Apr 11 02:35 vzdump-qemu-101-2018_04_11-02_25_26.log
-rw-r--r-- 1 root root 2.8G Apr 11 02:34 vzdump-qemu-101-2018_04_11-02_25_26.vma
How it looks inside the VM:
Code:
[faber@dedup1 ~]$ sudo vdostats --human-readable
Device Size Used Available Use% Space saving%
/dev/mapper/vdo1 256.0G 8.5G 247.5G 3% 89%
And the real space used :
Code:
faber@sys01:~$ sudo ls -lsh /var/lib/vz/images/120
total 4.8G
4.8G -rw-r----- 1 root root 256G Apr 11 02:36 vm-120-disk-1.raw
I know as the backups are really close in time, they should be almost equal, and both VMs run Debian 9.1 so even more to dedup, but still, this is the best results I've had on all my tests with the lowest resources needed.