HomeStore
HomeStore copied to clipboard
Support cases where homestore started with bad drive disappearing
With the revised Device Manager, we support partial boot up, as in even if one of the drives are unreadable or some regions are unreadable, we can still recover other parts of HomeStore.
But there is one restriction we put in where if a physical device has completely disappeared, we will fail to startup if it doesn't match the list of drives already during formatting.
However, @xiaoxichen noted that if a bad drive upon next startup, the HBA could mark it as not ready and doesn't show up at all. The open of the device could fail or enumeration of the devices could miss this bad drive and homestore will not start.
Task is to analyze the drives behavior and also see if we can identify and start homestore.
the logic is added in #405 , will add a ut to cover these cases