In the following EC2 instance types which have SSD drives
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.
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