AWS - EBS Attached But Can't Find On Instance

Viewed 9567

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 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.

3 Answers
  1. Use lsblk | grep disk to list all the volumes that are available.
  2. You should be able to spot the EBS volume that is available and not mounted. For example, nvme1n1 259:2 0 3.9T 0 disk.
  3. You should have /dev/nvme1n1 available.
  4. Create a mount-point, if need. For example, # mkdir /my_ebs
  5. Mount the EBS volume. # mount /dev/nvme1n1 /my_ebs
  6. df should list it now.

Enjoy!

Related