Increase size while running
Updated
•1 min readM
DevOps Engineer with 4 years of experience and skilled in infrastructure automation,
containerization, and cloud provisioning with a strong focus on reducing manual effort and
improving deployment efficiency. Proven ability to lead teams, mentor engineers, engage with
stakeholders, and deliver scalable DevOps solutions across development and production
environments.
size is 25 GB
go to ec2 -> storage -> select volume and modify -> i updated to 28 GB
so on aws volume size is 28 but in server it is not updated till we have to update
if you see we have to mount volume and update to xvda1sudo growpart /dev/xvda 1 sudo resize2fs /dev/xvda1
after this 2 command volume will update now you can see size increased to 28 GB

