Error running a command. cmd

[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

[write here]

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 41, in _handle_exception yield File "/opt/rockstor/src/rockstor/storageadmin/views/disk.py", line 320, in post return self._update_disk_state() 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/disk.py", line 265, in _update_disk_state p.uuid = btrfs_uuid(dob.name) File "/opt/rockstor/src/rockstor/fs/btrfs.py", line 1000, in btrfs_uuid [BTRFS, 'filesystem', 'show', '/dev/disk/by-id/%s' % disk]) File "/opt/rockstor/src/rockstor/system/osi.py", line 110, 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 = ['ERROR: not a valid btrfs filesystem: /dev/disk/by-id/sda3', '']

@Cata_Lin Welcome to the Rockstor community.

This error is caused by your system disk having no serial number. Look to your hyper visor / Virtual machine configuration and make sure that you have a unique serial for each device. All real (non VM) drives have serial numbers and Rockstor uses these to track the drives. This is a recent inelegance introduced by me I’m afraid and I intend to improve the error messaging once I’m done with my current issues.

We do have a doc issue open to address this requirement:

Hope that helps.