Error running a command. cmd cmd = ['/sbin/btrfs', 'filesystem', 'show', '/dev/disk/by-id/sda3']. rc = 1. stdout = ['']. stderr = ['']

[Please complete the below template with details of the problem reported on your Web-UI. Be as detailed as possible. Community members, including developers, shall try and help. Thanks for your time in reporting this issue! We recommend purchasing commercial support for expedited support directly from the developers.]

Brief description of the problem

[write here]

Detailed step by step instructions to reproduce the problem

[new install. setting username and password and this happens. rockstor sees both drives at install but none after install.]

Web-UI screenshot

[Drag and drop the image here]

Error Traceback provided on the Web-UI

[Traceback (most recent call last): File "/opt/rockstor/src/rockstor/rest_framework_custom/generic_view.py", line 40, in _handle_exception yield File "/opt/rockstor/src/rockstor/storageadmin/views/disk.py", line 272, in post return self._update_disk_state() 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/disk.py", line 218, in _update_disk_state p.uuid = btrfs_uuid(dob.name) File "/opt/rockstor/src/rockstor/fs/btrfs.py", line 919, in btrfs_uuid [BTRFS, 'filesystem', 'show', '/dev/disk/by-id/%s' % disk]) File "/opt/rockstor/src/rockstor/system/osi.py", line 104, in run_command raise CommandException(cmd, out, err, rc) CommandException: Error running a command. cmd = ['/sbin/btrfs', 'filesystem', 'show', '/dev/disk/by-id/sda3']. rc = 1. stdout = ['']. stderr = ['']
]

@kyle_williams Welcome to Rockstor.
The errror you have encountered is Rockstor’s current inelegance with dealing with drives with no serial:
It is a pending issue with the documentation:

That rockstor requires drives to have serial number as without them they cannot be reliable tracked. Still an inelegance here but this only happens with system drives having no serial. If the same is found in data drives there is a big red warning but I’m afraid I overlooked system drives having no serial.

Fix is to assign a unique serial to that and all other Rockstor drives.

Please also see:

and:

Referenced in the sighted GitHub issue.

I have added this thread to the same issue so that it might be updated accordingly.

1 Like