EC2 instance failing status check due to full disk

0

I have an Ubuntu instance created from a marketplace AMI, and it's failing status checks after a reboot. System logs show this:

[ 99.747391] cloud-init[864]: OSError: [Errno 28] No space left on device [FAILED] Failed to start Initial cloud-init job (metadata service crawler). See 'systemctl status cloud-init.service' for details.

I increased the volume size, but it seems to be failing before it gets to the point where it's able to extend the filesystem. I don't have a password-enabled user, so I can't use the serial console. I spun up a temporary instance and tried to mount the root volume as a secondary volume, but got an error because it's from a marketplace AMI. I launched a new instance from the same AMI, but am still unable to mount it. Do I have any other options?

已提問 1 年前檢視次數 283 次
1 個回答
0

The instance you are attaching the full volume must be in stopped state according to Attach an Amazon EBS volume to an instance.

profile pictureAWS
專家
kentrad
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南