Here are some excerpt from rockstor.log
[20/Jan/2018 21:15:13] ERROR [storageadmin.middleware:33] Error running a command. cmd = /sbin/btrfs qgroup show . rc = 1. stdout = ['']. stderr = ["ERROR: cannot access '': No such file or directory", '']
Traceback (most recent call last):
File "/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/core/handlers/base.py", line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/views/decorators/csrf.py", line 58, in wrapped_view
return view_func(*args, **kwargs)
File "/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/views/generic/base.py", line 71, 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.8.16-py2.7.egg/django/utils/decorators.py", line 145, in inner
return func(*args, **kwargs)
File "/opt/rockstor/src/rockstor/storageadmin/views/command.py", line 323, in post
import_snapshots(share)
File "/opt/rockstor/src/rockstor/storageadmin/views/share_helpers.py", line 168, in import_snapshots
rusage, eusage = volume_usage(share.pool, snaps_d[s][0])
File "/opt/rockstor/src/rockstor/fs/btrfs.py", line 835, in volume_usage
out, err, rc = run_command(cmd, log=True)
File "/opt/rockstor/src/rockstor/system/osi.py", line 121, in run_command
raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = /sbin/btrfs qgroup show . rc = 1. stdout = ['']. stderr = ["ERROR: cannot access '': No such file or directory", '']
Package upgrade
[21/Jan/2018 15:01:56] ERROR [storageadmin.views.rockon:81] Rockon(Nextcloud) is in pending state but there is no pending or failed task for it.
[21/Jan/2018 15:02:32] ERROR [system.osi:119] non-zero code(1) returned by command: ['/sbin/btrfs', 'qgroup', 'show', '']. output: [''] error: ["ERROR: cannot access '': No such file or directory", '']
[21/Jan/2018 15:02:32] ERROR [storageadmin.middleware:32] Exception occured while processing a request. Path: /api/commands/refresh-snapshot-state method: POST
[21/Jan/2018 15:02:32] ERROR [storageadmin.middleware:33] Error running a command. cmd = /sbin/btrfs qgroup show . rc = 1. stdout = ['']. stderr = ["ERROR: cannot access '': No such file or directory", '']
Traceback (most recent call last):
File "/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/core/handlers/base.py", line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/views/decorators/csrf.py", line 58, in wrapped_view
return view_func(*args, **kwargs)
File "/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/views/generic/base.py", line 71, 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.8.16-py2.7.egg/django/utils/decorators.py", line 145, in inner
return func(*args, **kwargs)
File "/opt/rockstor/src/rockstor/storageadmin/views/command.py", line 323, in post
File "/opt/rockstor/src/rockstor/storageadmin/views/share_helpers.py", line 168, in import_snapshots
logger.debug('Db share entry does not exist - creating.')
File "/opt/rockstor/src/rockstor/fs/btrfs.py", line 835, in volume_usage
raise e
File "/opt/rockstor/src/rockstor/system/osi.py", line 121, in run_command
raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = /sbin/btrfs qgroup show . rc = 1. stdout = ['']. stderr = ["ERROR: cannot access '': No such file or directory", '']
[21/Jan/2018 15:06:01] ERROR [storageadmin.views.rockon:81] Rockon(DuckDNS) is in pending state but there is no pending or failed task for it.
[21/Jan/2018 15:27:36] ERROR [storageadmin.util:44] exception: Failed to reboot the system due to a low level error: Error running a command. cmd = /usr/sbin/shutdown -r now. rc = -15. stdout = ['']. stderr = ['']
Traceback (most recent call last):
File "/opt/rockstor/src/rockstor/storageadmin/views/command.py", line 257, in post
msg = ('Failed to reboot the system due to a low level error: '
File "/opt/rockstor/src/rockstor/system/osi.py", line 1145, in system_reboot
return run_command([SHUTDOWN, '-r', delta])
File "/opt/rockstor/src/rockstor/system/osi.py", line 121, in run_command
raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = /usr/sbin/shutdown -r now. rc = -15. stdout = ['']. stderr = ['']
[21/Jan/2018 15:28:55] ERROR [system.osi:119] non-zero code(1) returned by command: ['/sbin/btrfs', 'qgroup', 'show', '/mnt2/main_pool/Windows_Backups']. output: [''] error: ["ERROR: can't list qgroups: quotas not enabled", '']
########################### LINE ABOVE REPEATED FOR EACH OF MY SHARES AND SNAPSHOTS
Then, I rebooted the machine again using the webUI’s reboot button:
[21/Jan/2018 15:33:52] ERROR [storageadmin.util:44] exception: Failed to reboot the system due to a low level error: Error running a command. cmd = /usr/sbin/shutdown -r now. rc = -15. stdout = ['']. stderr = ['']
Traceback (most recent call last):
File "/opt/rockstor/src/rockstor/storageadmin/views/command.py", line 255, in post
system_reboot(delay)
File "/opt/rockstor/src/rockstor/system/osi.py", line 1145, in system_reboot
return run_command([SHUTDOWN, '-r', delta])
File "/opt/rockstor/src/rockstor/system/osi.py", line 121, in run_command
raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = /usr/sbin/shutdown -r now. rc = -15. stdout = ['']. stderr = ['']
[21/Jan/2018 15:35:10] ERROR [system.osi:119] non-zero code(1) returned by command: ['/sbin/btrfs', 'qgroup', 'show', '/mnt2/main_pool/Windows_Backups']. output: [''] error: ["ERROR: can't list qgroups: quotas not enabled", '']
########################### LINE ABOVE REPEATED FOR EACH OF MY SHARES AND SNAPSHOTS
And then what I believe was after I re-enabled quote through the CLI:
[21/Jan/2018 15:41:46] ERROR [system.osi:119] non-zero code(1) returned by command: ['/sbin/btrfs', 'qgroup', 'assign', '0/1658', '2015/1', '/mnt2//main_pool']. output: [''] error: ['WARNING: quotas may be inconsistent, rescan needed', '
[21/Jan/2018 15:41:47] ERROR [system.osi:119] non-zero code(1) returned by command: ['/sbin/btrfs', 'qgroup', 'assign', '0/3359', '2015/4', '/mnt2//main_pool']. output: [''] error: ['WARNING: quotas may be inconsistent, rescan needed', '
[21/Jan/2018 15:41:47] ERROR [system.osi:119] non-zero code(1) returned by command: ['/sbin/btrfs', 'qgroup', 'assign', '0/1131', '2015/5', '/mnt2//main_pool']. output: [''] error: ['WARNING: quotas may be inconsistent, rescan needed', '
[21/Jan/2018 15:41:47] ERROR [system.osi:119] non-zero code(1) returned by command: ['/sbin/btrfs', 'qgroup', 'assign', '0/258', '2015/6', '/mnt2//main_pool']. output: [''] error: ['WARNING: quotas may be inconsistent, rescan needed', ''
[21/Jan/2018 15:41:47] ERROR [system.osi:119] non-zero code(1) returned by command: ['/sbin/btrfs', 'qgroup', 'assign', '0/668', '2015/7', '/mnt2//main_pool']. output: [''] error: ['WARNING: quotas may be inconsistent, rescan needed', ''
[21/Jan/2018 15:41:48] ERROR [system.osi:119] non-zero code(1) returned by command: ['/sbin/btrfs', 'qgroup', 'assign', '0/413', '2015/10', '/mnt2//main_pool']. output: [''] error: ['WARNING: quotas may be inconsistent, rescan needed', '
[21/Jan/2018 15:41:49] ERROR [system.osi:119] non-zero code(1) returned by command: ['/sbin/btrfs', 'qgroup', 'assign', '0/1472', '2015/13', '/mnt2//main_pool']. output: [''] error: ['WARNING: quotas may be inconsistent, rescan needed',
[21/Jan/2018 15:41:49] ERROR [system.osi:119] non-zero code(1) returned by command: ['/sbin/btrfs', 'qgroup', 'assign', '0/1130', '2015/15', '/mnt2//main_pool']. output: [''] error: ['WARNING: quotas may be inconsistent, rescan needed',
[21/Jan/2018 15:41:49] ERROR [system.osi:119] non-zero code(1) returned by command: ['/sbin/btrfs', 'qgroup', 'assign', '0/1926', '2015/16', '/mnt2//main_pool']. output: [''] error: ['WARNING: quotas may be inconsistent, rescan needed',
[21/Jan/2018 16:09:12] ERROR [system.osi:119] non-zero code(1) returned by command: ['/sbin/btrfs', 'qgroup', 'show', '']. output: [''] error: ["ERROR: cannot access '': No such file or directory", '']
I hope this can prove useful… As you can see, I was already having an error before the upgrade to 3.9.2-11:
[20/Jan/2018 21:15:13] ERROR [storageadmin.middleware:33] Error running a command. cmd = /sbin/btrfs qgroup show . rc = 1. stdout = ['']. stderr = ["ERROR: cannot access '': No such file or directory", '']
Traceback (most recent call last):
File "/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/core/handlers/base.py", line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/views/decorators/csrf.py", line 58, in wrapped_view
return view_func(*args, **kwargs)
File "/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/views/generic/base.py", line 71, 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.8.16-py2.7.egg/django/utils/decorators.py", line 145, in inner
return func(*args, **kwargs)
File "/opt/rockstor/src/rockstor/storageadmin/views/command.py", line 323, in post
import_snapshots(share)
File "/opt/rockstor/src/rockstor/storageadmin/views/share_helpers.py", line 168, in import_snapshots
rusage, eusage = volume_usage(share.pool, snaps_d[s][0])
File "/opt/rockstor/src/rockstor/fs/btrfs.py", line 835, in volume_usage
out, err, rc = run_command(cmd, log=True)
File "/opt/rockstor/src/rockstor/system/osi.py", line 121, in run_command
raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = /sbin/btrfs qgroup show . rc = 1. stdout = ['']. stderr = ["ERROR: cannot access '': No such file or directory", '']
Do you think this will happen again upon reboot?
I hope this will be able to help, let me know if you’d like more info and I’ll do my best.