EC2 EBS device id confusion dev sdf vs dev xvdf

0 votes
I attached an EBS volume to my EC2 instance, turned it into an EXT3 file system, and successfully mounted it. However, I was thrown off a little bit initially mainly due to what the AWS console said my EBS device ID was.

According to the AWS console:

i-xxxxxxx :/dev/sdf (attached)

I took this to mean that my attached EBS device id was /dev/sdf. So when I attempted to turn the device into a file system using this device id, I received the following error message.

ubuntu@ip-xx-xx-xx-xx:~$ mkfs -t ext3 /dev/sdf

mke2fs 1.42 (29-Nov-2011)

Could not stat /dev/sdf --- No such file or directory.

The device does not exist; did you specify it correctly?

Then after researching a little bit, I found this article and then subsequently found out by running cat /proc/partitions that my true device id was /dev/xvdf not /dev/sdf.

My question is why is the AWS console saying it's /dev/sdf when it's actually /dev/xvdf?
Apr 4, 2022 in Others by Kichu
• 19,040 points
1,766 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Others

0 votes
1 answer

Difference between AWS EBS, EC2, S3

S3 vs. Amazon S2 Amazon offers two ...READ MORE

answered Mar 25, 2022 in Others by gaurav
• 23,260 points
730 views
0 votes
0 answers

AWS EC2 Placement Groups: Partition vs Spread

Is there a good comparison table for ...READ MORE

Apr 4, 2022 in Others by Kichu
• 19,040 points
734 views
0 votes
0 answers
0 votes
1 answer

Using/Handling colon inside a JSF generated HTML element ID in CSS selector

Yes, you can.  Just Backslash (\) the colon.  Like ...READ MORE

answered Nov 14, 2018 in Others by DataKing99
• 8,250 points
2,846 views
0 votes
4 answers

Python vs C++

Well C is very old programming language ...READ MORE

answered Apr 3, 2019 in Others by MrBoot
• 1,230 points
2,445 views
+1 vote
3 answers

What do I have to learn to become a software dev/engineer?

Hey, @Josh, Be Clear About Your End Goal. Software ...READ MORE

answered Jun 30, 2020 in Others by Gitika
• 65,770 points
1,442 views
0 votes
1 answer

Backup solutions for AWS EC2 instances

I've been using Skeddly for several months now to ...READ MORE

answered Sep 12, 2018 in AWS by Priyaj
• 58,020 points
673 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP