Wednesday, 9 November 2016

Increasing the disk space for the VMware vCenter Server Appliance in vSphere 6.0

1. Open console from vCenter Server. (You also can use SSH to connect)
2. Press Alt+F1 switch to console mode. (To switch back normal mode, press Alt+F2)
3. Enter username and password.

4. Use command below to enable Bash Shell.
    shell.set --enabled true
5. Use the command below to enter Shell mode.
    shell


6. Use the command below to list the disk space
    df -h
 

Example: If  /dev/mapper/log_vg-log  in low disk space,  I going to increase the disk.

7. Use the command below to list the disk partition.
     lsblk

 Example: log_vg-log is under sde partition.

8. Use the command below to identify the disk controller.
     lsscsi

Example: sde in under 0:4 disk controller.




9. Use the vSphere Client or vSphere Web Client to increase the VM disk.
 
Example: 0:4 disk controller is Hard disk 5. (Hard disk 5 = /dev/mapper/log_vg-log)


 10. Use the command below to extend the newly added disk space.
       vpxd_servicecfg storage lvm autogrow
       
       If successful, result will show VC_CFG_RESULT=0

 11. Use the command below to check the disk space.
      df -h

Example: /dev/mapper/log_vg-log successful increase to 15GB.








No comments:

Post a Comment