google compute engine - CoreOS vm disk/partition resize -
anyone know how resize coreos disk/snapshot restored disk properly
i cannot seem find coreos image in
gcloud compute images list
for creating new coreos instance larger disk space
gcloud compute disks create disk1 --source-image=image --size=20gb --zone us-central1-b
i cannot ssh resize core-os snapshot disk, timeout when want connect via ssh
gcloud compute disks create newdisk --source-snapshot=core-os --size=20gb --zone us-central1-b gcloud compute instances create newpc --disk name=newdisk boot=yes --zone us-central1-b gcutil --project=<project-name> ssh --ssh_user=core newpc
the documentation on how repartition disk after snapshot restore available @ [1].
for ssh problem , can see error in serial console output ?
regards paolo
links: [1] - https://developers.google.com/compute/docs/disks#repartitionrootpd
Comments
Post a Comment