Installed the new zfsutils + zfs dkms to sanity check the kernel driver part of the fix:
dmesg | grep ZFS [ 22.420188] ZFS: Loaded module v0.8.1-1ubuntu14.1, ZFS pool version 5000, ZFS filesystem version 5
And now the test:
root@eoan-amd64-uefi:~# mkdir /zfs-test root@eoan-amd64-uefi:~# cd /zfs-test root@eoan-amd64-uefi:/zfs-test# truncate -s 10G file.img root@eoan-amd64-uefi:/zfs-test# zpool create -o ashift=12 -O acltype=posixacl -O compression=lz4 -O xattr=sa -O normalization=formD -O dnodesize=auto tank $(pwd)/file.img root@eoan-amd64-uefi:/zfs-test# zfs create tank/d1 -o encryption=on -o keyformat=passphrase Enter passphrase: Re-enter passphrase: root@eoan-amd64-uefi:/zfs-test# dd if=/dev/urandom bs=4k of=/tank/d1/somedata.bin count=10240 10240+0 records in 10240+0 records out 41943040 bytes (42 MB, 40 MiB) copied, 0.319657 s, 131 MB/s root@eoan-amd64-uefi:/zfs-test# zfs snapshot tank/d1@s1 root@eoan-amd64-uefi:/zfs-test# dd if=/dev/urandom bs=4k of=/tank/d1/somedata2.bin count=10240 10240+0 records in 10240+0 records out 41943040 bytes (42 MB, 40 MiB) copied, 0.312195 s, 134 MB/s root@eoan-amd64-uefi:/zfs-test# zfs diff tank/d1@s1 tank/d1 M /tank/d1/ + /tank/d1/somedata2.bin
The zfsutils + dkms package has the fix. Once this lands we can then sync this into the next kernel release for the complete fix.
Installed the new zfsutils + zfs dkms to sanity check the kernel driver part of the fix:
dmesg | grep ZFS
[ 22.420188] ZFS: Loaded module v0.8.1-1ubuntu14.1, ZFS pool version 5000, ZFS filesystem version 5
And now the test:
root@eoan- amd64-uefi: ~# mkdir /zfs-test amd64-uefi: ~# cd /zfs-test amd64-uefi: /zfs-test# truncate -s 10G file.img amd64-uefi: /zfs-test# zpool create -o ashift=12 -O acltype=posixacl -O compression=lz4 -O xattr=sa -O normalization=formD -O dnodesize=auto tank $(pwd)/file.img amd64-uefi: /zfs-test# zfs create tank/d1 -o encryption=on -o keyformat= passphrase amd64-uefi: /zfs-test# dd if=/dev/urandom bs=4k of=/tank/ d1/somedata. bin count=10240 amd64-uefi: /zfs-test# zfs snapshot tank/d1@s1 amd64-uefi: /zfs-test# dd if=/dev/urandom bs=4k of=/tank/ d1/somedata2. bin count=10240 amd64-uefi: /zfs-test# zfs diff tank/d1@s1 tank/d1 somedata2. bin
root@eoan-
root@eoan-
root@eoan-
root@eoan-
Enter passphrase:
Re-enter passphrase:
root@eoan-
10240+0 records in
10240+0 records out
41943040 bytes (42 MB, 40 MiB) copied, 0.319657 s, 131 MB/s
root@eoan-
root@eoan-
10240+0 records in
10240+0 records out
41943040 bytes (42 MB, 40 MiB) copied, 0.312195 s, 134 MB/s
root@eoan-
M /tank/d1/
+ /tank/d1/
The zfsutils + dkms package has the fix. Once this lands we can then sync this into the next kernel release for the complete fix.