Online Purchases

Saturday, April 24, 2021

How to extend ebs volume in aws

 How to extend ebs volume in aws

I need to add an additional 20GB to /db2inst1. I know this is a EBS volume.

/dev/xvdh       7.8G  7.4G     0 100% /db2inst1

1. Login to AWS --> EBS
2. Identify the volume from EBS page
3. Select and modify
4. Give 20GB
5. Login to server
6. resize2fs /dev/xvdh
7. df -h

Now you can the space got extended

/dev/xvdh        20G  7.4G   12G  40% /db2inst1

No comments:

Post a Comment