Request for System Disk Expansion on Production Server

0

Dear Amazon Support Team,

We recently detected that the system disk usage on our production server has reached 71%. As a temporary workaround, we shortened the data retention period for certain logs and backups. However, to avoid future storage issues, we would like to explore the possibility of expanding the system disk. Enter image description here

Could you please advise if this can be done, and what the next steps would be?

Thank you for your assistance.

Best regards,

asked 16 days ago32 views
2 Answers
0

Yes, it is possible to expand the system disk on your production server without changing the server or causing significant downtime. Here's how you can proceed:

  1. Increase EBS volume size: You can increase the size of your EBS volume through the AWS Management Console, AWS CLI, or AWS SDKs. This can be done without detaching the volume or restarting the instance.

  2. Extend the partition: After increasing the EBS volume size, you'll need to extend the partition on your Linux instance. You can use the 'growpart' command for this purpose.

  3. Resize the file system: Once the partition is extended, you'll need to resize the file system to utilize the newly available space. For ext3/ext4 filesystems, use the 'resize2fs' command. If you're using XFS, use 'xfs_growfs' instead.

  4. Verify the changes: After completing these steps, use the 'df -h' command to confirm that the additional space is now available to your system.

It's important to note that while this process can be done without changing the server, there might be a brief performance impact during the resizing process, especially during the file system expansion step. As a precaution, it's always recommended to back up your data before making any changes to your storage configuration.

If you're not comfortable performing these operations yourself, consider seeking assistance from AWS support or a qualified professional to ensure the process is carried out correctly and to minimize any potential risks.
Sources
How do I increase Disk Space? | AWS re:Post
EC2 Storage increased in AWS but not showing in Linux server | AWS re:Post
Increase storage rocky linux 7 ec2 | AWS re:Post

profile picture
answered 16 days ago
0

I understand to free up space, you cleared backup files and shortened data retention. You can increase disk space as suggested by repost AI. However, you can also consider storing logs and backup in S3 bucket and if it's server backups, then you can back it up automatically in the Backup service. This is better practice than saving backups in the server itself.

answered 15 days ago

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