Add EBS to Ubuntu EC2 Instance [persistent]

By polfilm,

  Filed under: AWS, Cloud File System, Ubuntu
  Comments: None

sudo mkfs.ext4 /dev/xvdc
sudo mkdir -m 000 /mnt/data1
echo "/dev/xvdc /mnt/data1 auto noatime 0 0" | sudo tee -a /etc/fstab
sudo mount /mnt/data1

Be the first to write a comment.

Your feedback

You must be logged in to post a comment.