Extending the Root Partition on RHEL VMs Provisioned via Terraform
When provisioning Red Hat Enterprise Linux (RHEL) servers with Terraform, managing disk space can be tricky, especially when VMs are deployed with additional root disk space. By default, the root partition often matches the size of the template disk, leaving any extra space unallocated. This post documents resolving this issue to ensure your servers fully utilise their allocated disk space. I would also welcome if there is a way to achieve this through Terraform for ease. The Problem We recently deployed three RHEL 9.3 virtual machines (VMs) in a VMware vSphere environment using Terraform. Each VM was provisioned with a 350GB disk, yet the rootRead More →



