[英]How to detach a disk in a Google Cloud TPU VM instance?
I created a TPU-VM instance (not a normal compute instance) and attach an external disk to it using this command:我创建了一个 TPU-VM 实例(不是普通的计算实例)并使用以下命令将外部磁盘附加到它:
gcloud alpha compute tpus tpu-vm create TPU-VM-NAME \
--zone=europe-west4-a \
--accelerator-type=v3-8 \
--version=v2-alpha \
--data-disk source=[PATH/TO/DISK]
Now I want to detach that disk from the TPU-VM but I cannot find the instance in the VM instances tab in the Google cloud console (They treated it as a TPU instance so it's not listed there).现在我想将该磁盘与 TPU-VM 分离,但在 Google 云控制台的 VM 实例选项卡中找不到该实例(他们将其视为 TPU 实例,因此未在此处列出)。 I can only find it in the TPUs tab, but in the TPUs tab I cannot edit the disk out of the instance.
我只能在 TPUs 选项卡中找到它,但在 TPUs 选项卡中我无法编辑实例之外的磁盘。
I tried using this command too but it doesn't work:我也尝试使用此命令,但它不起作用:
gcloud compute instances detach-disk INSTANCE-NAME --disk=DISK-NAME
It says that resource (projects/project-name/zone/instances/tpu-vm-name) was not found.它说没有找到资源 (projects/project-name/zone/instances/tpu-vm-name)。
目前不支持为 TPU VM 架构分离磁盘。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.