Ah it looks like disabling quotas (which really speeds up a rebalance) breaks rockstor
24/Oct/2016 13:24:54] ERROR [storageadmin.middleware:36] Error running a command. cmd = [’/sbin/btrfs’, ‘qgroup’, ‘show’, ‘/mnt2/Pool1’]. rc = 1. stdout = [’’]. stderr = [“ERROR: can’t perform the search - No such file or directory”, “ERROR: can’t list qgroups: No such file or directory”, ‘’]
Traceback (most recent call last):
File “/opt/rockstor/eggs/Django-1.6.11-py2.7.egg/django/core/handlers/base.py”, line 112, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/opt/rockstor/eggs/Django-1.6.11-py2.7.egg/django/views/decorators/csrf.py”, line 57, in wrapped_view
return view_func(*args, **kwargs)
File “/opt/rockstor/eggs/Django-1.6.11-py2.7.egg/django/views/generic/base.py”, line 69, in view
return self.dispatch(request, *args, **kwargs)
File “/opt/rockstor/eggs/djangorestframework-3.1.1-py2.7.egg/rest_framework/views.py”, line 452, in dispatch
response = self.handle_exception(exc)
File “/opt/rockstor/eggs/djangorestframework-3.1.1-py2.7.egg/rest_framework/views.py”, line 449, in dispatch
response = handler(request, *args, **kwargs)
File “/opt/rockstor/eggs/Django-1.6.11-py2.7.egg/django/db/transaction.py”, line 371, in inner
return func(*args, **kwargs)
File “/opt/rockstor/src/rockstor/storageadmin/views/command.py”, line 263, in post
import_snapshots(share)
File “/opt/rockstor/src/rockstor/storageadmin/views/share_helpers.py”, line 144, in import_snapshots
rusage, eusage = share_usage(share.pool, snaps_d[s][0])
File “/opt/rockstor/src/rockstor/fs/btrfs.py”, line 635, in share_usage
out, err, rc = run_command(cmd, log=True)
File “/opt/rockstor/src/rockstor/system/osi.py”, line 98, in run_command
raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = [’/sbin/btrfs’, ‘qgroup’, ‘show’, ‘/mnt2/Pool1’]. rc = 1. stdout = [’’]. stderr = [“ERROR: can’t perform the search - No such file or directory”, “ERROR: can’t list qgroups: No such file or directory”, ‘’]
[24/Oct/2016 13:24:54] ERROR [smart_manager.data_collector:620] Failed to update snapshot state… exception: [‘Internal Server Error: No JSON object could be decoded’]
[root@BN-NAS1 log]#
Edit: Yep re-enabling quotas fixes it.