Tuesday, 19 May 2015

How to attach EBS volume available for use on Linux

Step 1

[ec2-user ~]$ lsblk
NAME  MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
xvdf  202:80   0  100G  0 disk
xvda1 202:1    0    8G  0 disk /

Step 2

mkdir /data

Step 3

mount /dev/xvda1  /data

No comments:

Post a Comment