Brief description of the problem
I was having write protection error and most of my disk that was previously used with Truenas.
I did not want to troubleshoot the disk in Rockstor. So I prepare the removal but deleting the share, deleted a pool and remove the associated disk.
I checked the disk in my window server and there was no write-protection on any of the disk.
I inserted the disk back to Rockstor.And now it does not recognised the disk or any other disk.
I tried a reboot and disk rescan.
Every time I rescan I get the error bellow.
Detailed step by step instructions to reproduce the problem
Deleted a pool and remove the associated disk.
Now it does not recognised the disk or any other disk.
I tried a reboot and disk rescan.
Web-UI screenshot
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 520, in post
return self._update_disk_state()
File "/opt/rockstor/.venv/lib/python2.7/site-packages/django/utils/decorators.py", line 185, in inner
return func(*args, **kwargs)
File "/opt/rockstor/src/rockstor/storageadmin/views/disk.py", line 375, in _update_disk_state
p_info = dev_pool_info[dev_name]
KeyError: '/dev/sdat'
3 posts - 2 participants