void verifyDiskHealth() throws StoreException {
    Set<DiskId> failedDiskIds = maybeRestoreDiskAvailability();
    for (Map.Entry<DiskId, DiskManager> entry : diskToDiskManager.entrySet()) {
      if (!entry.getValue().isRunning()) {
        failedDiskIds.add(entry.getKey());
      }
    }
    int failedDisks = failedDiskIds.size();
    if (tooManyFailedDisks(failedDisks)) {
      logger.error("Failed disks are {}", failedDisks);
      throw new StoreException("More than enough disks failed", StoreErrorCodes.InitializationError);
    }
  }
Verify that the disks are over all healthy.
@throws StoreException
ambry-store/src/main/java/com/github/ambry/store/StorageManager.java