【问题标题】:Google Cloud Platform - Final exception: b'[Errno 28] No space left on device') for download ofGoogle Cloud Platform - 最终例外:b'[Errno 28] No space left on device') 用于下载
【发布时间】:2021-02-26 17:57:39
【问题描述】:

我正在尝试从 Google Cloud Platform 下载备份。

我得到这个错误:

当我尝试这个获取空间信息时,我得到了这个:

我需要下载大约 250GB 的数据。 我有什么?

【问题讨论】:

  • CloudShell 提供 5 GB 容器。您无法下载 250 GB。使用您的台式计算机或启动具有至少 250 GB 磁盘的 Compute Engine 实例。
  • 我该如何做备份?一些假人手册?

标签: python google-cloud-platform


【解决方案1】:

正如John Hanley 评论的那样:

CloudShell 提供 5 GB 的容器。您无法下载 250 GB。使用您的台式计算机或启动具有至少 250 GB 磁盘的 Compute Engine 实例。

您可以清楚地看到/home 目录的大小 - 它是 4.8GB。

看看Cloud Shell documentation

确保您要下载备份的计算机磁盘上有足够的空间。

您可以找到有关downloading Google Takeout backups in this stack question的更多详细信息。

转到G Suite Customer Takeout,点击“访问存档”并找到存储桶ID。就我而言,此 ID 的格式为 takeout-export-123456abcdef-123456abcedf

现在列出存储桶的内容,并使用 rsync 递归下载:

# ./gsutil ls gs://takeout-export-123456abcdef-123456abcedf
# ./gsutil rsync -r takeout-export-123456abcdef-123456abcedf /tmp

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2023-03-19
    • 2019-01-30
    • 2016-10-05
    • 1970-01-01
    • 2016-11-28
    • 2020-04-02
    • 2020-01-18
    相关资源
    最近更新 更多