You can detach the disk from the VM using the below command:
gcloud compute instances detach-disk my-instance --disk=my-disk --zone us-central1-a
Attached it to any working VM as a secondary disk using the below command:
gcloud compute instances attach-disk example-instance --disk DISK --zone us-central1-a
After mounting the disk you are able to change fstab file. After that detach from this vm again re-attach to original VM.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…