- Go to your volume and choose “Modify Volume” under “Actions.” — This is from AWS console, process takes about 7-8 minutes.
- Now check the partition size. – lsblk
- Now run this for the drive to expand – sudo growpart /dev/xvdf 1
- If xfs filesystem run — xfs_gwith rowfs -d /mongo-data
- If ext filesystem run — resize2fs /dev/xvdf1
- check disk space df -h