Expand EBS in AWS
Recently most of my nodes in my cluster had full storage disk. The options are you add more node or expand your disk for each node. The first choice is the easy one because just add more node. The latter is little bit cumbersome. After see my monitoring, I got notice that RAM and CPU usage is below 50%. So those are not fully utilized although disk spaces are full. So I decide to expand my disk.
- Go to AWS console
- Find the instance you want to expand
3. Go link EBS ID, and take actions — Modify Volume
4. Expand the instance volume
5. After all complete we need to ssh
to the server
6. check your disk
7. Run sudo growpart /dev/xvda 1
8. Run sudo xfs_growfs -d /
9. Check your disk block
Now you have new disk space. I hope this will help you. Cheers