HomeStore icon indicating copy to clipboard operation
HomeStore copied to clipboard

Support cases where homestore started with bad drive disappearing

Open hkadayam opened this issue 1 year ago • 1 comments

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.

hkadayam avatar Aug 31 '23 14:08 hkadayam

the logic is added in #405 , will add a ut to cover these cases

JacksonYao287 avatar May 14 '24 02:05 JacksonYao287