Skip to content
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

Cannot delete empty containers on dir backend on xfs #493

Closed
tych0 opened this issue Feb 14, 2024 · 2 comments · Fixed by #502
Closed

Cannot delete empty containers on dir backend on xfs #493

tych0 opened this issue Feb 14, 2024 · 2 comments · Fixed by #502
Assignees
Labels
Bug Confirmed to be a bug
Milestone

Comments

@tych0
Copy link
Member

tych0 commented Feb 14, 2024

# incus config show foo
architecture: x86_64
config:
  volatile.apply_template: create
  volatile.cloud-init.instance-id: 973000df-c58f-4d41-9bfa-337b9ed59fad
  volatile.idmap.base: "0"
  volatile.idmap.next: '[{"Isuid":true,"Isgid":false,"Hostid":100000,"Nsid":0,"Maprange":1000000000},{"Isuid":false,"Isgid":true,"Hostid":100000,"Nsid":0,"Maprange":1000000000}]'
  volatile.last_state.idmap: '[]'
  volatile.uuid: 280f5eed-3b12-48c8-a1c6-6c3671c7e432
  volatile.uuid.generation: 280f5eed-3b12-48c8-a1c6-6c3671c7e432
devices: {}
ephemeral: false
profiles:
- default
stateful: false
description: ""

# incus delete foo
Error: Failed deleting instance "foo" in project "default": Error deleting storage volume: Failed to set project quota for ID "10004" on "/dev/nvme1n1"
@stgraber stgraber added the Bug Confirmed to be a bug label Feb 14, 2024
@stgraber stgraber added this to the incus-0.6 milestone Feb 14, 2024
@stgraber stgraber self-assigned this Feb 16, 2024
@stgraber
Copy link
Member

root@v1:~# incus create --empty foo
Creating foo
root@v1:~# stat -f /var/lib/incus/containers/foo/
  File: "/var/lib/incus/containers/foo/"
    ID: 81000000000 Namelen: 255     Type: xfs
Block size: 4096       Fundamental block size: 4096
Blocks: Total: 5226496    Free: 5181763    Available: 5181763
Inodes: Total: 10485760   Free: 10485747
root@v1:~# incus delete foo
root@v1:~# 

@stgraber
Copy link
Member

Okay, I get the issue once prjquota is enabled on the xfs mount

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Confirmed to be a bug
Development

Successfully merging a pull request may close this issue.

2 participants