zfs-dkms ended up working for me using LXD with the following test case:

sudo add-apt-repository ppa:ci-train-ppa-service/4831
sudo apt update
sudo apt upgrade
sudo apt install zfs-dkms

lxd init
lxc launch images:ubuntu/focal test-mysql
lxc exec test-mysql bash

# apt update && apt dist-upgrade -y
# apt install mysql-server

# touch foo.img
# fallocate -z -l 10M foo.img
# ll foo.img

-rw-r--r-- 1 root root 10485760 ...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1969247

Title:
  fallocate with FALLOC_FL_ZERO_RANGE produces zero-size files on zfs in
  Jammy

To manage notifications about this bug go to:
https://bugs.launchpad.net/zfs/+bug/1969247/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to