"Export path provided does not have enough disk space" error upgrading to vCenter Server Appliance 6.0
search cancel

"Export path provided does not have enough disk space" error upgrading to vCenter Server Appliance 6.0

book

Article ID: 341131

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Symptoms:
  • Cannot upgrade to VMware vCenter Server Appliance 6.0
  • Upgrading to VMware vCenter Server Appliance 6.0 errors after selecting the source vCenter Server Appliance fails
  • You see the error:

    Export path provided does not have enough disk space.
     
  • The default export path shown is /tmp/vmware/cis-export-folder


Environment

VMware vCenter Server Appliance 6.0.x
VMware vCenter Server Appliance 6.5.x

Cause

This issue occurs due to the upgrade wizard detecting that the disk partition on the source vCenter Server Appliance does not contain sufficient disk space to export the configuration data files.

Resolution

To resolve this issue, an additional disk has to be added to the source vCenter Server Appliance and change the export path to use this disk.
 

To add the virtual disk to the vCenter Server Appliance

  1. Connect to the vCenter Server Appliance through the console or SSH using the root user.
  2. To determine the size of the database, run this command on the vCenter Server Appliance and make a note of the size of /storage/db:

    df -h
     
  3. Connect to the ESXi host were the vCenter Server Appliance is located with the vSphere Client.
  4. In the Hosts and Clusters view, right-click the vCenter Server Appliance virtual machine and click Edit Settings.
  5. Click Add.
  6. Click Hard Disk, then click Next.
  7. Select Create a new virtual disk then click Next.
  8. Set the disk size to be at least twice the size of the database located on /storage/db gathered in Step 1.
  9. Select Thick Provision Eager Zeroed and click Next.
  10. Select Specify a datastore or datastore cluster and click Browse to find a datastore with sufficient space and click OK.
  11. Click Next and Next again.
  12. Review and click Finish and OK.

To Configure the vCenter Server Appliance operating system to recognize the VMDK

  1. Connect to the vCenter Server Appliance through the console or SSH using the root user.
  2. Initiate a rescan of the storage on the Appliance by running this command:

    echo "- - -" > /sys/class/scsi_host/host0/scan

    Note: This command does not produce any output.
     
  3. To determine the device name, run this command:

    dmesg | tail -15

    You see output similar to:

    [1096478.424083] scsi target0:0:2: Domain Validation skipping write tests
    [1096478.424087] scsi target0:0:2: Ending Domain Validation
    [1096478.424185] scsi target0:0:2: FAST-40 WIDE SCSI 80.0 MB/s ST (25 ns, offset 127)
    [1096478.424584] sd 0:0:2:0: Attached scsi generic sg3 type 0
    [1096478.424994] sd 0:0:2:0: [sdc] 4194304 512-byte logical blocks: (2.14 GB/2.00 GiB)
    [1096478.425177] sd 0:0:2:0: [sdc] Write Protect is off
    [1096478.425182] sd 0:0:2:0: [sdc] Mode Sense: 61 00 00 00
    [1096478.425297] sd 0:0:2:0: [sdc] Cache data unavailable
    [1096478.425301] sd 0:0:2:0: [sdc] Assuming drive cache: write through
    [1096478.425897] sd 0:0:2:0: [sdc] Cache data unavailable
    [1096478.425901] sd 0:0:2:0: [sdc] Assuming drive cache: write through
    [1096478.427208] sdc: unknown partition table
    [1096478.428003] sd 0:0:2:0: [sdc] Cache data unavailable
    [1096478.428008] sd 0:0:2:0: [sdc] Assuming drive cache: write through
    [1096478.428011] sd 0:0:2:0: [sdc] Attached SCSI disk


    Note: The device name in this example is sdc. The device name may differ in your environment.
     
  4. Start fdisk by running this command:

    fdisk -u /dev/drive_name
     
  5. Create a single partition to the full size of the disk:
     
    1. Type n and press Enter to create a new partition.
    2. Type p and press Enter to create a primary partition.
    3. Type 1 and press Enter to create the first partition.
    4. Press Enter to keep the default value.
    5. Press Enter to keep the default value.
    6. Type w and press Enter to exit fdisk and save.
       
  6. Format the partition by running this command:

    mkfs -t ext3 -j /dev/drive_name
     
  7. Create a temporary mount-point by running this command:

    mkdir /storage/tmp2
     
  8. Mount the new VMDK by running this command:

    mount -t ext3 /dev/drive_name /storage/tmp2

    Note: The storage is mounted temporarily and does not persist after a reboot of the vCenter Server Appliance.

To Add the new Export path to the Upgrade Wizard.

  1. Start the vCenter Server Appliance upgrade wizard.
  2. Accept the license agreement, and click Next.
  3. Connect to the target ESXi host on which you want to deploy the vCenter Server Appliance.
  4. Enter a name for the vCenter Server Appliance 6.0.
  5. On the connect to source appliance page enter the details of the appliance that you want to upgrade.
  6. Edit the export path from /tmp/vmware/cis-export-folder to /storage/tmp2/vmware/cis-export-folder.
  7. Complete the upgrade wizard.

 


Additional Information

ソース vCenter Server Appliance の選択後、vCenter Server Appliance 6.0 にアップグレードしようとすると次のエラーが発生する:指定のエクスポート パスに十分なディスク領域がありません