Mounting EBS volume to AWS ec2

  1. Stop an instance and detach the volume
  2. Attach the volume to another instance
  3. Mount the volume with commands below

 

 

sudo mkdir -m 000 /vol
sudo mount /dev/xvdf1 /vol -t ext4

 

Leave a Reply

Your email address will not be published. Required fields are marked *