rstone0914

How to Extend/Resize Hard Drive in Operations Manager running CentOS

Blog Post created by rstone0914 Expert on Jul 25, 2017

These instructions are for when you are extending the existing hard drive and NOT adding a new hard drive. 

1. Extend hard drive space in your hypervisor (vCenter shown below):

2. To avoid restarting the vm run the following command on your Turbonomic instance

3. Look at your current disk partition table

4. Next, create the physical volume and set it to the Linux LVM type

5. Now we will update the partition table to include sda3

6. Next, we run the command to initialize the partition so it can be used

7. This command will add the physical volume to the volume group of /dev/turbo\

8. We can check that the physical volume /dev/sda3 is now part of /dev/turbo and the total amount of free 

 

9. Now we will extend the size of the logical volume by the amount of Free PE we found in the last step (replace the number with what you find and the volume with the one you want to extend, ex: /dev/turbo/var_log | /dev/turbo/var_lib_mysql)

10. The last step for expanding the partition is to expand the XFS filesystem (replace with the volume you extended, ex: /dev/turbo/var_log | /dev/turbo/var_lib_mysql)

11. Lastly, we are just confirming the partition has been extended

Outcomes