Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

I noticed from the metadata that

%  curl
%  curl

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?

share|improve this question

If you do an ls -la in /dev you'll see that sda1 links to xvda1

$ ls -la sd*
lrwxrwxrwx 1 root root 5 Oct 26 15:54 sda1 -> xvda1
share|improve this answer
Small note: on recently launched instances [at least mine] there are no symlinks. – sandstrom Jul 5 '14 at 16:58

Newer kernels are making these devices (at least under Xen virtualization) appear with names xvdN instead of sdN. Everyone has adapted.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.