Interestingly, the command run in the container by the storage provisioner is:
fallocate -l 1024MiB /var/lib/juju/storage/loop/volume-0-0"
But if one uses:
fallocate -x -l 1024MiB /var/lib/juju/storage/loop/volume-0-0
then it works.
From fallocate help:
-x, --posix use posix_fallocate(3) instead of fallocate(2)
Interestingly, the command run in the container by the storage provisioner is:
fallocate -l 1024MiB /var/lib/ juju/storage/ loop/volume- 0-0"
But if one uses:
fallocate -x -l 1024MiB /var/lib/ juju/storage/ loop/volume- 0-0
then it works.
From fallocate help:
-x, --posix use posix_fallocate(3) instead of fallocate(2)