Comment 2 for bug 1799989

Revision history for this message
Joseph Phillips (manadart) wrote :

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)