[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
Running 4.5.8-0
Recently plugged in two disks that came from a previous backup appliance. When I go to rescan disks to see if it shows up this error occurs. I am fairly new to rockstor and I am not sure what to make of this error. When moving the disks to a different spot on the backplane it still has the error. I just pulled the two disks and I can hit the rescan button when they are not connected. I thought maybe it didnt like that they were recently added and it did not like me hot swapping the disks in and let it reboot with the drives in. It did not make a difference.
Detailed step by step instructions to reproduce the problem
Only steps are to navigate in the gui, click disks then click the rescan button
Web-UI screenshot
[Drag and drop the image here]
![image|690x319](upload://uirPlK8EEcDb3xhbV
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/sdh’
Disk management is more @phillxnet’s expertise than mine, but let’s see if I can at least help move things along a bit. It would indeed be helpful to see what your system is seeing; would you be able to provide us with the outputs from the following?
Im trying to add two 2tb drives and make another pool but it is not showing up under disks. I meant to add that if I disconnect the two drives I can hit rescan I get no errors. These are known good drives. Am I correct in thinking there isn’t any prep I need to do before adding the disks?
RockstorNAS:~ # btrfs fi show
Label: ‘ROOT’ uuid: ae33ccad-e775-4ca3-b1bc-07c0e993e1e7
Total devices 1 FS bytes used 2.29GiB
devid 1 size 236.41GiB used 3.38GiB path /dev/sdc4
Label: ‘backups’ uuid: 4c05d345-17e2-41f9-96f5-272e4cc06fd8
Total devices 6 FS bytes used 1.12TiB
devid 1 size 839.40GiB used 839.40GiB path /dev/sdf
devid 2 size 839.40GiB used 839.40GiB path /dev/sde
devid 3 size 839.40GiB used 839.40GiB path /dev/sdd
devid 4 size 839.40GiB used 839.40GiB path /dev/sdg
devid 5 size 839.40GiB used 835.40GiB path /dev/sda
devid 6 size 839.40GiB used 835.40GiB path /dev/sdb
Im sorry I had the two disks not plugged in. Did both commands again while the 2 extra drives were plugged in. The 2nd command btrfs fi show did not look any different.
Looks like these 2 disks have, among other things, some ntfs partitions on them (/dev/sdi & /dev/sdi1, and /dev/sdh & /dev/sdh1 to 4)? The VFAT partition listed there I think corresponds to FAT32.
You likely have to clean those up (i.e. wipe the disks) before you can add them. Would make sense to have them as one large partition to deal with on each disk.