Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in GCP by (29.3k points)
edited by

Persistent disk is present in read-write mode and i am trying to attach the disk to subsequent instances, GCE returns an error. I need to have a share persistent-disk as frontend to  my compute engine, good, how can we write on this shared disk?

Does this flow can be achieved with 2 Compute Engine VMs and 2 persistent disks?

VM1 read/write disk1 and read only disk2

VM2 read/write disk2 and read only disk1

1 Answer

0 votes
by (50.2k points)

For this case, you can use the below command for persistent volume. That will help you to resolve the issue.

gcloud beta compute disks create DISK_NAME --multi-writer [...]

For more details, refer to the below tutorial on Google Cloud Training.

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...