I have tried to ssh to my Compute Engine instance but it shows me this warning:
You cannot connect to the VM instance because of an unexpected error. Wait a few moments and then try again.
See troubleshooting docs.
I have also set the IAP rule.
the instance worked before, but the disk is became full and i increase the disk space and tried to boot the instance, so it kept showing that response
Hello dev-morino,
As stated in this stackoverflow post:
Since there is no space left on the device, the resized boot disk is not recognized.> > I would suggest to:> > 1. Create a snapshot from the affected disk.> 1. Create an additional disk using the created snapshot> 1. After creating the disk from the snapshot, attach it to an another working Linux VM Instance “instance-1” for example, as additional disk, not as the boot disk> 1. Then mount the attached disk to a specific directory.> 1. After mounting, You need to free up some space from the mounted disk, to have space for the services needed to recognize the resizing of the disk.> 1. After freeing up some space, you need to re-attach the disk as the boot disk to test if you had regain control of the VM Instance.
Thanks
1 Like
Does that cause to lose data by any chance?