EBS Add Partition

1. Add an 8G EBS store

    • Elastic Block Store > Volumes > Create volume

    • Name the volume by adding a tag called "Name"

    • Right click the named volume and attach it to the instance (e.g., as /dev/sdf1)

        • It is important to use /dev/sdf1 and not /dev/sdf. Using only /dev/sdf will limit you to being able to only use /dev/sdf, while /dev/sdf1 will allow you to use sdf1 through sdf15 (or 16?)

    • Log in to the machine and find the new device

2. Connect to this store from within the instance

sudo su - mount_point="/mnt/point" cat /proc/partitions # Compare with df -h [ec2-user@ip-10-0-1-101 ~]$ cat /proc/partitions major minor #blocks name 202 1 8388608 xvda1 202 80 10485760 xvdf device="/dev/xvdf1" mkfs.ext4 "${device}" mkdir -p "${mount_point}" && mount "${device}" "${mount_point}" df -h # Check that it mounted

[Edit]