You can increase the size of partitions on virtual machines to take advantage of unallocated storage space. The procedures below are examples of how you can increase the size of /tmp, /opt and /var partitions. However, you can use these examples to help you increase the size of any partition on a virtual machine.