Virtual Machine with RHEL 9.4, larger than 64GB system partition

Nipen, Harald 0 Reputation points
2024-09-16T11:27:18.17+00:00

I need to provision an RHEL based Virtual Machine with larger than 80GB system partition. However, no matter how I configure the service, I only get a maximum of 63GB. There is some software that I need to install that verifies for these things. I am not able to resize the partition after creation.

Any input on how to sort this?

Additionally with the same image we are getting "microscopic" sized /var, /home, /tmp
Any idea on how to manage these partitions for the configuration process?

Regards
//Harald

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,806 questions
{count} votes

1 answer

Sort by: Most helpful
  1. deherman-MSFT 36,841 Reputation points Microsoft Employee
    2024-09-16T18:01:30.5466667+00:00

    @Nipen, Harald

    Most images from RHEL utilize LVM and need to be manually resized. The steps to increase the space are in the documentation here. If you need to perform this on boot you could include it as part of custom-data which executes on launch. Alternatively, you could modify your VM then create your own image from that, so no modification is needed after creation.

    Hope this helps. Let me know if you still have questions or need further assistance.


    If you still have questions, please let us know in the "comments" and we would be happy to help you. Comment is the fastest way of notifying the experts.

    If the answer has been helpful, we appreciate hearing from you and would love to help others who may have the same question. Accepting answers helps increase visibility of this question for other members of the Microsoft Q&A community.

    Thank you for helping to improve Microsoft Q&A!

    User's image

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.