-
-
Notifications
You must be signed in to change notification settings - Fork 234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
volume size/usage not reported #1530
Comments
Can you show |
|
This made me look into my setup as well, and it's the same:
|
I'm investigating the issue and found this: # Default storage. Default pool is a LVM driver
$ curl --unix-socket /var/lib/incus/unix.socket incus/1.0/storage-pools/default/volumes/container/u1/state | jq .
{
...,
"metadata": {
"usage": {
"used": 613330944,
"total": 0
}
}
}
# "Secondary" storage. PoolB is a dir driver
$ curl --unix-socket /var/lib/incus/unix.socket incus/1.0/storage-pools/poolB/volumes/container/u2/state | jq .
{
...
"metadata": {
"usage": null
}
} maybe a problem when fetching the usage from the database or when saving the state? |
For a container on a dir storage backend, that's normal, unless you've configured your filesystem to use project quotas (filesystem feature supported by xfs and ext4 but needing offline configuration). We need the underlying filesystem to be able to give us usage data for a full tree which isn't normally possible for the dir backend. |
Required information
Issue description
Incus reports no size for some volumes (only the ones in a "secondary" pool I have, whatever that means for incus). No usage is shown by
incus storage volume
list
norinfo
. Compare forlist
:Both pools use btrfs backend.
Let me know if more infos are needed and thanks for your support.
The text was updated successfully, but these errors were encountered: