EBS Disk is full

0

We are almost running out of 16 TiB space on a EBS disk. The application can only mount to a single mount. For example: lets call it as app We don't want to change the instance type. I was wondering if you could suggest how we can solve this?

Would it be ideal to add another EBS disk, move some of the old data to the new disk and then make symlinks on the old EBS volume to the moved data on the new EBS volume?

Thanks

profile picture
Sri
asked 2 years ago643 views
3 Answers
1
Accepted Answer

I'm assuming that the application can only deal with one directory instead of one mount. Something like:

/data - 16TB Volume

Where something like this would not work:

/data - 16TB Volume
/data2 - 16TB Volume

How about mounting the volumes in this manner:

/data/current - 16TB Volume
/data/old - 16TB Volume

You could also look at using Amazon EFS.

profile pictureAWS
EXPERT
kentrad
answered 2 years ago
  • Thank you. Our application can't cater /data/current and /data/old. The data is stored under /data/yyyy/mm and we can't mount 2 mount points as we need a single mount point EFS would cause performance issues, So EBS would be the correct choice.

  • But the application does not mount the volumes, it is only dealing with paths into the file system, right? So, you could have each /data/yyyy mounted with a different volume. The application traversing the directory would be unaware that these are multiple volumes. It would be pretty easy to test.

  • Yes, I agree. the application can't cater for different paths such as /data/current and /data/old. Let's say it uses the path like /app/data/yyyy/mm we usually create sym links under /app to point to a diff path

  • Using sym links should work, but I'm not sure what additional benefit it gets you. You still have to mount the additional volumes. /app/data/2022 is the mount point for a 16TB volume. /app/data/2021 is the mount point for another 16TB volume. And so on.

  • Thank you very much for all your help.

1

You can modify your volume and increase the size of your EBS Volume for details on how to do it see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/requesting-ebs-volume-modifications.html Once the Volume is increased you can extend the File System after the volume has been resized, for details on how to resize the File System see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recognize-expanded-volume-linux.html

AWS
Nuno_Q
answered 2 years ago
  • I agree but we have hit the max limit on a single EBS volume of 16TB, hence I would like to ask if we should create another volume. move some old data to the new volume and then sym link

  • Thank you Nuno

1

You can also attach multiple volumes and RAID them together: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/raid-config.html

profile pictureAWS
answered 2 years ago
  • Thank you Rodney

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions