Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SSD drives not accessible in EC2 ubuntu Instances

In the following EC2 instance types which have SSD drives

  • r3.2xlarge
  • r3.4xlarge
  • i2.xlarge

When I login through SSH, I am unable to see the SSD drives. I was trying "df -h".

I have tried

  • reboot, but that did not help.
  • tried to terminate and create a new instance that also does not help. Suggesting that its not one-off issue.
like image 458
sandeepkunkunuru Avatar asked Apr 15 '14 19:04

sandeepkunkunuru


People also ask

Does EC2 use SSD?

You can't make an instance store volume available after you launch the instance. For more information, see Add instance store volumes to your EC2 instance. Some instance types use NVMe or SATA-based solid state drives (SSD) to deliver high random I/O performance.

Why can't I access my EC2 instance?

Verify that your instance is ready Check your instance to make sure it is running and has passed its status checks. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/ . In the navigation pane, choose Instances, and then select your instance.


1 Answers

I found one solution by trying the steps suggested for adding EBS volumes to Ubuntu instnaces

Below are my steps:

  • sudo mkfs.ext4 /dev/xvdb
  • sudo mkdir -m 000 /mnt # isnt required if /mnt exists.
  • echo "/dev/xvdb /mnt auto noatime 0 0" | sudo tee -a /etc/fstab
  • sudo mount /mnt
like image 100
sandeepkunkunuru Avatar answered Sep 26 '22 07:09

sandeepkunkunuru