private boolean stopLocalStore(AmbryPartition partition) {
    Store store = storageManager.getStore(partition, true);
    try {
      // Don't remove the partition from disk, leave it behind for debugging
      boolean ret = storageManager.shutdownBlobStore(partition);
      logger.info("[BackupIntegrityMonitor] Stopped Store [{}]", store);
      return ret;
    } catch (Throwable e) {
      metrics.backupCheckerRuntimeError.inc();
      logger.error(String.format("[BackupIntegrityMonitor] Failed to stop Store [%s]", store));
      return false;
    }
  }
Create local replica L to store cloud data
It will be at least as big as the largest replica of the partition on a server.
Cloud replica will usually be smaller than server replica, unless server disk has a problem or is compacted.
ambry-cloud/src/main/java/com/github/ambry/cloud/BackupIntegrityMonitor.java