Traceback (most recent call last):
File “/opt/rockstor/src/rockstor/rest_framework_custom/generic_view.py”, line 41, in _handle_exception
yield
File “/opt/rockstor/src/rockstor/storageadmin/views/snapshot.py”, line 177, in post
ret = self._create(
^^^^^^^^^^^^^
File “/usr/lib64/python3.11/contextlib.py”, line 81, in inner
return func(*args, **kwds)
^^^^^^^^^^^^^^^^^^^
File “/opt/rockstor/src/rockstor/storageadmin/views/snapshot.py”, line 141, in _create
qgroup_assign(qgroup_id, share.pqgroup, share.pool.mnt_pt)
File “/opt/rockstor/src/rockstor/fs/btrfs.py”, line 1632, in qgroup_assign
raise e
File “/opt/rockstor/src/rockstor/fs/btrfs.py”, line 1580, in qgroup_assign
run_command([BTRFS, “qgroup”, “assign”, qid, pqid, mnt_pt], log=False)
File “/opt/rockstor/src/rockstor/system/osi.py”, line 289, in run_command
raise CommandException(cmd, out, err, rc)
system.exceptions.CommandException: Error running a command. cmd = /usr/sbin/btrfs qgroup assign 0/260 2015/12 /mnt2/Data-Disk. rc = 1. stdout = [‘’]. stderr = [‘ERROR: unable to assign quota group: File exists’, ‘’]
I think i have done something wrong :D
But what
Hooverdan
(Dan W.)
September 15, 2024, 6:22pm
2
There was a short thread some time ago with a similar symptom:
@acd Hello again.
Could you say what version of Rockstor you are experiencing this with.
Note that we don’t currently enforce share sizes so the Web-UI indication of a share size is basically a cosmetic currently. There were early quota maturity issues that have mostly now gone I believe so we can re-address this enforcement in time. But currently we have some more pressing issues that are taking the majority of development time available unfortunately.
You could try, in the mean time, just …
Were you trying to resize a share or during which action did this error occur?
2 Likes
phillxnet
(Philip Guyton)
September 16, 2024, 8:28am
3
@mickaelMelander Welcome to the Rockstor community forum,
As @Hooverdan indicated, we have seen this before. But I’m pretty sure that since it came up again more recently here:
When I try to resize share …
Created on: June 18th 2024, 6:19:00 pm
Pool (Active mount options / Status): Data-2 (rw,relatime,discard=async,space_cache=v2,subvolid=5,subvol=/)
Pool Quotas: Enabled
Active mount options / Status: rw,relatime,discard=async,space_cache=v2,subvolid=263,subvol=/music
I get error
Error running a command. cmd = /usr/sbin/btrfs qgroup assign 0/263 2015/7 /mnt2/Data-2. rc = 1. stdout = [‘’]. stderr = [‘ERROR: unable to assign quota group: File exists’, ‘’]
Tracebac…
We have identified the main cause and released the fix in 5.0.13-0 (RC8), with @Stevek confirming the fix for their install at least. This pertained to imported pools only.
Hope that helps
1 Like