Wednesday, October 5, 2022

[SOLVED] AWS - EBS Attached But Can't Find On Instance

Issue

I am pretty new to Amazon Web Services. I made my first EBS volume (through both the command line and the AWS web app) and attached it to a running instance at /dev/sdh as href="http://aws.amazon.com/articles/1663" rel="noreferrer">seen here. The web app shows me that it has been successfully attached to the instance. However, the folder /dev/sdh does not show up on the instance, nor does df -h reveal that it is there. What else do I need to do?

I am not sure if this helps, but the instance is an Ubuntu 11.04 Large.


Solution

Not sure if it will be the reason in your case, but we found a similar problem while integrating Fedora images in our infrastructure for BitNami Cloud Hosting.

Some kernels use /dev/xvd* instead of /dev/sd*. In your case, if you have attached the volume with device name /dev/sdh it would appear as /dev/xvdh in the machine.

I hope it helps.



Answered By - Carlos SM
Answer Checked By - Candace Johnson (WPSolving Volunteer)