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', '']

        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

There was a short thread some time ago with a similar symptom:

Were you trying to resize a share or during which action did this error occur?

2 Likes

@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:

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