ec2 ami device mapping

Posted by hortitude on Server Fault See other posts from Server Fault or by hortitude
Published on 2012-11-05T21:44:42Z Indexed on 2012/11/05 23:04 UTC
Read the original article Hit count: 247

Filed under:

I have large ec2 Ubuntu image and I'm just looking through the devices.

I noticed from the metadata that

%  curl http://169.254.169.254/latest/meta-data/block-device-mapping/ami
sda1
%  curl http://169.254.169.254/latest/meta-data/block-device-mapping/ephemeral0
sdb

However when I look what is actually mounted there is /dev/xvda1 and /dev/xvdb (and there is no /dev/sd* )

I know that both names look somewhat valid from the AWS documentation, but it looks to me from this like there is a mismatch in the instance metadata and what is actually on the machine.

Why don't they match?

© Server Fault or respective owner

Related posts about amazon-web-services