【问题标题】:How do I create a Google Cloud VM instance with an ext4 filesystem?如何使用 ext4 文件系统创建 Google Cloud VM 实例?
【发布时间】:2021-05-26 02:17:25
【问题描述】:

我通过 Compute Engine -> VM 实例创建了一个 CentOS 7 VM 实例,它默认带有 xfs。我从this page 看到 Google Cloud 支持 ext4,但是在创建 VM 实例时我没有看到任何指定它的选项。有可能吗?

【问题讨论】:

  • 这能回答你的问题吗? Automate GCP persistent disk initialization
  • @Asdfg - 您的链接未提供有关如何使用 ext4 创建引导盘的信息。 Google Compute Engine 映像是预配置系统的“块”映像。这意味着您不能更改/指定/修改启动映像的文件系统。

标签: google-cloud-platform


【解决方案1】:

您分享的文档是针对 COS 的,而不是针对 CentOS 或任何其他操作系统的。特别是您可以set ext4 for additional disks 附加到您的虚拟机,但不能附加到启动磁盘。

所以简短的回答是否定的。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2022-06-30
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-04-30
    • 2021-12-21
    相关资源
    最近更新 更多