Brief description of the problem
Changing hard drive by GUI seems not to be working. This is necessary to resell the rockstor solution to customers.
Detailed step by step instructions to reproduce the problem
As a test I detached one of the two disks in my raid 1 array, rebooted and deleted de deattached disk form. Then I shut down the system, added a new disk and booted up, whiped the new disk in storage → disks. By adding the new disk to the existing RAID 1 pool I got the error as shown below. I also tried to reattach the disk unformatted, but it didn’t got better.
Web-UI screenshot
r
Error Traceback provided on the Web-UI
On top (in the pink area)
Error running a command. cmd = [‘/bin/mount’, ‘/dev/disk/by-label/rsdata’, ‘/mnt2/rsdata’, ‘-o’, ‘,
compress=lzo’]. rc = 32. stdout = [‘’]. stderr = [‘mount: wrong fs type, bad option, bad superblock on /dev/sdb,
‘, ’ missing codepage or helper program, or other error’, ‘’, ’ In some cases useful info is found in syslog - try’,
’ dmesg | tail or so.', ‘’]
Detail
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/pool.py”, line 363, in put
resize_pool(pool, dnames)
File “/opt/rockstor/src/rockstor/fs/btrfs.py”, line 183, in resize_pool
root_mnt_pt = mount_root(pool)
File “/opt/rockstor/src/rockstor/fs/btrfs.py”, line 238, in mount_root
run_command(mnt_cmd)
File “/opt/rockstor/src/rockstor/system/osi.py”, line 109, in run_command
raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = [‘/bin/mount’, ‘/dev/disk/by-label/rsdata’, ‘/mnt2/rsdata’, ‘-o’, ‘,compress=lzo’]. rc = 32. stdout = [‘’]. stderr = [‘mount: wrong fs type, bad option, bad superblock on /dev/sdb,’, ’ missing codepage or helper program, or other error’, ‘’, ’ In some cases useful info is found in syslog - try’, ’ dmesg | tail or so.', ‘’]
In advance thanks for your reaction.