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

 
Advertisements
{{uname}}

{{meta.replies}} 条回复
写下第一个评论!

-----------到底了-----------