Incrementar el espacio de disco en vmwarre vcenter vsphere 6.0

 

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


Last Updated: 8/10/2019Categories: How to 17 subscribe
 Purpose
This article provides steps to increase the disk space of a specific VMDK for the vCenter Server Appliance 6.x. With the introduction of Logical Volume Management (LVM) in vSphere 6.0, you are now able to dynamically increase the disk size of the vCenter Server disks.
 
 Resolution

To increase the disk capacity for a specific VMDK on the vCenter Server Appliance 6.0

Note:This KB article is not applicable for increasing the size of the root ( / ) partition as the root partition is not LVM, we cannot modify the size of root ( / )  
  1. Log in to the vCenter Server Appliance using SSH and root credentials.
  2. Run this command to enable the Bash shell:

    shell.set --enabled true
     
  3. Type shell and press Enter.
  4. Use this command to verify which disk is experiencing disk space issues:

    df -h
     
  5. Using the vSphere Client or vSphere Web Client, locate the vCenter Server Appliance virtual machine and increase the disk space on the affected virtual disk. For more information, see Increasing the size of a virtual disk (1004047) .

    Note: If the vCenter Server Appliance is inaccessible connect directly to the host that is running the virtual machine.
  6. After the virtual disk is increased, return to the SSH session and run this command to automatically expand any logical volumes for which the physical volumes are increased:

    vpxd_servicecfg storage lvm autogrow

    When the grow operation is successful, you see output similar to:

    VC_CFG_RESULT=0
     
  7. Run this command to confirm that the virtual disk has been successfully grown:

    df -h

To increase the disk capacity for a specific VMDK on the PSC 6.0 U2a or later

  1. Log in to the PSC using SSH and root credentials.
  2. Run this command to enable the Bash shell:

    shell.set --enabled true
     
  3. Type shell and press Enter.
  4. Use this command to verify which disk is experiencing disk space issues:

    df -h
     
  5. Using the vSphere Client or vSphere Web Client, locate the PSC virtual machine and increase the disk space on the affected virtual disk. For more information, see Increasing the size of a virtual disk (1004047).

    Note: If the PSC is inaccessible connect directly to the host that is running the virtual machine.
  6. After the virtual disk is increased, return to the SSH session and run this command to automatically expand any logical volumes for which the physical volumes are increased:

    /usr/lib/applmgmt/support/scripts/lvm_cfg.sh storage lvm autogrow
     
  7. Run this command to confirm that the virtual disk has been successfully grown:

    df -h

Comentarios

Entradas populares de este blog

Orange Pi IoT 2G Flashear memoria NAND

Usar datos gratis para proyectos IoT FreedomPop y Orange Pi 2G IoT (también Simyo).

Configurar modem GSM en la Orange Pi 2G IoT (Orange España)