gsutil 复制到存储失败

brd*_*ido 5 google-cloud-storage google-compute-engine

我正在 us-central1-a 区域的实例中工作,无法复制 ~200GB 文件。

我试过了 :

  • gsutil -m cp -L my.log my.file gs://my-bucket/
  • gsutil -m cp -L my.second.log my.file gs://my-bucket2/

经过几次“追赶”后,我收到以下错误:

CommandException:某些临时组件未成功上传。请重试此上传。CommandException:无法传输 X 文件/对象。

有什么线索吗?

谢谢

Zac*_*ilt 4

如果 gsutil 的并行复合上传功能无法上传至少一个文件片段,您将看到此消息。

有几个问题...

  1. 看到此消息后,您是否已尝试再次执行此上传?

  2. 如果此错误仍然存​​在,您能否提供堆栈跟踪gsutil -d cp...

如果您始终看到此错误并需要立即修复(如果这是并行上传的错误),您可以parallel_composite_upload_threshold=0GSUtilboto 配置部分中设置以禁用并行上传。