Questions tagged [google-compute-disk]
11 questions
1
vote
1 answer
How to back-up local SSD in Google Cloud Platform
Local SSDs are the fastest storage available in Google Cloud Platform, which makes it clear why people would want to use it. But it comes with some severe drawbacks, most notably that all data on the SSDs will be lost if the VM is shut down…

LemmeTestThat
- 498
- 7
- 17
0
votes
1 answer
GCP persistent disk size reduction without weresync
I wanted to shrink the GCP persistent disk size 100GB disk to 40 GB.
So I added a new 40 GB disk and made it ext4 format using sudo mkfs.ext4 /dev/sdb and copied all the files from the main disk sda1 to sdb1 using sudo rsync -avxHAX --info=progress2…

Abhinav Varma
- 1
- 2
0
votes
0 answers
GCE create an instances from iso file
I'm trying to create an instance with the custom image.
First, I found that the
gcloud compute instances import command can create VM with the OVA file.
But I would like to create with ISO. Is there any approach to get it done? I read the doc, and…

Tim Chiang
- 374
- 1
- 10
0
votes
2 answers
GCP Compute Disks - Understanding the clone limit
I'm confused by this limitation on disk cloning. Earlier on, it says You can also delete the source disk without any risk of deleting the clone. The ability to clone disks is useful for duplicating production data to debug without disturbing…

Beweeted
- 319
- 2
- 7
0
votes
2 answers
Set up zonal persistent disk - Google Compute Engine
I am running a JupyterHub server on a Google Cloud Compute instance and recently had an issue where I ran out of hard drive space, which caused the JupyterHub server to seize up with 500 errors etc. I should mention that I am using The Littlest…

Jack Power
- 303
- 1
- 3
- 14
0
votes
1 answer
How can I put files into a persistent disk before starting up a VM that relies on data in the disk?
I have a VM that requires access to some credential files. I'd like these credential files to exist within a standard persistent disk that is mounted to the VM. These files need to exist when the container in the VM starts. If they do not, the…

cilphex
- 6,006
- 6
- 34
- 44
0
votes
2 answers
What's the equivalent to shared Docker volumes in GCE?
When developing with containers locally, docker-compose lets you create shared volumes that all of your containers can access. You can easily drop small credential files onto these volumes from one container, and have another container use them.
I'm…

cilphex
- 6,006
- 6
- 34
- 44
0
votes
1 answer
In Compute Engine, my volume mount is not accessible at the specified mount path
I am trying to figure out how mounts work in GCE with a hello-world program. I have an existing image and when I create a VM instance in GCE, I select this existing image. For the command, I enter echo with the argument "hello world". When the VM…

cilphex
- 6,006
- 6
- 34
- 44
0
votes
1 answer
Increasing the disk size that docker can access in Container Optimized OS
I am attempting to run a simple daily batch script that can run for some hours, after which it will send the data it generated and shut down the instance. To achieve that, I have put the following into user-data:
users:
- name: cloudservice
…

Paddie
- 611
- 1
- 8
- 15
0
votes
1 answer
Risk of disk corruption when using a persistent google cloud disk with a preemptible google compute instance?
I'd like to use preemptible google compute instance to save money, and persist data using a persistent disk that is attached to the instance. But I'm concerned about the risk of data corruption as outlined in the detach-disk documentation, because…

skeller88
- 4,276
- 1
- 32
- 34
-4
votes
1 answer
Compute engine VM instance create with container + SSD
In the SSD guide https://cloud.google.com/compute/docs/disks/add-local-ssd#gcloud I need to perform some operations in the host to format the SSD. How can I do it if I immediately launch a container?

Lior Paz
- 65
- 5