My mounted EBS volume is not showing up

Question:

Trying to mount a 384G volume from old instance to a newly configure instance (8G). Attached 384G volume shows up on lsblk but on df -h it doesn’t come up at all. What am I doing wrong?

Note: On EC2 instance dashboard it displays

Root device: /dev/sda1
Block devices: /dev/sda1 /dev/sdf

Answer:

The df -k will only show mounted volumes.
You will need to mount your volume first, like this mount /dev/xvdf /mnt then you will be able to access it’s content from /mnt and see it when typing df -k

Leave a Reply