Can not change root size by sudo lxc config device set

I try to config a VM on my server which i do alot. this time i have a strange problem. firstly : i can see no root size when i chack my VM’s config by : sudo lxc config show <vm name>.
secondly: i try to set root size for it, but i face with this error:

_❯ sudo lxc config device set builder root size=500GB
Error: Failed to update device "root": Failed to run: btrfs qgroup create 0/257 /var/lib/lxd/storage-pools/builder/virtual-machines/builder: exit status 1 (ERROR: unable to create quota group: File exists)_

i deactivate btrfs quota by : sudo btrfs quota disable
but the problem still exist.

i would be thankful if you can help me

You would use lxc config device override containernamehere root size=300TiB , if there is no size defined for it, yet.

I get this error :
Error: The device already exists

Then you can use lxc config device set ... instead if the device is already part of the instance’s config.

What host OS are you using?

It sounds like you could be affected by a BTRFS upstream change:

Thanks for the reply,
i already tried config device set and it didn’t work too.
i am using Arch-linux.
my problem can be related to the ticket that you mention here. i have nothing in
/var/lib/lxd/storage-pools/builder/images directory.