Scenario
OceanStor 5300 V3 2 U controller enclosure with 12 disk slots was configured through DeviceManager. A disk domain is created containing all the 12 disks installed in the storage. Subsequently, storage pool, LUN and LUN Group were configured. A fully configured RH2288 V3 with Windows OS is connected to the OceanStor 5300 V3. Host was created after automatically scanning the connected server. The mapping was provisioned between the server and storage.
A laptop is connected to the switch on which both the server and storage are connected. SmartKit was run to test the Parts Replacement function for storage, specifically Hard disk replacement. Since the SmartKit sees that all disks are normal, there is no replaceable disk. But a normal hard disk can be manually assigned as faulty. One of the disks configured in the storage was assigned as faulty so the SmartKit asked this disk to be replaced. After removing and reinserting the disk, the disk remained to be faulty eventhough it is normal. Tranferring it to other hard disk slots and changing its slots with other hard disks do not solve the issue and it remains faulty. Rebooting the storage does not also bring it back to normal.
Solution
There was an alarm generated in the OceanStor DeviceManager after the disk was assigned as faulty. The alarm says that the hot spare space is insufficient. This is because all of the storage resources under the 12 disks were all previously under used capacity. After the disk was assigned faulty, the storage capacity became insufficient and recontruction cannot take place due to insufficient hot spare.
In order for the storage to see the disk as normal again, all the configurations provisioned which includes this disk must be redone. The mapping must be removed, followed by the lun group, lun, storage pool and disk domain.
Therefore, only after removing the disk domain under which the disk assigned as faulty is included will the storage recognize it again as normal. You can run SmartKit again and do Health Check to see the results.
Thank you for reading, feel free to share your thoughts and suggestions.