Instance reachability check failed

0

Despite multiple attempts to resolve the issue, I am still unable to access our Linux EC2 instance. I have restarted the instance several times including stopping/starting and checked the system logs, which is blank. Additionally, my efforts to access the instance using the serial console connection have been unsuccessful because it's also a black screen. I've also tried restoring the instance using backup AMIs and different snapshots, but I encounter the same issue each time. Unable to use Ec2Rescue as I am unable to mount the root volume. Error says "mount: /mnt/xfs_mount: wrong fs type, bad option, bad superblock on /dev/nvme2n1p2, missing codepage or helper program, or other error." I am mounting as XFS

sudo mount /dev/nvme2n1p2 /mnt/xfs_mount Also tried mount -t xfs /dev/nvme2n1p2 /mnt/xfs_mount

Unsure how to troubleshoot without anything appearing in the system log and no serial console access.

질문됨 한 달 전83회 조회
1개 답변
0

Hello.

I think that the EBS volume UUID is probably duplicated and the mounting is failing.
EBS snapshots create identical copies block by block, so if you use EC2 using the same AMI, the UUIDs may match.
https://docs.aws.amazon.com/ebs/latest/userguide/ebs-snapshots.html#how_snapshots_work

So, when mounting, try running the command with the "-o nouuid" option as shown below.
https://repost.aws/knowledge-center/ebs-mount-volume-issues

mount -t xfs -o nouuid /dev/nvme2n1p2 /mnt/xfs_mount

If the mounting is successful, you can check the system logs etc. inside the EBS volume, so you can continue troubleshooting.

profile picture
전문가
답변함 한 달 전
profile pictureAWS
전문가
검토됨 한 달 전
  • I successfully mounted the volume, but I noticed that it contains the same files as the working instance. It seems like I've replicated the drive from the instance I'm using for testing. I've double-checked, and the volume I mounted is indeed from the non-working instance. I've also attached other volumes, but they exhibit the same behavior.

  • Is the device name "/dev/nvme2n1p2" correct?

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠